google-apis-discoveryengine_v1beta 0.89.0 → 0.90.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.
@@ -22,679 +22,6 @@ 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
-
698
25
  # `Distribution` contains summary statistics for a population of values. It
699
26
  # optionally contains a histogram representing the distribution of those values
700
27
  # across a set of buckets. The summary statistics are the count, mean, sum of
@@ -1676,6 +1003,18 @@ module Google
1676
1003
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
1677
1004
  attr_accessor :customer_policy
1678
1005
 
1006
+ # Optional. Description for additional information. Expected to be shown on the
1007
+ # configuration UI, not to the users of the assistant.
1008
+ # Corresponds to the JSON property `description`
1009
+ # @return [String]
1010
+ attr_accessor :description
1011
+
1012
+ # Required. The assistant display name. It must be a UTF-8 encoded string with a
1013
+ # length limit of 128 characters.
1014
+ # Corresponds to the JSON property `displayName`
1015
+ # @return [String]
1016
+ attr_accessor :display_name
1017
+
1679
1018
  # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
1680
1019
  # tools on this assistant. The keys are connector name, for example "projects/`
1681
1020
  # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
@@ -1713,6 +1052,8 @@ module Google
1713
1052
  # Update properties of this object
1714
1053
  def update!(**args)
1715
1054
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
1055
+ @description = args[:description] if args.key?(:description)
1056
+ @display_name = args[:display_name] if args.key?(:display_name)
1716
1057
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
1717
1058
  @generation_config = args[:generation_config] if args.key?(:generation_config)
1718
1059
  @name = args[:name] if args.key?(:name)
@@ -1823,6 +1164,11 @@ module Google
1823
1164
  class GoogleCloudDiscoveryengineV1AssistantGenerationConfig
1824
1165
  include Google::Apis::Core::Hashable
1825
1166
 
1167
+ # Optional. The list of models that are allowed to be used for assistant.
1168
+ # Corresponds to the JSON property `allowedModelIds`
1169
+ # @return [Array<String>]
1170
+ attr_accessor :allowed_model_ids
1171
+
1826
1172
  # The default language to use for the generation of the assistant response. Use
1827
1173
  # an ISO 639-1 language code such as `en`. If not specified, the language will
1828
1174
  # be automatically detected.
@@ -1830,6 +1176,11 @@ module Google
1830
1176
  # @return [String]
1831
1177
  attr_accessor :default_language
1832
1178
 
1179
+ # Optional. The default model to use for assistant.
1180
+ # Corresponds to the JSON property `defaultModelId`
1181
+ # @return [String]
1182
+ attr_accessor :default_model_id
1183
+
1833
1184
  # System instruction, also known as the prompt preamble for LLM calls.
1834
1185
  # Corresponds to the JSON property `systemInstruction`
1835
1186
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantGenerationConfigSystemInstruction]
@@ -1841,7 +1192,9 @@ module Google
1841
1192
 
1842
1193
  # Update properties of this object
1843
1194
  def update!(**args)
1195
+ @allowed_model_ids = args[:allowed_model_ids] if args.key?(:allowed_model_ids)
1844
1196
  @default_language = args[:default_language] if args.key?(:default_language)
1197
+ @default_model_id = args[:default_model_id] if args.key?(:default_model_id)
1845
1198
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
1846
1199
  end
1847
1200
  end
@@ -13718,6 +13071,18 @@ module Google
13718
13071
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec]
13719
13072
  attr_accessor :content_search_spec
13720
13073
 
13074
+ # Optional. Crowding specifications for improving result diversity. If multiple
13075
+ # CrowdingSpecs are specified, crowding will be evaluated on each unique
13076
+ # combination of the `field` values, and max_count will be the maximum value of `
13077
+ # max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec
13078
+ # has `field` = "color" and `max_count` = 3, and the second CrowdingSpec has `
13079
+ # field` = "size" and `max_count` = 2, then after 3 documents that share the
13080
+ # same color AND size have been returned, subsequent ones should be removed or
13081
+ # demoted.
13082
+ # Corresponds to the JSON property `crowdingSpecs`
13083
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec>]
13084
+ attr_accessor :crowding_specs
13085
+
13721
13086
  # Defines custom fine tuning spec.
