google-apis-discoveryengine_v1beta 0.75.0 → 0.76.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +743 -4
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +247 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +57 -12
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e51e5b811960eeccf22af3e13d4b94af211e2d3be66882964dd242cae39050f1
|
4
|
+
data.tar.gz: 5b8da67d1ade1cf977021250ab2630e70b2011a80eb39b2a7a2cc7e26ef8e733
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2aac141667e4edafb1d15a00ddceb1f62666f8e104a0939e82f80e277c55a0d17f3efcdce9ab6a82bf7b50d93061ba209e83a384074374e54faf7eef5846759
|
7
|
+
data.tar.gz: b4c86d9cc2a2e7e2b2b2cf163c85607841e56fcd420b19ecaa6bc82049575f2c6829f9f1b10974272e2e0b5ca3daa405a25db1b09f0c9580525adfccff5f8e1c
|
data/CHANGELOG.md
CHANGED
@@ -22,6 +22,679 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DiscoveryengineV1beta
|
24
24
|
|
25
|
+
# Information to read/write to blobstore2.
|
26
|
+
class GdataBlobstore2Info
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The blob generation id.
|
30
|
+
# Corresponds to the JSON property `blobGeneration`
|
31
|
+
# @return [Fixnum]
|
32
|
+
attr_accessor :blob_generation
|
33
|
+
|
34
|
+
# The blob id, e.g., /blobstore/prod/playground/scotty
|
35
|
+
# Corresponds to the JSON property `blobId`
|
36
|
+
# @return [String]
|
37
|
+
attr_accessor :blob_id
|
38
|
+
|
39
|
+
# Read handle passed from Bigstore -> Scotty for a GCS download. This is a
|
40
|
+
# signed, serialized blobstore2.ReadHandle proto which must never be set outside
|
41
|
+
# of Bigstore, and is not applicable to non-GCS media downloads.
|
42
|
+
# Corresponds to the JSON property `downloadReadHandle`
|
43
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
44
|
+
# @return [String]
|
45
|
+
attr_accessor :download_read_handle
|
46
|
+
|
47
|
+
# The blob read token. Needed to read blobs that have not been replicated. Might
|
48
|
+
# not be available until the final call.
|
49
|
+
# Corresponds to the JSON property `readToken`
|
50
|
+
# @return [String]
|
51
|
+
attr_accessor :read_token
|
52
|
+
|
53
|
+
# Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a
|
54
|
+
# signed, serialized blobstore2.BlobMetadataContainer proto which must never be
|
55
|
+
# consumed outside of Bigstore, and is not applicable to non-GCS media uploads.
|
56
|
+
# Corresponds to the JSON property `uploadMetadataContainer`
|
57
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :upload_metadata_container
|
60
|
+
|
61
|
+
def initialize(**args)
|
62
|
+
update!(**args)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Update properties of this object
|
66
|
+
def update!(**args)
|
67
|
+
@blob_generation = args[:blob_generation] if args.key?(:blob_generation)
|
68
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
69
|
+
@download_read_handle = args[:download_read_handle] if args.key?(:download_read_handle)
|
70
|
+
@read_token = args[:read_token] if args.key?(:read_token)
|
71
|
+
@upload_metadata_container = args[:upload_metadata_container] if args.key?(:upload_metadata_container)
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# A sequence of media data references representing composite data. Introduced to
|
76
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
77
|
+
# composites.
|
78
|
+
class GdataCompositeMedia
|
79
|
+
include Google::Apis::Core::Hashable
|
80
|
+
|
81
|
+
# Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
|
82
|
+
# the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
|
83
|
+
# v1, use blobstore2_info instead. For now, any v2 blob will also be represented
|
84
|
+
# in this field as v1 BlobRef.
|
85
|
+
# Corresponds to the JSON property `blobRef`
|
86
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
87
|
+
# @return [String]
|
88
|
+
attr_accessor :blob_ref
|
89
|
+
|
90
|
+
# Information to read/write to blobstore2.
|
91
|
+
# Corresponds to the JSON property `blobstore2Info`
|
92
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info]
|
93
|
+
attr_accessor :blobstore2_info
|
94
|
+
|
95
|
+
# A binary data reference for a media download. Serves as a technology-agnostic
|
96
|
+
# binary reference in some Google infrastructure. This value is a serialized
|
97
|
+
# storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
|
98
|
+
# around the fact that the cosmo proto (as well as others it includes) doesn't
|
99
|
+
# support JavaScript. This prevents us from including the actual type of this
|
100
|
+
# field.
|
101
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
102
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :cosmo_binary_reference
|
105
|
+
|
106
|
+
# crc32.c hash for the payload.
|
107
|
+
# Corresponds to the JSON property `crc32cHash`
|
108
|
+
# @return [Fixnum]
|
109
|
+
attr_accessor :crc32c_hash
|
110
|
+
|
111
|
+
# Media data, set if reference_type is INLINE
|
112
|
+
# Corresponds to the JSON property `inline`
|
113
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
114
|
+
# @return [String]
|
115
|
+
attr_accessor :inline
|
116
|
+
|
117
|
+
# Size of the data, in bytes
|
118
|
+
# Corresponds to the JSON property `length`
|
119
|
+
# @return [Fixnum]
|
120
|
+
attr_accessor :length
|
121
|
+
|
122
|
+
# MD5 hash for the payload.
|
123
|
+
# Corresponds to the JSON property `md5Hash`
|
124
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
125
|
+
# @return [String]
|
126
|
+
attr_accessor :md5_hash
|
127
|
+
|
128
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
129
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
130
|
+
# http://b/8801763.
|
131
|
+
# Corresponds to the JSON property `objectId`
|
132
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataObjectId]
|
133
|
+
attr_accessor :object_id_prop
|
134
|
+
|
135
|
+
# Path to the data, set if reference_type is PATH
|
136
|
+
# Corresponds to the JSON property `path`
|
137
|
+
# @return [String]
|
138
|
+
attr_accessor :path
|
139
|
+
|
140
|
+
# Describes what the field reference contains.
|
141
|
+
# Corresponds to the JSON property `referenceType`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :reference_type
|
144
|
+
|
145
|
+
# SHA-1 hash for the payload.
|
146
|
+
# Corresponds to the JSON property `sha1Hash`
|
147
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
148
|
+
# @return [String]
|
149
|
+
attr_accessor :sha1_hash
|
150
|
+
|
151
|
+
def initialize(**args)
|
152
|
+
update!(**args)
|
153
|
+
end
|
154
|
+
|
155
|
+
# Update properties of this object
|
156
|
+
def update!(**args)
|
157
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
158
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
159
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
160
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
161
|
+
@inline = args[:inline] if args.key?(:inline)
|
162
|
+
@length = args[:length] if args.key?(:length)
|
163
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
164
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
165
|
+
@path = args[:path] if args.key?(:path)
|
166
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
167
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# Detailed Content-Type information from Scotty. The Content-Type of the media
|
172
|
+
# will typically be filled in by the header or Scotty's best_guess, but this
|
173
|
+
# extended information provides the backend with more information so that it can
|
174
|
+
# make a better decision if needed. This is only used on media upload requests
|
175
|
+
# from Scotty.
|
176
|
+
class GdataContentTypeInfo
|
177
|
+
include Google::Apis::Core::Hashable
|
178
|
+
|
179
|
+
# Scotty's best guess of what the content type of the file is.
|
180
|
+
# Corresponds to the JSON property `bestGuess`
|
181
|
+
# @return [String]
|
182
|
+
attr_accessor :best_guess
|
183
|
+
|
184
|
+
# The content type of the file derived by looking at specific bytes (i.e. "magic
|
185
|
+
# bytes") of the actual file.
|
186
|
+
# Corresponds to the JSON property `fromBytes`
|
187
|
+
# @return [String]
|
188
|
+
attr_accessor :from_bytes
|
189
|
+
|
190
|
+
# The content type of the file derived from the file extension of the original
|
191
|
+
# file name used by the client.
|
192
|
+
# Corresponds to the JSON property `fromFileName`
|
193
|
+
# @return [String]
|
194
|
+
attr_accessor :from_file_name
|
195
|
+
|
196
|
+
# The content type of the file as specified in the request headers, multipart
|
197
|
+
# headers, or RUPIO start request.
|
198
|
+
# Corresponds to the JSON property `fromHeader`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :from_header
|
201
|
+
|
202
|
+
# The content type of the file derived from the file extension of the URL path.
|
203
|
+
# The URL path is assumed to represent a file name (which is typically only true
|
204
|
+
# for agents that are providing a REST API).
|
205
|
+
# Corresponds to the JSON property `fromUrlPath`
|
206
|
+
# @return [String]
|
207
|
+
attr_accessor :from_url_path
|
208
|
+
|
209
|
+
def initialize(**args)
|
210
|
+
update!(**args)
|
211
|
+
end
|
212
|
+
|
213
|
+
# Update properties of this object
|
214
|
+
def update!(**args)
|
215
|
+
@best_guess = args[:best_guess] if args.key?(:best_guess)
|
216
|
+
@from_bytes = args[:from_bytes] if args.key?(:from_bytes)
|
217
|
+
@from_file_name = args[:from_file_name] if args.key?(:from_file_name)
|
218
|
+
@from_header = args[:from_header] if args.key?(:from_header)
|
219
|
+
@from_url_path = args[:from_url_path] if args.key?(:from_url_path)
|
220
|
+
end
|
221
|
+
end
|
222
|
+
|
223
|
+
# Backend response for a Diff get checksums response. For details on the Scotty
|
224
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
225
|
+
class GdataDiffChecksumsResponse
|
226
|
+
include Google::Apis::Core::Hashable
|
227
|
+
|
228
|
+
# A sequence of media data references representing composite data. Introduced to
|
229
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
230
|
+
# composites.
|
231
|
+
# Corresponds to the JSON property `checksumsLocation`
|
232
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
233
|
+
attr_accessor :checksums_location
|
234
|
+
|
235
|
+
# The chunk size of checksums. Must be a multiple of 256KB.
|
236
|
+
# Corresponds to the JSON property `chunkSizeBytes`
|
237
|
+
# @return [Fixnum]
|
238
|
+
attr_accessor :chunk_size_bytes
|
239
|
+
|
240
|
+
# A sequence of media data references representing composite data. Introduced to
|
241
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
242
|
+
# composites.
|
243
|
+
# Corresponds to the JSON property `objectLocation`
|
244
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
245
|
+
attr_accessor :object_location
|
246
|
+
|
247
|
+
# The total size of the server object.
|
248
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
249
|
+
# @return [Fixnum]
|
250
|
+
attr_accessor :object_size_bytes
|
251
|
+
|
252
|
+
# The object version of the object the checksums are being returned for.
|
253
|
+
# Corresponds to the JSON property `objectVersion`
|
254
|
+
# @return [String]
|
255
|
+
attr_accessor :object_version
|
256
|
+
|
257
|
+
def initialize(**args)
|
258
|
+
update!(**args)
|
259
|
+
end
|
260
|
+
|
261
|
+
# Update properties of this object
|
262
|
+
def update!(**args)
|
263
|
+
@checksums_location = args[:checksums_location] if args.key?(:checksums_location)
|
264
|
+
@chunk_size_bytes = args[:chunk_size_bytes] if args.key?(:chunk_size_bytes)
|
265
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
266
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
267
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
268
|
+
end
|
269
|
+
end
|
270
|
+
|
271
|
+
# Backend response for a Diff download response. For details on the Scotty Diff
|
272
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
273
|
+
class GdataDiffDownloadResponse
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# A sequence of media data references representing composite data. Introduced to
|
277
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
278
|
+
# composites.
|
279
|
+
# Corresponds to the JSON property `objectLocation`
|
280
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
281
|
+
attr_accessor :object_location
|
282
|
+
|
283
|
+
def initialize(**args)
|
284
|
+
update!(**args)
|
285
|
+
end
|
286
|
+
|
287
|
+
# Update properties of this object
|
288
|
+
def update!(**args)
|
289
|
+
@object_location = args[:object_location] if args.key?(:object_location)
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
# A Diff upload request. For details on the Scotty Diff protocol, visit http://
|
294
|
+
# go/scotty-diff-protocol.
|
295
|
+
class GdataDiffUploadRequest
|
296
|
+
include Google::Apis::Core::Hashable
|
297
|
+
|
298
|
+
# A sequence of media data references representing composite data. Introduced to
|
299
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
300
|
+
# composites.
|
301
|
+
# Corresponds to the JSON property `checksumsInfo`
|
302
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
303
|
+
attr_accessor :checksums_info
|
304
|
+
|
305
|
+
# A sequence of media data references representing composite data. Introduced to
|
306
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
307
|
+
# composites.
|
308
|
+
# Corresponds to the JSON property `objectInfo`
|
309
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
310
|
+
attr_accessor :object_info
|
311
|
+
|
312
|
+
# The object version of the object that is the base version the incoming diff
|
313
|
+
# script will be applied to. This field will always be filled in.
|
314
|
+
# Corresponds to the JSON property `objectVersion`
|
315
|
+
# @return [String]
|
316
|
+
attr_accessor :object_version
|
317
|
+
|
318
|
+
def initialize(**args)
|
319
|
+
update!(**args)
|
320
|
+
end
|
321
|
+
|
322
|
+
# Update properties of this object
|
323
|
+
def update!(**args)
|
324
|
+
@checksums_info = args[:checksums_info] if args.key?(:checksums_info)
|
325
|
+
@object_info = args[:object_info] if args.key?(:object_info)
|
326
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# Backend response for a Diff upload request. For details on the Scotty Diff
|
331
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
332
|
+
class GdataDiffUploadResponse
|
333
|
+
include Google::Apis::Core::Hashable
|
334
|
+
|
335
|
+
# The object version of the object at the server. Must be included in the end
|
336
|
+
# notification response. The version in the end notification response must
|
337
|
+
# correspond to the new version of the object that is now stored at the server,
|
338
|
+
# after the upload.
|
339
|
+
# Corresponds to the JSON property `objectVersion`
|
340
|
+
# @return [String]
|
341
|
+
attr_accessor :object_version
|
342
|
+
|
343
|
+
# A sequence of media data references representing composite data. Introduced to
|
344
|
+
# support Bigstore composite objects. For details, visit http://go/bigstore-
|
345
|
+
# composites.
|
346
|
+
# Corresponds to the JSON property `originalObject`
|
347
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia]
|
348
|
+
attr_accessor :original_object
|
349
|
+
|
350
|
+
def initialize(**args)
|
351
|
+
update!(**args)
|
352
|
+
end
|
353
|
+
|
354
|
+
# Update properties of this object
|
355
|
+
def update!(**args)
|
356
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
357
|
+
@original_object = args[:original_object] if args.key?(:original_object)
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
361
|
+
# Backend response for a Diff get version response. For details on the Scotty
|
362
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
363
|
+
class GdataDiffVersionResponse
|
364
|
+
include Google::Apis::Core::Hashable
|
365
|
+
|
366
|
+
# The total size of the server object.
|
367
|
+
# Corresponds to the JSON property `objectSizeBytes`
|
368
|
+
# @return [Fixnum]
|
369
|
+
attr_accessor :object_size_bytes
|
370
|
+
|
371
|
+
# The version of the object stored at the server.
|
372
|
+
# Corresponds to the JSON property `objectVersion`
|
373
|
+
# @return [String]
|
374
|
+
attr_accessor :object_version
|
375
|
+
|
376
|
+
def initialize(**args)
|
377
|
+
update!(**args)
|
378
|
+
end
|
379
|
+
|
380
|
+
# Update properties of this object
|
381
|
+
def update!(**args)
|
382
|
+
@object_size_bytes = args[:object_size_bytes] if args.key?(:object_size_bytes)
|
383
|
+
@object_version = args[:object_version] if args.key?(:object_version)
|
384
|
+
end
|
385
|
+
end
|
386
|
+
|
387
|
+
# Parameters specific to media downloads.
|
388
|
+
class GdataDownloadParameters
|
389
|
+
include Google::Apis::Core::Hashable
|
390
|
+
|
391
|
+
# A boolean to be returned in the response to Scotty. Allows/disallows gzip
|
392
|
+
# encoding of the payload content when the server thinks it's advantageous (
|
393
|
+
# hence, does not guarantee compression) which allows Scotty to GZip the
|
394
|
+
# response to the client.
|
395
|
+
# Corresponds to the JSON property `allowGzipCompression`
|
396
|
+
# @return [Boolean]
|
397
|
+
attr_accessor :allow_gzip_compression
|
398
|
+
alias_method :allow_gzip_compression?, :allow_gzip_compression
|
399
|
+
|
400
|
+
# Determining whether or not Apiary should skip the inclusion of any Content-
|
401
|
+
# Range header on its response to Scotty.
|
402
|
+
# Corresponds to the JSON property `ignoreRange`
|
403
|
+
# @return [Boolean]
|
404
|
+
attr_accessor :ignore_range
|
405
|
+
alias_method :ignore_range?, :ignore_range
|
406
|
+
|
407
|
+
def initialize(**args)
|
408
|
+
update!(**args)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Update properties of this object
|
412
|
+
def update!(**args)
|
413
|
+
@allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression)
|
414
|
+
@ignore_range = args[:ignore_range] if args.key?(:ignore_range)
|
415
|
+
end
|
416
|
+
end
|
417
|
+
|
418
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
419
|
+
class GdataMedia
|
420
|
+
include Google::Apis::Core::Hashable
|
421
|
+
|
422
|
+
# Deprecated, use one of explicit hash type fields instead. Algorithm used for
|
423
|
+
# calculating the hash. As of 2011/01/21, "MD5" is the only possible value for
|
424
|
+
# this field. New values may be added at any time.
|
425
|
+
# Corresponds to the JSON property `algorithm`
|
426
|
+
# @return [String]
|
427
|
+
attr_accessor :algorithm
|
428
|
+
|
429
|
+
# Use object_id instead.
|
430
|
+
# Corresponds to the JSON property `bigstoreObjectRef`
|
431
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
432
|
+
# @return [String]
|
433
|
+
attr_accessor :bigstore_object_ref
|
434
|
+
|
435
|
+
# Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be
|
436
|
+
# the byte representation of a blobstore.BlobRef. Since Blobstore is deprecating
|
437
|
+
# v1, use blobstore2_info instead. For now, any v2 blob will also be represented
|
438
|
+
# in this field as v1 BlobRef.
|
439
|
+
# Corresponds to the JSON property `blobRef`
|
440
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
441
|
+
# @return [String]
|
442
|
+
attr_accessor :blob_ref
|
443
|
+
|
444
|
+
# Information to read/write to blobstore2.
|
445
|
+
# Corresponds to the JSON property `blobstore2Info`
|
446
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info]
|
447
|
+
attr_accessor :blobstore2_info
|
448
|
+
|
449
|
+
# A composite media composed of one or more media objects, set if reference_type
|
450
|
+
# is COMPOSITE_MEDIA. The media length field must be set to the sum of the
|
451
|
+
# lengths of all composite media objects. Note: All composite media must have
|
452
|
+
# length specified.
|
453
|
+
# Corresponds to the JSON property `compositeMedia`
|
454
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia>]
|
455
|
+
attr_accessor :composite_media
|
456
|
+
|
457
|
+
# MIME type of the data
|
458
|
+
# Corresponds to the JSON property `contentType`
|
459
|
+
# @return [String]
|
460
|
+
attr_accessor :content_type
|
461
|
+
|
462
|
+
# Detailed Content-Type information from Scotty. The Content-Type of the media
|
463
|
+
# will typically be filled in by the header or Scotty's best_guess, but this
|
464
|
+
# extended information provides the backend with more information so that it can
|
465
|
+
# make a better decision if needed. This is only used on media upload requests
|
466
|
+
# from Scotty.
|
467
|
+
# Corresponds to the JSON property `contentTypeInfo`
|
468
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataContentTypeInfo]
|
469
|
+
attr_accessor :content_type_info
|
470
|
+
|
471
|
+
# A binary data reference for a media download. Serves as a technology-agnostic
|
472
|
+
# binary reference in some Google infrastructure. This value is a serialized
|
473
|
+
# storage_cosmo.BinaryReference proto. Storing it as bytes is a hack to get
|
474
|
+
# around the fact that the cosmo proto (as well as others it includes) doesn't
|
475
|
+
# support JavaScript. This prevents us from including the actual type of this
|
476
|
+
# field.
|
477
|
+
# Corresponds to the JSON property `cosmoBinaryReference`
|
478
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
479
|
+
# @return [String]
|
480
|
+
attr_accessor :cosmo_binary_reference
|
481
|
+
|
482
|
+
# For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (
|
483
|
+
# WARNING: DO NOT USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided
|
484
|
+
# by the agent to be used to verify the data being downloaded. Currently only
|
485
|
+
# supported for inline payloads. Further, only crc32c_hash is currently
|
486
|
+
# supported.
|
487
|
+
# Corresponds to the JSON property `crc32cHash`
|
488
|
+
# @return [Fixnum]
|
489
|
+
attr_accessor :crc32c_hash
|
490
|
+
|
491
|
+
# Backend response for a Diff get checksums response. For details on the Scotty
|
492
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
493
|
+
# Corresponds to the JSON property `diffChecksumsResponse`
|
494
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDiffChecksumsResponse]
|
495
|
+
attr_accessor :diff_checksums_response
|
496
|
+
|
497
|
+
# Backend response for a Diff download response. For details on the Scotty Diff
|
498
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
499
|
+
# Corresponds to the JSON property `diffDownloadResponse`
|
500
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDiffDownloadResponse]
|
501
|
+
attr_accessor :diff_download_response
|
502
|
+
|
503
|
+
# A Diff upload request. For details on the Scotty Diff protocol, visit http://
|
504
|
+
# go/scotty-diff-protocol.
|
505
|
+
# Corresponds to the JSON property `diffUploadRequest`
|
506
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDiffUploadRequest]
|
507
|
+
attr_accessor :diff_upload_request
|
508
|
+
|
509
|
+
# Backend response for a Diff upload request. For details on the Scotty Diff
|
510
|
+
# protocol, visit http://go/scotty-diff-protocol.
|
511
|
+
# Corresponds to the JSON property `diffUploadResponse`
|
512
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDiffUploadResponse]
|
513
|
+
attr_accessor :diff_upload_response
|
514
|
+
|
515
|
+
# Backend response for a Diff get version response. For details on the Scotty
|
516
|
+
# Diff protocol, visit http://go/scotty-diff-protocol.
|
517
|
+
# Corresponds to the JSON property `diffVersionResponse`
|
518
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDiffVersionResponse]
|
519
|
+
attr_accessor :diff_version_response
|
520
|
+
|
521
|
+
# Parameters specific to media downloads.
|
522
|
+
# Corresponds to the JSON property `downloadParameters`
|
523
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataDownloadParameters]
|
524
|
+
attr_accessor :download_parameters
|
525
|
+
|
526
|
+
# Original file name
|
527
|
+
# Corresponds to the JSON property `filename`
|
528
|
+
# @return [String]
|
529
|
+
attr_accessor :filename
|
530
|
+
|
531
|
+
# Deprecated, use one of explicit hash type fields instead. These two hash
|
532
|
+
# related fields will only be populated on Scotty based media uploads and will
|
533
|
+
# contain the content of the hash group in the NotificationRequest: http://cs/#
|
534
|
+
# google3/blobstore2/api/scotty/service/proto/upload_listener.proto&q=class:Hash
|
535
|
+
# Hex encoded hash value of the uploaded media.
|
536
|
+
# Corresponds to the JSON property `hash`
|
537
|
+
# @return [String]
|
538
|
+
attr_accessor :hash_prop
|
539
|
+
|
540
|
+
# For Scotty uploads only. If a user sends a hash code and the backend has
|
541
|
+
# requested that Scotty verify the upload against the client hash, Scotty will
|
542
|
+
# perform the check on behalf of the backend and will reject it if the hashes
|
543
|
+
# don't match. This is set to true if Scotty performed this verification.
|
544
|
+
# Corresponds to the JSON property `hashVerified`
|
545
|
+
# @return [Boolean]
|
546
|
+
attr_accessor :hash_verified
|
547
|
+
alias_method :hash_verified?, :hash_verified
|
548
|
+
|
549
|
+
# Media data, set if reference_type is INLINE
|
550
|
+
# Corresponds to the JSON property `inline`
|
551
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
552
|
+
# @return [String]
|
553
|
+
attr_accessor :inline
|
554
|
+
|
555
|
+
# |is_potential_retry| is set false only when Scotty is certain that it has not
|
556
|
+
# sent the request before. When a client resumes an upload, this field must be
|
557
|
+
# set true in agent calls, because Scotty cannot be certain that it has never
|
558
|
+
# sent the request before due to potential failure in the session state
|
559
|
+
# persistence.
|
560
|
+
# Corresponds to the JSON property `isPotentialRetry`
|
561
|
+
# @return [Boolean]
|
562
|
+
attr_accessor :is_potential_retry
|
563
|
+
alias_method :is_potential_retry?, :is_potential_retry
|
564
|
+
|
565
|
+
# Size of the data, in bytes
|
566
|
+
# Corresponds to the JSON property `length`
|
567
|
+
# @return [Fixnum]
|
568
|
+
attr_accessor :length
|
569
|
+
|
570
|
+
# Scotty-provided MD5 hash for an upload.
|
571
|
+
# Corresponds to the JSON property `md5Hash`
|
572
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :md5_hash
|
575
|
+
|
576
|
+
# Media id to forward to the operation GetMedia. Can be set if reference_type is
|
577
|
+
# GET_MEDIA.
|
578
|
+
# Corresponds to the JSON property `mediaId`
|
579
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
580
|
+
# @return [String]
|
581
|
+
attr_accessor :media_id
|
582
|
+
|
583
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
584
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
585
|
+
# http://b/8801763.
|
586
|
+
# Corresponds to the JSON property `objectId`
|
587
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataObjectId]
|
588
|
+
attr_accessor :object_id_prop
|
589
|
+
|
590
|
+
# Path to the data, set if reference_type is PATH
|
591
|
+
# Corresponds to the JSON property `path`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :path
|
594
|
+
|
595
|
+
# Describes what the field reference contains.
|
596
|
+
# Corresponds to the JSON property `referenceType`
|
597
|
+
# @return [String]
|
598
|
+
attr_accessor :reference_type
|
599
|
+
|
600
|
+
# Scotty-provided SHA1 hash for an upload.
|
601
|
+
# Corresponds to the JSON property `sha1Hash`
|
602
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
603
|
+
# @return [String]
|
604
|
+
attr_accessor :sha1_hash
|
605
|
+
|
606
|
+
# Scotty-provided SHA256 hash for an upload.
|
607
|
+
# Corresponds to the JSON property `sha256Hash`
|
608
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :sha256_hash
|
611
|
+
|
612
|
+
# Time at which the media data was last updated, in milliseconds since UNIX
|
613
|
+
# epoch
|
614
|
+
# Corresponds to the JSON property `timestamp`
|
615
|
+
# @return [Fixnum]
|
616
|
+
attr_accessor :timestamp
|
617
|
+
|
618
|
+
# A unique fingerprint/version id for the media data
|
619
|
+
# Corresponds to the JSON property `token`
|
620
|
+
# @return [String]
|
621
|
+
attr_accessor :token
|
622
|
+
|
623
|
+
def initialize(**args)
|
624
|
+
update!(**args)
|
625
|
+
end
|
626
|
+
|
627
|
+
# Update properties of this object
|
628
|
+
def update!(**args)
|
629
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
630
|
+
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
|
631
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
632
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
633
|
+
@composite_media = args[:composite_media] if args.key?(:composite_media)
|
634
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
635
|
+
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
|
636
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
637
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
638
|
+
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
|
639
|
+
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
|
640
|
+
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
|
641
|
+
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
|
642
|
+
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
|
643
|
+
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
|
644
|
+
@filename = args[:filename] if args.key?(:filename)
|
645
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
646
|
+
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
|
647
|
+
@inline = args[:inline] if args.key?(:inline)
|
648
|
+
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
|
649
|
+
@length = args[:length] if args.key?(:length)
|
650
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
651
|
+
@media_id = args[:media_id] if args.key?(:media_id)
|
652
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
653
|
+
@path = args[:path] if args.key?(:path)
|
654
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
655
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
656
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
657
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
658
|
+
@token = args[:token] if args.key?(:token)
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
663
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
664
|
+
# http://b/8801763.
|
665
|
+
class GdataObjectId
|
666
|
+
include Google::Apis::Core::Hashable
|
667
|
+
|
668
|
+
# The name of the bucket to which this object belongs.
|
669
|
+
# Corresponds to the JSON property `bucketName`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :bucket_name
|
672
|
+
|
673
|
+
# Generation of the object. Generations are monotonically increasing across
|
674
|
+
# writes, allowing them to be be compared to determine which generation is newer.
|
675
|
+
# If this is omitted in a request, then you are requesting the live object. See
|
676
|
+
# http://go/bigstore-versions
|
677
|
+
# Corresponds to the JSON property `generation`
|
678
|
+
# @return [Fixnum]
|
679
|
+
attr_accessor :generation
|
680
|
+
|
681
|
+
# The name of the object.
|
682
|
+
# Corresponds to the JSON property `objectName`
|
683
|
+
# @return [String]
|
684
|
+
attr_accessor :object_name
|
685
|
+
|
686
|
+
def initialize(**args)
|
687
|
+
update!(**args)
|
688
|
+
end
|
689
|
+
|
690
|
+
# Update properties of this object
|
691
|
+
def update!(**args)
|
692
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
693
|
+
@generation = args[:generation] if args.key?(:generation)
|
694
|
+
@object_name = args[:object_name] if args.key?(:object_name)
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
25
698
|
# `Distribution` contains summary statistics for a population of values. It
|
26
699
|
# optionally contains a histogram representing the distribution of those values
|
27
700
|
# across a set of buckets. The summary statistics are the count, mean, sum of
|
@@ -8565,6 +9238,48 @@ module Google
|
|
8565
9238
|
end
|
8566
9239
|
end
|
8567
9240
|
|
9241
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
9242
|
+
# the google.longrunning.Operation.metadata field.
|
9243
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
9244
|
+
include Google::Apis::Core::Hashable
|
9245
|
+
|
9246
|
+
# Operation create time.
|
9247
|
+
# Corresponds to the JSON property `createTime`
|
9248
|
+
# @return [String]
|
9249
|
+
attr_accessor :create_time
|
9250
|
+
|
9251
|
+
# Operation last update time. If the operation is done, this is also the finish
|
9252
|
+
# time.
|
9253
|
+
# Corresponds to the JSON property `updateTime`
|
9254
|
+
# @return [String]
|
9255
|
+
attr_accessor :update_time
|
9256
|
+
|
9257
|
+
def initialize(**args)
|
9258
|
+
update!(**args)
|
9259
|
+
end
|
9260
|
+
|
9261
|
+
# Update properties of this object
|
9262
|
+
def update!(**args)
|
9263
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
9264
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
9265
|
+
end
|
9266
|
+
end
|
9267
|
+
|
9268
|
+
# Response of the ExportMetricsRequest. If the long running operation was
|
9269
|
+
# successful, then this message is returned by the google.longrunning.Operations.
|
9270
|
+
# response field.
|
9271
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
9272
|
+
include Google::Apis::Core::Hashable
|
9273
|
+
|
9274
|
+
def initialize(**args)
|
9275
|
+
update!(**args)
|
9276
|
+
end
|
9277
|
+
|
9278
|
+
# Update properties of this object
|
9279
|
+
def update!(**args)
|
9280
|
+
end
|
9281
|
+
end
|
9282
|
+
|
8568
9283
|
# Configurations for fields of a schema. For example, configuring a field is
|
8569
9284
|
# indexable, or searchable.
|
8570
9285
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
@@ -9383,10 +10098,10 @@ module Google
|
|
9383
10098
|
|
9384
10099
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
9385
10100
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
9386
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
9387
|
-
# user_pseudo_id = some_id
|
9388
|
-
# is_pinned=true AND (NOT labels:hidden)
|
9389
|
-
#
|
10101
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
10102
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
10103
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
10104
|
+
# `
|
9390
10105
|
# Corresponds to the JSON property `filter`
|
9391
10106
|
# @return [String]
|
9392
10107
|
attr_accessor :filter
|
@@ -11557,6 +12272,17 @@ module Google
|
|
11557
12272
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
11558
12273
|
include Google::Apis::Core::Hashable
|
11559
12274
|
|
12275
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
12276
|
+
# The default behavior depends on the request. For single datastore structured
|
12277
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
12278
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
12279
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
12280
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
12281
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
12282
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
12283
|
+
# @return [String]
|
12284
|
+
attr_accessor :extracted_filter_behavior
|
12285
|
+
|
11560
12286
|
# The condition under which filter extraction should occur. Server behavior
|
11561
12287
|
# defaults to `DISABLED`.
|
11562
12288
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -11578,6 +12304,7 @@ module Google
|
|
11578
12304
|
|
11579
12305
|
# Update properties of this object
|
11580
12306
|
def update!(**args)
|
12307
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
11581
12308
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
11582
12309
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
11583
12310
|
end
|
@@ -23796,6 +24523,17 @@ module Google
|
|
23796
24523
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
23797
24524
|
include Google::Apis::Core::Hashable
|
23798
24525
|
|
24526
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
24527
|
+
# The default behavior depends on the request. For single datastore structured
|
24528
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
24529
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
24530
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
24531
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
24532
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
24533
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
24534
|
+
# @return [String]
|
24535
|
+
attr_accessor :extracted_filter_behavior
|
24536
|
+
|
23799
24537
|
# The condition under which filter extraction should occur. Server behavior
|
23800
24538
|
# defaults to `DISABLED`.
|
23801
24539
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -23817,6 +24555,7 @@ module Google
|
|
23817
24555
|
|
23818
24556
|
# Update properties of this object
|
23819
24557
|
def update!(**args)
|
24558
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
23820
24559
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
23821
24560
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
23822
24561
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250728"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,72 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DiscoveryengineV1beta
|
24
24
|
|
25
|
+
class GdataBlobstore2Info
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GdataCompositeMedia
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GdataContentTypeInfo
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GdataDiffChecksumsResponse
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GdataDiffDownloadResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GdataDiffUploadRequest
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GdataDiffUploadResponse
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class GdataDiffVersionResponse
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GdataDownloadParameters
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GdataMedia
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GdataObjectId
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
25
91
|
class GoogleApiDistribution
|
26
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
93
|
|
@@ -1372,6 +1438,18 @@ module Google
|
|
1372
1438
|
include Google::Apis::Core::JsonObjectSupport
|
1373
1439
|
end
|
1374
1440
|
|
1441
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
1442
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1443
|
+
|
1444
|
+
include Google::Apis::Core::JsonObjectSupport
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
1448
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1449
|
+
|
1450
|
+
include Google::Apis::Core::JsonObjectSupport
|
1451
|
+
end
|
1452
|
+
|
1375
1453
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
1376
1454
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1377
1455
|
|
@@ -4372,6 +4450,159 @@ module Google
|
|
4372
4450
|
include Google::Apis::Core::JsonObjectSupport
|
4373
4451
|
end
|
4374
4452
|
|
4453
|
+
class GdataBlobstore2Info
|
4454
|
+
# @private
|
4455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4456
|
+
property :blob_generation, :numeric_string => true, as: 'blobGeneration'
|
4457
|
+
property :blob_id, as: 'blobId'
|
4458
|
+
property :download_read_handle, :base64 => true, as: 'downloadReadHandle'
|
4459
|
+
property :read_token, as: 'readToken'
|
4460
|
+
property :upload_metadata_container, :base64 => true, as: 'uploadMetadataContainer'
|
4461
|
+
end
|
4462
|
+
end
|
4463
|
+
|
4464
|
+
class GdataCompositeMedia
|
4465
|
+
# @private
|
4466
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4467
|
+
property :blob_ref, :base64 => true, as: 'blobRef'
|
4468
|
+
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info::Representation
|
4469
|
+
|
4470
|
+
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
|
4471
|
+
property :crc32c_hash, as: 'crc32cHash'
|
4472
|
+
property :inline, :base64 => true, as: 'inline'
|
4473
|
+
property :length, :numeric_string => true, as: 'length'
|
4474
|
+
property :md5_hash, :base64 => true, as: 'md5Hash'
|
4475
|
+
property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1beta::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1beta::GdataObjectId::Representation
|
4476
|
+
|
4477
|
+
property :path, as: 'path'
|
4478
|
+
property :reference_type, as: 'referenceType'
|
4479
|
+
property :sha1_hash, :base64 => true, as: 'sha1Hash'
|
4480
|
+
end
|
4481
|
+
end
|
4482
|
+
|
4483
|
+
class GdataContentTypeInfo
|
4484
|
+
# @private
|
4485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4486
|
+
property :best_guess, as: 'bestGuess'
|
4487
|
+
property :from_bytes, as: 'fromBytes'
|
4488
|
+
property :from_file_name, as: 'fromFileName'
|
4489
|
+
property :from_header, as: 'fromHeader'
|
4490
|
+
property :from_url_path, as: 'fromUrlPath'
|
4491
|
+
end
|
4492
|
+
end
|
4493
|
+
|
4494
|
+
class GdataDiffChecksumsResponse
|
4495
|
+
# @private
|
4496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4497
|
+
property :checksums_location, as: 'checksumsLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4498
|
+
|
4499
|
+
property :chunk_size_bytes, :numeric_string => true, as: 'chunkSizeBytes'
|
4500
|
+
property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4501
|
+
|
4502
|
+
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
|
4503
|
+
property :object_version, as: 'objectVersion'
|
4504
|
+
end
|
4505
|
+
end
|
4506
|
+
|
4507
|
+
class GdataDiffDownloadResponse
|
4508
|
+
# @private
|
4509
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4510
|
+
property :object_location, as: 'objectLocation', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4511
|
+
|
4512
|
+
end
|
4513
|
+
end
|
4514
|
+
|
4515
|
+
class GdataDiffUploadRequest
|
4516
|
+
# @private
|
4517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4518
|
+
property :checksums_info, as: 'checksumsInfo', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4519
|
+
|
4520
|
+
property :object_info, as: 'objectInfo', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4521
|
+
|
4522
|
+
property :object_version, as: 'objectVersion'
|
4523
|
+
end
|
4524
|
+
end
|
4525
|
+
|
4526
|
+
class GdataDiffUploadResponse
|
4527
|
+
# @private
|
4528
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4529
|
+
property :object_version, as: 'objectVersion'
|
4530
|
+
property :original_object, as: 'originalObject', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4531
|
+
|
4532
|
+
end
|
4533
|
+
end
|
4534
|
+
|
4535
|
+
class GdataDiffVersionResponse
|
4536
|
+
# @private
|
4537
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4538
|
+
property :object_size_bytes, :numeric_string => true, as: 'objectSizeBytes'
|
4539
|
+
property :object_version, as: 'objectVersion'
|
4540
|
+
end
|
4541
|
+
end
|
4542
|
+
|
4543
|
+
class GdataDownloadParameters
|
4544
|
+
# @private
|
4545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4546
|
+
property :allow_gzip_compression, as: 'allowGzipCompression'
|
4547
|
+
property :ignore_range, as: 'ignoreRange'
|
4548
|
+
end
|
4549
|
+
end
|
4550
|
+
|
4551
|
+
class GdataMedia
|
4552
|
+
# @private
|
4553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4554
|
+
property :algorithm, as: 'algorithm'
|
4555
|
+
property :bigstore_object_ref, :base64 => true, as: 'bigstoreObjectRef'
|
4556
|
+
property :blob_ref, :base64 => true, as: 'blobRef'
|
4557
|
+
property :blobstore2_info, as: 'blobstore2Info', class: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info, decorator: Google::Apis::DiscoveryengineV1beta::GdataBlobstore2Info::Representation
|
4558
|
+
|
4559
|
+
collection :composite_media, as: 'compositeMedia', class: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia, decorator: Google::Apis::DiscoveryengineV1beta::GdataCompositeMedia::Representation
|
4560
|
+
|
4561
|
+
property :content_type, as: 'contentType'
|
4562
|
+
property :content_type_info, as: 'contentTypeInfo', class: Google::Apis::DiscoveryengineV1beta::GdataContentTypeInfo, decorator: Google::Apis::DiscoveryengineV1beta::GdataContentTypeInfo::Representation
|
4563
|
+
|
4564
|
+
property :cosmo_binary_reference, :base64 => true, as: 'cosmoBinaryReference'
|
4565
|
+
property :crc32c_hash, as: 'crc32cHash'
|
4566
|
+
property :diff_checksums_response, as: 'diffChecksumsResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffChecksumsResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffChecksumsResponse::Representation
|
4567
|
+
|
4568
|
+
property :diff_download_response, as: 'diffDownloadResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffDownloadResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffDownloadResponse::Representation
|
4569
|
+
|
4570
|
+
property :diff_upload_request, as: 'diffUploadRequest', class: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadRequest, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadRequest::Representation
|
4571
|
+
|
4572
|
+
property :diff_upload_response, as: 'diffUploadResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffUploadResponse::Representation
|
4573
|
+
|
4574
|
+
property :diff_version_response, as: 'diffVersionResponse', class: Google::Apis::DiscoveryengineV1beta::GdataDiffVersionResponse, decorator: Google::Apis::DiscoveryengineV1beta::GdataDiffVersionResponse::Representation
|
4575
|
+
|
4576
|
+
property :download_parameters, as: 'downloadParameters', class: Google::Apis::DiscoveryengineV1beta::GdataDownloadParameters, decorator: Google::Apis::DiscoveryengineV1beta::GdataDownloadParameters::Representation
|
4577
|
+
|
4578
|
+
property :filename, as: 'filename'
|
4579
|
+
property :hash_prop, as: 'hash'
|
4580
|
+
property :hash_verified, as: 'hashVerified'
|
4581
|
+
property :inline, :base64 => true, as: 'inline'
|
4582
|
+
property :is_potential_retry, as: 'isPotentialRetry'
|
4583
|
+
property :length, :numeric_string => true, as: 'length'
|
4584
|
+
property :md5_hash, :base64 => true, as: 'md5Hash'
|
4585
|
+
property :media_id, :base64 => true, as: 'mediaId'
|
4586
|
+
property :object_id_prop, as: 'objectId', class: Google::Apis::DiscoveryengineV1beta::GdataObjectId, decorator: Google::Apis::DiscoveryengineV1beta::GdataObjectId::Representation
|
4587
|
+
|
4588
|
+
property :path, as: 'path'
|
4589
|
+
property :reference_type, as: 'referenceType'
|
4590
|
+
property :sha1_hash, :base64 => true, as: 'sha1Hash'
|
4591
|
+
property :sha256_hash, :base64 => true, as: 'sha256Hash'
|
4592
|
+
property :timestamp, :numeric_string => true, as: 'timestamp'
|
4593
|
+
property :token, as: 'token'
|
4594
|
+
end
|
4595
|
+
end
|
4596
|
+
|
4597
|
+
class GdataObjectId
|
4598
|
+
# @private
|
4599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4600
|
+
property :bucket_name, as: 'bucketName'
|
4601
|
+
property :generation, :numeric_string => true, as: 'generation'
|
4602
|
+
property :object_name, as: 'objectName'
|
4603
|
+
end
|
4604
|
+
end
|
4605
|
+
|
4375
4606
|
class GoogleApiDistribution
|
4376
4607
|
# @private
|
4377
4608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6658,6 +6889,20 @@ module Google
|
|
6658
6889
|
end
|
6659
6890
|
end
|
6660
6891
|
|
6892
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
6893
|
+
# @private
|
6894
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6895
|
+
property :create_time, as: 'createTime'
|
6896
|
+
property :update_time, as: 'updateTime'
|
6897
|
+
end
|
6898
|
+
end
|
6899
|
+
|
6900
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
6901
|
+
# @private
|
6902
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6903
|
+
end
|
6904
|
+
end
|
6905
|
+
|
6661
6906
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
6662
6907
|
# @private
|
6663
6908
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7397,6 +7642,7 @@ module Google
|
|
7397
7642
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
7398
7643
|
# @private
|
7399
7644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7645
|
+
property :extracted_filter_behavior, as: 'extractedFilterBehavior'
|
7400
7646
|
property :filter_extraction_condition, as: 'filterExtractionCondition'
|
7401
7647
|
collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
|
7402
7648
|
end
|
@@ -10798,6 +11044,7 @@ module Google
|
|
10798
11044
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
10799
11045
|
# @private
|
10800
11046
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11047
|
+
property :extracted_filter_behavior, as: 'extractedFilterBehavior'
|
10801
11048
|
property :filter_extraction_condition, as: 'filterExtractionCondition'
|
10802
11049
|
collection :geo_search_query_detection_field_names, as: 'geoSearchQueryDetectionFieldNames'
|
10803
11050
|
end
|
@@ -51,6 +51,51 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
+
# Downloads a file from the session.
|
55
|
+
# @param [String] name
|
56
|
+
# Required. The resource name of the Session. Format: `projects/`project`/
|
57
|
+
# locations/`location`/collections/`collection`/engines/`engine`/sessions/`
|
58
|
+
# session``
|
59
|
+
# @param [String] file_id
|
60
|
+
# Required. The ID of the file to be downloaded.
|
61
|
+
# @param [String] view_id
|
62
|
+
# Optional. The ID of the view to be downloaded.
|
63
|
+
# @param [String] fields
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
65
|
+
# @param [String] quota_user
|
66
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
67
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
68
|
+
# @param [IO, String] download_dest
|
69
|
+
# IO stream or filename to receive content download
|
70
|
+
# @param [Google::Apis::RequestOptions] options
|
71
|
+
# Request-specific options
|
72
|
+
#
|
73
|
+
# @yield [result, err] Result & error if block supplied
|
74
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GdataMedia] parsed result object
|
75
|
+
# @yieldparam err [StandardError] error object if request failed
|
76
|
+
#
|
77
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GdataMedia]
|
78
|
+
#
|
79
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
80
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
81
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
82
|
+
def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
|
83
|
+
if download_dest.nil?
|
84
|
+
command = make_simple_command(:get, 'v1beta/{+name}:downloadFile', options)
|
85
|
+
else
|
86
|
+
command = make_download_command(:get, 'v1beta/{+name}:downloadFile', options)
|
87
|
+
command.download_dest = download_dest
|
88
|
+
end
|
89
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GdataMedia::Representation
|
90
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GdataMedia
|
91
|
+
command.params['name'] = name unless name.nil?
|
92
|
+
command.query['fileId'] = file_id unless file_id.nil?
|
93
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
94
|
+
command.query['fields'] = fields unless fields.nil?
|
95
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
96
|
+
execute_or_queue_command(command, &block)
|
97
|
+
end
|
98
|
+
|
54
99
|
# Provisions the project resource. During the process, related systems will get
|
55
100
|
# prepared and initialized. Caller must read the [Terms for data use](https://
|
56
101
|
# cloud.google.com/retail/data-use-terms), and optionally specify in request to
|
@@ -2649,10 +2694,10 @@ module Google
|
|
2649
2694
|
# @param [String] filter
|
2650
2695
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
2651
2696
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
2652
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
2653
|
-
# user_pseudo_id = some_id
|
2654
|
-
# is_pinned=true AND (NOT labels:hidden)
|
2655
|
-
#
|
2697
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
2698
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
2699
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
2700
|
+
# `
|
2656
2701
|
# @param [String] order_by
|
2657
2702
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
2658
2703
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -5044,10 +5089,10 @@ module Google
|
|
5044
5089
|
# @param [String] filter
|
5045
5090
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
5046
5091
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
5047
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
5048
|
-
# user_pseudo_id = some_id
|
5049
|
-
# is_pinned=true AND (NOT labels:hidden)
|
5050
|
-
#
|
5092
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
5093
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
5094
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
5095
|
+
# `
|
5051
5096
|
# @param [String] order_by
|
5052
5097
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
5053
5098
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -7260,10 +7305,10 @@ module Google
|
|
7260
7305
|
# @param [String] filter
|
7261
7306
|
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
7262
7307
|
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
7263
|
-
# is_pinned` * `labels` * `create_time` * `update_time` Examples:
|
7264
|
-
# user_pseudo_id = some_id
|
7265
|
-
# is_pinned=true AND (NOT labels:hidden)
|
7266
|
-
#
|
7308
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
7309
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
7310
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
7311
|
+
# `
|
7267
7312
|
# @param [String] order_by
|
7268
7313
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
7269
7314
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.76.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.76.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|