google-apis-discoveryengine_v1beta 0.74.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 +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +838 -40
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +289 -3
- data/lib/google/apis/discoveryengine_v1beta/service.rb +133 -9
- metadata +2 -2
@@ -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
|
@@ -867,6 +1540,28 @@ module Google
|
|
867
1540
|
end
|
868
1541
|
end
|
869
1542
|
|
1543
|
+
# Discovery Engine Assistant resource.
|
1544
|
+
class GoogleCloudDiscoveryengineV1Assistant
|
1545
|
+
include Google::Apis::Core::Hashable
|
1546
|
+
|
1547
|
+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
1548
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
1549
|
+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
1550
|
+
# characters.
|
1551
|
+
# Corresponds to the JSON property `name`
|
1552
|
+
# @return [String]
|
1553
|
+
attr_accessor :name
|
1554
|
+
|
1555
|
+
def initialize(**args)
|
1556
|
+
update!(**args)
|
1557
|
+
end
|
1558
|
+
|
1559
|
+
# Update properties of this object
|
1560
|
+
def update!(**args)
|
1561
|
+
@name = args[:name] if args.key?(:name)
|
1562
|
+
end
|
1563
|
+
end
|
1564
|
+
|
870
1565
|
# Metadata related to the progress of the SiteSearchEngineService.
|
871
1566
|
# BatchCreateTargetSites operation. This will be returned by the google.
|
872
1567
|
# longrunning.Operation.metadata field.
|
@@ -989,14 +1684,14 @@ module Google
|
|
989
1684
|
attr_accessor :is_default
|
990
1685
|
alias_method :is_default?, :is_default
|
991
1686
|
|
992
|
-
# KMS key resource name which will be used to encrypt resources `
|
993
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
1687
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
1688
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
994
1689
|
# Corresponds to the JSON property `kmsKey`
|
995
1690
|
# @return [String]
|
996
1691
|
attr_accessor :kms_key
|
997
1692
|
|
998
|
-
# KMS key version resource name which will be used to encrypt
|
999
|
-
# cryptoKeyVersions/`keyVersion``.
|
1693
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
1694
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
1000
1695
|
# Corresponds to the JSON property `kmsKeyVersion`
|
1001
1696
|
# @return [String]
|
1002
1697
|
attr_accessor :kms_key_version
|
@@ -5617,14 +6312,14 @@ module Google
|
|
5617
6312
|
attr_accessor :is_default
|
5618
6313
|
alias_method :is_default?, :is_default
|
5619
6314
|
|
5620
|
-
# KMS key resource name which will be used to encrypt resources `
|
5621
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
6315
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
6316
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
5622
6317
|
# Corresponds to the JSON property `kmsKey`
|
5623
6318
|
# @return [String]
|
5624
6319
|
attr_accessor :kms_key
|
5625
6320
|
|
5626
|
-
# KMS key version resource name which will be used to encrypt
|
5627
|
-
# cryptoKeyVersions/`keyVersion``.
|
6321
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
6322
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
5628
6323
|
# Corresponds to the JSON property `kmsKeyVersion`
|
5629
6324
|
# @return [String]
|
5630
6325
|
attr_accessor :kms_key_version
|
@@ -8543,6 +9238,48 @@ module Google
|
|
8543
9238
|
end
|
8544
9239
|
end
|
8545
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
|
+
|
8546
9283
|
# Configurations for fields of a schema. For example, configuring a field is
|
8547
9284
|
# indexable, or searchable.
|
8548
9285
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
@@ -9359,9 +10096,12 @@ module Google
|
|
9359
10096
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
9360
10097
|
include Google::Apis::Core::Hashable
|
9361
10098
|
|
9362
|
-
# A
|
9363
|
-
# user_pseudo_id
|
9364
|
-
#
|
10099
|
+
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
10100
|
+
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
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
|
+
# `
|
9365
10105
|
# Corresponds to the JSON property `filter`
|
9366
10106
|
# @return [String]
|
9367
10107
|
attr_accessor :filter
|
@@ -11532,6 +12272,17 @@ module Google
|
|
11532
12272
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
11533
12273
|
include Google::Apis::Core::Hashable
|
11534
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
|
+
|
11535
12286
|
# The condition under which filter extraction should occur. Server behavior
|
11536
12287
|
# defaults to `DISABLED`.
|
11537
12288
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -11553,6 +12304,7 @@ module Google
|
|
11553
12304
|
|
11554
12305
|
# Update properties of this object
|
11555
12306
|
def update!(**args)
|
12307
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
11556
12308
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
11557
12309
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
11558
12310
|
end
|
@@ -14820,6 +15572,14 @@ module Google
|
|
14820
15572
|
# @return [Array<String>]
|
14821
15573
|
attr_accessor :assist_skipped_reasons
|
14822
15574
|
|
15575
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
15576
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
15577
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
15578
|
+
# encoded string with a length limit of 1024 characters.
|
15579
|
+
# Corresponds to the JSON property `name`
|
15580
|
+
# @return [String]
|
15581
|
+
attr_accessor :name
|
15582
|
+
|
14823
15583
|
# Replies of the assistant.
|
14824
15584
|
# Corresponds to the JSON property `replies`
|
14825
15585
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply>]
|
@@ -14837,6 +15597,7 @@ module Google
|
|
14837
15597
|
# Update properties of this object
|
14838
15598
|
def update!(**args)
|
14839
15599
|
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
15600
|
+
@name = args[:name] if args.key?(:name)
|
14840
15601
|
@replies = args[:replies] if args.key?(:replies)
|
14841
15602
|
@state = args[:state] if args.key?(:state)
|
14842
15603
|
end
|
@@ -14890,6 +15651,28 @@ module Google
|
|
14890
15651
|
end
|
14891
15652
|
end
|
14892
15653
|
|
15654
|
+
# Discovery Engine Assistant resource.
|
15655
|
+
class GoogleCloudDiscoveryengineV1betaAssistant
|
15656
|
+
include Google::Apis::Core::Hashable
|
15657
|
+
|
15658
|
+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
15659
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
15660
|
+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
15661
|
+
# characters.
|
15662
|
+
# Corresponds to the JSON property `name`
|
15663
|
+
# @return [String]
|
15664
|
+
attr_accessor :name
|
15665
|
+
|
15666
|
+
def initialize(**args)
|
15667
|
+
update!(**args)
|
15668
|
+
end
|
15669
|
+
|
15670
|
+
# Update properties of this object
|
15671
|
+
def update!(**args)
|
15672
|
+
@name = args[:name] if args.key?(:name)
|
15673
|
+
end
|
15674
|
+
end
|
15675
|
+
|
14893
15676
|
# Multi-modal content.
|
14894
15677
|
class GoogleCloudDiscoveryengineV1betaAssistantContent
|
14895
15678
|
include Google::Apis::Core::Hashable
|
@@ -16228,14 +17011,14 @@ module Google
|
|
16228
17011
|
attr_accessor :is_default
|
16229
17012
|
alias_method :is_default?, :is_default
|
16230
17013
|
|
16231
|
-
# KMS key resource name which will be used to encrypt resources `
|
16232
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
17014
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
17015
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
16233
17016
|
# Corresponds to the JSON property `kmsKey`
|
16234
17017
|
# @return [String]
|
16235
17018
|
attr_accessor :kms_key
|
16236
17019
|
|
16237
|
-
# KMS key version resource name which will be used to encrypt
|
16238
|
-
# cryptoKeyVersions/`keyVersion``.
|
17020
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
17021
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
16239
17022
|
# Corresponds to the JSON property `kmsKeyVersion`
|
16240
17023
|
# @return [String]
|
16241
17024
|
attr_accessor :kms_key_version
|
@@ -21215,6 +21998,11 @@ module Google
|
|
21215
21998
|
# @return [String]
|
21216
21999
|
attr_accessor :data_use_terms_version
|
21217
22000
|
|
22001
|
+
# Parameters for Agentspace.
|
22002
|
+
# Corresponds to the JSON property `saasParams`
|
22003
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams]
|
22004
|
+
attr_accessor :saas_params
|
22005
|
+
|
21218
22006
|
def initialize(**args)
|
21219
22007
|
update!(**args)
|
21220
22008
|
end
|
@@ -21223,6 +22011,28 @@ module Google
|
|
21223
22011
|
def update!(**args)
|
21224
22012
|
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
|
21225
22013
|
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
|
22014
|
+
@saas_params = args[:saas_params] if args.key?(:saas_params)
|
22015
|
+
end
|
22016
|
+
end
|
22017
|
+
|
22018
|
+
# Parameters for Agentspace.
|
22019
|
+
class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
|
22020
|
+
include Google::Apis::Core::Hashable
|
22021
|
+
|
22022
|
+
# Optional. Set to `true` to specify that caller has read and would like to give
|
22023
|
+
# consent to the [Terms for Agent Space quality of service].
|
22024
|
+
# Corresponds to the JSON property `acceptBizQos`
|
22025
|
+
# @return [Boolean]
|
22026
|
+
attr_accessor :accept_biz_qos
|
22027
|
+
alias_method :accept_biz_qos?, :accept_biz_qos
|
22028
|
+
|
22029
|
+
def initialize(**args)
|
22030
|
+
update!(**args)
|
22031
|
+
end
|
22032
|
+
|
22033
|
+
# Update properties of this object
|
22034
|
+
def update!(**args)
|
22035
|
+
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
21226
22036
|
end
|
21227
22037
|
end
|
21228
22038
|
|
@@ -21700,7 +22510,7 @@ module Google
|
|
21700
22510
|
# @return [String]
|
21701
22511
|
attr_accessor :query
|
21702
22512
|
|
21703
|
-
# Required. A list of records to rank.
|
22513
|
+
# Required. A list of records to rank.
|
21704
22514
|
# Corresponds to the JSON property `records`
|
21705
22515
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>]
|
21706
22516
|
attr_accessor :records
|
@@ -23713,6 +24523,17 @@ module Google
|
|
23713
24523
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
23714
24524
|
include Google::Apis::Core::Hashable
|
23715
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
|
+
|
23716
24537
|
# The condition under which filter extraction should occur. Server behavior
|
23717
24538
|
# defaults to `DISABLED`.
|
23718
24539
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -23734,6 +24555,7 @@ module Google
|
|
23734
24555
|
|
23735
24556
|
# Update properties of this object
|
23736
24557
|
def update!(**args)
|
24558
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
23737
24559
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
23738
24560
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
23739
24561
|
end
|
@@ -25556,12 +26378,6 @@ module Google
|
|
25556
26378
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec]
|
25557
26379
|
attr_accessor :image_generation_spec
|
25558
26380
|
|
25559
|
-
# Optional. The name of the tool registry to use. Format: `projects/`project`/
|
25560
|
-
# locations/`location`/toolRegistries/`tool_registry``
|
25561
|
-
# Corresponds to the JSON property `toolRegistry`
|
25562
|
-
# @return [String]
|
25563
|
-
attr_accessor :tool_registry
|
25564
|
-
|
25565
26381
|
# Specification of the Vertex AI Search tool.
|
25566
26382
|
# Corresponds to the JSON property `vertexAiSearchSpec`
|
25567
26383
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec]
|
@@ -25584,7 +26400,6 @@ module Google
|
|
25584
26400
|
# Update properties of this object
|
25585
26401
|
def update!(**args)
|
25586
26402
|
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
|
25587
|
-
@tool_registry = args[:tool_registry] if args.key?(:tool_registry)
|
25588
26403
|
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
|
25589
26404
|
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
|
25590
26405
|
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
|
@@ -25615,14 +26430,6 @@ module Google
|
|
25615
26430
|
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
|
25616
26431
|
attr_accessor :data_store_specs
|
25617
26432
|
|
25618
|
-
# Optional. Deprecated. Please refrain from using this field. Whether the Vertex
|
25619
|
-
# AI Search tool is disabled. Default value is false, the tool is enabled by
|
25620
|
-
# default.
|
25621
|
-
# Corresponds to the JSON property `disabled`
|
25622
|
-
# @return [Boolean]
|
25623
|
-
attr_accessor :disabled
|
25624
|
-
alias_method :disabled?, :disabled
|
25625
|
-
|
25626
26433
|
# Optional. The filter syntax consists of an expression language for
|
25627
26434
|
# constructing a predicate from one or more fields of the documents being
|
25628
26435
|
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
|
@@ -25645,7 +26452,6 @@ module Google
|
|
25645
26452
|
# Update properties of this object
|
25646
26453
|
def update!(**args)
|
25647
26454
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
25648
|
-
@disabled = args[:disabled] if args.key?(:disabled)
|
25649
26455
|
@filter = args[:filter] if args.key?(:filter)
|
25650
26456
|
end
|
25651
26457
|
end
|
@@ -25667,20 +26473,12 @@ module Google
|
|
25667
26473
|
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
|
25668
26474
|
include Google::Apis::Core::Hashable
|
25669
26475
|
|
25670
|
-
# Optional. Deprecated. Please refrain from using this field. Whether the web
|
25671
|
-
# grounding tool is enabled.
|
25672
|
-
# Corresponds to the JSON property `enabled`
|
25673
|
-
# @return [Boolean]
|
25674
|
-
attr_accessor :enabled
|
25675
|
-
alias_method :enabled?, :enabled
|
25676
|
-
|
25677
26476
|
def initialize(**args)
|
25678
26477
|
update!(**args)
|
25679
26478
|
end
|
25680
26479
|
|
25681
26480
|
# Update properties of this object
|
25682
26481
|
def update!(**args)
|
25683
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
25684
26482
|
end
|
25685
26483
|
end
|
25686
26484
|
|