13722
13087
  # Corresponds to the JSON property `customFineTuningSpec`
13723
13088
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
@@ -13810,6 +13175,20 @@ module Google
13810
13175
  # @return [String]
13811
13176
  attr_accessor :order_by
13812
13177
 
13178
+ # Optional. The categories associated with a category page. Must be set for
13179
+ # category navigation queries to achieve good search quality. The format should
13180
+ # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
13181
+ # of the query for browse (navigation) queries. It's used by the browse model
13182
+ # when the query is empty. If the field is empty, it will not be used by the
13183
+ # browse model. To represent full path of a category, use '>' character to
13184
+ # separate different hierarchies. If '>' is part of the category name, replace
13185
+ # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
13186
+ # Edition` where "RTX > 4090" represents one level, can be rewritten as `
13187
+ # Graphics Cards > RTX_4090 > Founders Edition`
13188
+ # Corresponds to the JSON property `pageCategories`
13189
+ # @return [Array<String>]
13190
+ attr_accessor :page_categories
13191
+
13813
13192
  # Maximum number of Documents to return. The maximum allowed value depends on
13814
13193
  # the data type. Values above the maximum value are coerced to the maximum value.
13815
13194
  # * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with
@@ -14042,6 +13421,7 @@ module Google
14042
13421
  @branch = args[:branch] if args.key?(:branch)
14043
13422
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
14044
13423
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
13424
+ @crowding_specs = args[:crowding_specs] if args.key?(:crowding_specs)
14045
13425
  @custom_fine_tuning_spec = args[:custom_fine_tuning_spec] if args.key?(:custom_fine_tuning_spec)
14046
13426
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
14047
13427
  @display_spec = args[:display_spec] if args.key?(:display_spec)
@@ -14054,6 +13434,7 @@ module Google
14054
13434
  @offset = args[:offset] if args.key?(:offset)
14055
13435
  @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
14056
13436
  @order_by = args[:order_by] if args.key?(:order_by)
13437
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
14057
13438
  @page_size = args[:page_size] if args.key?(:page_size)
14058
13439
  @page_token = args[:page_token] if args.key?(:page_token)
14059
13440
  @params = args[:params] if args.key?(:params)
@@ -14594,6 +13975,45 @@ module Google
14594
13975
  end
14595
13976
  end
14596
13977
 
13978
+ # Specification for crowding. Crowding improves the diversity of search results
13979
+ # by limiting the number of results that share the same field value. For example,
13980
+ # crowding on the color field with a max_count of 3 and mode
13981
+ # DROP_CROWDED_RESULTS will return at most 3 results with the same color across
13982
+ # all pages.
13983
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestCrowdingSpec
13984
+ include Google::Apis::Core::Hashable
13985
+
13986
+ # The field to use for crowding. Documents can be crowded by a field in the
13987
+ # Document object. Crowding field is case sensitive.
13988
+ # Corresponds to the JSON property `field`
13989
+ # @return [String]
13990
+ attr_accessor :field
13991
+
13992
+ # The maximum number of documents to keep per value of the field. Once there are
13993
+ # at least max_count previous results which contain the same value for the given
13994
+ # field (according to the order specified in `order_by`), later results with the
13995
+ # same value are "crowded away". If not specified, the default value is 1.
13996
+ # Corresponds to the JSON property `maxCount`
13997
+ # @return [Fixnum]
13998
+ attr_accessor :max_count
13999
+
14000
+ # Mode to use for documents that are crowded away.
14001
+ # Corresponds to the JSON property `mode`
14002
+ # @return [String]
14003
+ attr_accessor :mode
14004
+
14005
+ def initialize(**args)
14006
+ update!(**args)
14007
+ end
14008
+
14009
+ # Update properties of this object
14010
+ def update!(**args)
14011
+ @field = args[:field] if args.key?(:field)
14012
+ @max_count = args[:max_count] if args.key?(:max_count)
14013
+ @mode = args[:mode] if args.key?(:mode)
14014
+ end
14015
+ end
14016
+
14597
14017
  # A struct to define data stores to filter on in a search call and
14598
14018
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
14599
14019
  # is returned.
@@ -18468,6 +17888,18 @@ module Google
18468
17888
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
18469
17889
  attr_accessor :customer_policy
18470
17890
 
17891
+ # Optional. Description for additional information. Expected to be shown on the
17892
+ # configuration UI, not to the users of the assistant.
17893
+ # Corresponds to the JSON property `description`
17894
+ # @return [String]
17895
+ attr_accessor :description
17896
+
17897
+ # Required. The assistant display name. It must be a UTF-8 encoded string with a
17898
+ # length limit of 128 characters.
17899
+ # Corresponds to the JSON property `displayName`
17900
+ # @return [String]
17901
+ attr_accessor :display_name
17902
+
18471
17903
  # Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
18472
17904
  # tools on this assistant. The keys are connector name, for example "projects/`
18473
17905
  # projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
@@ -18505,6 +17937,8 @@ module Google
18505
17937
  # Update properties of this object
18506
17938
  def update!(**args)
18507
17939
  @customer_policy = args[:customer_policy] if args.key?(:customer_policy)
17940
+ @description = args[:description] if args.key?(:description)
17941
+ @display_name = args[:display_name] if args.key?(:display_name)
18508
17942
  @enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
18509
17943
  @generation_config = args[:generation_config] if args.key?(:generation_config)
18510
17944
  @name = args[:name] if args.key?(:name)
@@ -18767,6 +18201,11 @@ module Google
18767
18201
  class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
18768
18202
  include Google::Apis::Core::Hashable
18769
18203
 
18204
+ # Optional. The list of models that are allowed to be used for assistant.
18205
+ # Corresponds to the JSON property `allowedModelIds`
18206
+ # @return [Array<String>]
18207
+ attr_accessor :allowed_model_ids
18208
+
18770
18209
  # The default language to use for the generation of the assistant response. Use
18771
18210
  # an ISO 639-1 language code such as `en`. If not specified, the language will
18772
18211
  # be automatically detected.
@@ -18774,6 +18213,11 @@ module Google
18774
18213
  # @return [String]
18775
18214
  attr_accessor :default_language
18776
18215
 
18216
+ # Optional. The default model to use for assistant.
18217
+ # Corresponds to the JSON property `defaultModelId`
18218
+ # @return [String]
18219
+ attr_accessor :default_model_id
18220
+
18777
18221
  # System instruction, also known as the prompt preamble for LLM calls.
18778
18222
  # Corresponds to the JSON property `systemInstruction`
18779
18223
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction]
@@ -18785,7 +18229,9 @@ module Google
18785
18229
 
18786
18230
  # Update properties of this object
18787
18231
  def update!(**args)
18232
+ @allowed_model_ids = args[:allowed_model_ids] if args.key?(:allowed_model_ids)
18788
18233
  @default_language = args[:default_language] if args.key?(:default_language)
18234
+ @default_model_id = args[:default_model_id] if args.key?(:default_model_id)
18789
18235
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
18790
18236
  end
18791
18237
  end
@@ -24436,6 +23882,32 @@ module Google
24436
23882
  end
24437
23883
  end
24438
23884
 
23885
+ # Response message for the AssistantService.ListAssistants method.
23886
+ class GoogleCloudDiscoveryengineV1betaListAssistantsResponse
23887
+ include Google::Apis::Core::Hashable
23888
+
23889
+ # All the customer's Assistants.
23890
+ # Corresponds to the JSON property `assistants`
23891
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant>]
23892
+ attr_accessor :assistants
23893
+
23894
+ # A token that can be sent as ListAssistantsRequest.page_token to retrieve the
23895
+ # next page. If this field is omitted, there are no subsequent pages.
23896
+ # Corresponds to the JSON property `nextPageToken`
23897
+ # @return [String]
23898
+ attr_accessor :next_page_token
23899
+
23900
+ def initialize(**args)
23901
+ update!(**args)
23902
+ end
23903
+
23904
+ # Update properties of this object
23905
+ def update!(**args)
23906
+ @assistants = args[:assistants] if args.key?(:assistants)
23907
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
23908
+ end
23909
+ end
23910
+
24439
23911
  # Response message for CmekConfigService.ListCmekConfigs method.
24440
23912
  class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
24441
23913
  include Google::Apis::Core::Hashable
@@ -26893,6 +26365,18 @@ module Google
26893
26365
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
26894
26366
  attr_accessor :content_search_spec
26895
26367
 
26368
+ # Optional. Crowding specifications for improving result diversity. If multiple
26369
+ # CrowdingSpecs are specified, crowding will be evaluated on each unique
26370
+ # combination of the `field` values, and max_count will be the maximum value of `
26371
+ # max_count` across all CrowdingSpecs. For example, if the first CrowdingSpec
26372
+ # has `field` = "color" and `max_count` = 3, and the second CrowdingSpec has `
26373
+ # field` = "size" and `max_count` = 2, then after 3 documents that share the
26374
+ # same color AND size have been returned, subsequent ones should be removed or
26375
+ # demoted.
26376
+ # Corresponds to the JSON property `crowdingSpecs`
26377
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec>]
26378
+ attr_accessor :crowding_specs
26379
+
26896
26380
  # Specifications that define the specific DataStores to be searched, along with
26897
26381
  # configurations for those data stores. This is only considered for Engines with
26898
26382
  # multiple data stores. For engines with a single data store, the specs directly
@@ -26980,6 +26464,20 @@ module Google
26980
26464
  # @return [String]
26981
26465
  attr_accessor :order_by
26982
26466
 
26467
+ # Optional. The categories associated with a category page. Must be set for
26468
+ # category navigation queries to achieve good search quality. The format should
26469
+ # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
26470
+ # of the query for browse (navigation) queries. It's used by the browse model
26471
+ # when the query is empty. If the field is empty, it will not be used by the
26472
+ # browse model. To represent full path of a category, use '>' character to
26473
+ # separate different hierarchies. If '>' is part of the category name, replace
26474
+ # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
26475
+ # Edition` where "RTX > 4090" represents one level, can be rewritten as `
26476
+ # Graphics Cards > RTX_4090 > Founders Edition`
26477
+ # Corresponds to the JSON property `pageCategories`
26478
+ # @return [Array<String>]
26479
+ attr_accessor :page_categories
26480
+
26983
26481
  # Maximum number of Documents to return. The maximum allowed value depends on
26984
26482
  # the data type. Values above the maximum value are coerced to the maximum value.
26985
26483
  # * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with
@@ -27203,6 +26701,7 @@ module Google
27203
26701
  @branch = args[:branch] if args.key?(:branch)
27204
26702
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
27205
26703
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
26704
+ @crowding_specs = args[:crowding_specs] if args.key?(:crowding_specs)
27206
26705
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
27207
26706
  @display_spec = args[:display_spec] if args.key?(:display_spec)
27208
26707
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
@@ -27214,6 +26713,7 @@ module Google
27214
26713
  @offset = args[:offset] if args.key?(:offset)
27215
26714
  @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
27216
26715
  @order_by = args[:order_by] if args.key?(:order_by)
26716
+ @page_categories = args[:page_categories] if args.key?(:page_categories)
27217
26717
  @page_size = args[:page_size] if args.key?(:page_size)
27218
26718
  @page_token = args[:page_token] if args.key?(:page_token)
27219
26719
  @params = args[:params] if args.key?(:params)
@@ -27753,6 +27253,45 @@ module Google
27753
27253
  end
27754
27254
  end
27755
27255
 
27256
+ # Specification for crowding. Crowding improves the diversity of search results
27257
+ # by limiting the number of results that share the same field value. For example,
27258
+ # crowding on the color field with a max_count of 3 and mode
27259
+ # DROP_CROWDED_RESULTS will return at most 3 results with the same color across
27260
+ # all pages.
27261
+ class GoogleCloudDiscoveryengineV1betaSearchRequestCrowdingSpec
27262
+ include Google::Apis::Core::Hashable
27263
+
27264
+ # The field to use for crowding. Documents can be crowded by a field in the
27265
+ # Document object. Crowding field is case sensitive.
27266
+ # Corresponds to the JSON property `field`
27267
+ # @return [String]
27268
+ attr_accessor :field
27269
+
27270
+ # The maximum number of documents to keep per value of the field. Once there are
27271
+ # at least max_count previous results which contain the same value for the given
27272
+ # field (according to the order specified in `order_by`), later results with the
27273
+ # same value are "crowded away". If not specified, the default value is 1.
27274
+ # Corresponds to the JSON property `maxCount`
27275
+ # @return [Fixnum]
27276
+ attr_accessor :max_count
27277
+
27278
+ # Mode to use for documents that are crowded away.
27279
+ # Corresponds to the JSON property `mode`
27280
+ # @return [String]
27281
+ attr_accessor :mode
27282
+
27283
+ def initialize(**args)
27284
+ update!(**args)
27285
+ end
27286
+
27287
+ # Update properties of this object
27288
+ def update!(**args)
27289
+ @field = args[:field] if args.key?(:field)
27290
+ @max_count = args[:max_count] if args.key?(:max_count)
27291
+ @mode = args[:mode] if args.key?(:mode)
27292
+ end
27293
+ end
27294
+
27756
27295
  # A struct to define data stores to filter on in a search call and
27757
27296
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
27758
27297
  # is returned.
@@ -30174,6 +29713,11 @@ module Google
30174
29713
  # @return [String]
30175
29714
  attr_accessor :assist_token
30176
29715
 
29716
+ # The tool names of the tools that were invoked.
29717
+ # Corresponds to the JSON property `invocationTools`
29718
+ # @return [Array<String>]
29719
+ attr_accessor :invocation_tools
29720
+
30177
29721
  # Information about the session.
30178
29722
  # Corresponds to the JSON property `sessionInfo`
30179
29723
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo]
@@ -30187,6 +29731,7 @@ module Google
30187
29731
  def update!(**args)
30188
29732
  @answer = args[:answer] if args.key?(:answer)
30189
29733
  @assist_token = args[:assist_token] if args.key?(:assist_token)
29734
+ @invocation_tools = args[:invocation_tools] if args.key?(:invocation_tools)
30190
29735
  @session_info = args[:session_info] if args.key?(:session_info)
30191
29736
  end
30192
29737
  end
@@ -31173,8 +30718,9 @@ module Google
31173
30718
  attr_accessor :operations
31174
30719
 
31175
30720
  # Unordered list. Unreachable resources. Populated when the request sets `
31176
- # ListOperationsRequest.return_partial_success` and reads across collections e.g.
31177
- # when attempting to list all resources across all supported locations.
30721
+ # ListOperationsRequest.return_partial_success` and reads across collections.
30722
+ # For example, when attempting to list all resources across all supported
30723
+ # locations.
31178
30724
  # Corresponds to the JSON property `unreachable`
31179
30725
  # @return [Array<String>]
31180
30726
  attr_accessor :unreachable