google-apis-discoveryengine_v1beta 0.88.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +340 -675
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +100 -219
- data/lib/google/apis/discoveryengine_v1beta/service.rb +284 -130
- metadata +2 -2
|
@@ -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
|
|
@@ -3934,6 +3287,12 @@ module Google
|
|
|
3934
3287
|
attr_accessor :enable_image_annotation
|
|
3935
3288
|
alias_method :enable_image_annotation?, :enable_image_annotation
|
|
3936
3289
|
|
|
3290
|
+
# Optional. If true, the pdf layout will be refined using an LLM.
|
|
3291
|
+
# Corresponds to the JSON property `enableLlmLayoutParsing`
|
|
3292
|
+
# @return [Boolean]
|
|
3293
|
+
attr_accessor :enable_llm_layout_parsing
|
|
3294
|
+
alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing
|
|
3295
|
+
|
|
3937
3296
|
# Optional. If true, the LLM based annotation is added to the table during
|
|
3938
3297
|
# parsing.
|
|
3939
3298
|
# Corresponds to the JSON property `enableTableAnnotation`
|
|
@@ -3970,6 +3329,7 @@ module Google
|
|
|
3970
3329
|
def update!(**args)
|
|
3971
3330
|
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
|
3972
3331
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
|
3332
|
+
@enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
|
|
3973
3333
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
|
3974
3334
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
|
3975
3335
|
@exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements)
|
|
@@ -4069,6 +3429,11 @@ module Google
|
|
|
4069
3429
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata]
|
|
4070
3430
|
attr_accessor :chat_engine_metadata
|
|
4071
3431
|
|
|
3432
|
+
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
3433
|
+
# Corresponds to the JSON property `cmekConfig`
|
|
3434
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig]
|
|
3435
|
+
attr_accessor :cmek_config
|
|
3436
|
+
|
|
4072
3437
|
# Common configurations for an Engine.
|
|
4073
3438
|
# Corresponds to the JSON property `commonConfig`
|
|
4074
3439
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig]
|
|
@@ -4130,6 +3495,17 @@ module Google
|
|
|
4130
3495
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig]
|
|
4131
3496
|
attr_accessor :media_recommendation_engine_config
|
|
4132
3497
|
|
|
3498
|
+
# Optional. Maps a model name to its specific configuration for this engine.
|
|
3499
|
+
# This allows admin users to turn on/off individual models. This only stores
|
|
3500
|
+
# models whose states are overridden by the admin. When the state is unspecified,
|
|
3501
|
+
# or model_configs is empty for this model, the system will decide if this
|
|
3502
|
+
# model should be available or not based on the default configuration. For
|
|
3503
|
+
# example, a preview model should be disabled by default if the admin has not
|
|
3504
|
+
# chosen to enable it.
|
|
3505
|
+
# Corresponds to the JSON property `modelConfigs`
|
|
3506
|
+
# @return [Hash<String,String>]
|
|
3507
|
+
attr_accessor :model_configs
|
|
3508
|
+
|
|
4133
3509
|
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
|
4134
3510
|
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
4135
3511
|
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
|
@@ -4163,6 +3539,7 @@ module Google
|
|
|
4163
3539
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
4164
3540
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
4165
3541
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
3542
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
4166
3543
|
@common_config = args[:common_config] if args.key?(:common_config)
|
|
4167
3544
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
4168
3545
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
@@ -4172,6 +3549,7 @@ module Google
|
|
|
4172
3549
|
@features = args[:features] if args.key?(:features)
|
|
4173
3550
|
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
|
4174
3551
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
3552
|
+
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
4175
3553
|
@name = args[:name] if args.key?(:name)
|
|
4176
3554
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
4177
3555
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
@@ -10750,6 +10128,12 @@ module Google
|
|
|
10750
10128
|
attr_accessor :enable_image_annotation
|
|
10751
10129
|
alias_method :enable_image_annotation?, :enable_image_annotation
|
|
10752
10130
|
|
|
10131
|
+
# Optional. If true, the pdf layout will be refined using an LLM.
|
|
10132
|
+
# Corresponds to the JSON property `enableLlmLayoutParsing`
|
|
10133
|
+
# @return [Boolean]
|
|
10134
|
+
attr_accessor :enable_llm_layout_parsing
|
|
10135
|
+
alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing
|
|
10136
|
+
|
|
10753
10137
|
# Optional. If true, the LLM based annotation is added to the table during
|
|
10754
10138
|
# parsing.
|
|
10755
10139
|
# Corresponds to the JSON property `enableTableAnnotation`
|
|
@@ -10786,6 +10170,7 @@ module Google
|
|
|
10786
10170
|
def update!(**args)
|
|
10787
10171
|
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
|
10788
10172
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
|
10173
|
+
@enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
|
|
10789
10174
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
|
10790
10175
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
|
10791
10176
|
@exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements)
|
|
@@ -10885,6 +10270,11 @@ module Google
|
|
|
10885
10270
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata]
|
|
10886
10271
|
attr_accessor :chat_engine_metadata
|
|
10887
10272
|
|
|
10273
|
+
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
10274
|
+
# Corresponds to the JSON property `cmekConfig`
|
|
10275
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig]
|
|
10276
|
+
attr_accessor :cmek_config
|
|
10277
|
+
|
|
10888
10278
|
# Common configurations for an Engine.
|
|
10889
10279
|
# Corresponds to the JSON property `commonConfig`
|
|
10890
10280
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig]
|
|
@@ -10946,6 +10336,17 @@ module Google
|
|
|
10946
10336
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig]
|
|
10947
10337
|
attr_accessor :media_recommendation_engine_config
|
|
10948
10338
|
|
|
10339
|
+
# Optional. Maps a model name to its specific configuration for this engine.
|
|
10340
|
+
# This allows admin users to turn on/off individual models. This only stores
|
|
10341
|
+
# models whose states are overridden by the admin. When the state is unspecified,
|
|
10342
|
+
# or model_configs is empty for this model, the system will decide if this
|
|
10343
|
+
# model should be available or not based on the default configuration. For
|
|
10344
|
+
# example, a preview model should be disabled by default if the admin has not
|
|
10345
|
+
# chosen to enable it.
|
|
10346
|
+
# Corresponds to the JSON property `modelConfigs`
|
|
10347
|
+
# @return [Hash<String,String>]
|
|
10348
|
+
attr_accessor :model_configs
|
|
10349
|
+
|
|
10949
10350
|
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
|
10950
10351
|
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
10951
10352
|
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
|
@@ -10989,6 +10390,7 @@ module Google
|
|
|
10989
10390
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
10990
10391
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
10991
10392
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
10393
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
10992
10394
|
@common_config = args[:common_config] if args.key?(:common_config)
|
|
10993
10395
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
10994
10396
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
@@ -10998,6 +10400,7 @@ module Google
|
|
|
10998
10400
|
@features = args[:features] if args.key?(:features)
|
|
10999
10401
|
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
|
11000
10402
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
10403
|
+
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
11001
10404
|
@name = args[:name] if args.key?(:name)
|
|
11002
10405
|
@recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata)
|
|
11003
10406
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
@@ -13668,6 +13071,18 @@ module Google
|
|
|
13668
13071
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec]
|
|
13669
13072
|
attr_accessor :content_search_spec
|
|
13670
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
|
+
|
|
13671
13086
|
# Defines custom fine tuning spec.
|
|
13672
13087
|
# Corresponds to the JSON property `customFineTuningSpec`
|
|
13673
13088
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
|
@@ -13760,6 +13175,20 @@ module Google
|
|
|
13760
13175
|
# @return [String]
|
|
13761
13176
|
attr_accessor :order_by
|
|
13762
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
|
+
|
|
13763
13192
|
# Maximum number of Documents to return. The maximum allowed value depends on
|
|
13764
13193
|
# the data type. Values above the maximum value are coerced to the maximum value.
|
|
13765
13194
|
# * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with
|
|
@@ -13992,6 +13421,7 @@ module Google
|
|
|
13992
13421
|
@branch = args[:branch] if args.key?(:branch)
|
|
13993
13422
|
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
|
|
13994
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)
|
|
13995
13425
|
@custom_fine_tuning_spec = args[:custom_fine_tuning_spec] if args.key?(:custom_fine_tuning_spec)
|
|
13996
13426
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
|
13997
13427
|
@display_spec = args[:display_spec] if args.key?(:display_spec)
|
|
@@ -14004,6 +13434,7 @@ module Google
|
|
|
14004
13434
|
@offset = args[:offset] if args.key?(:offset)
|
|
14005
13435
|
@one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
|
|
14006
13436
|
@order_by = args[:order_by] if args.key?(:order_by)
|
|
13437
|
+
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
|
14007
13438
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
14008
13439
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
14009
13440
|
@params = args[:params] if args.key?(:params)
|
|
@@ -14544,6 +13975,45 @@ module Google
|
|
|
14544
13975
|
end
|
|
14545
13976
|
end
|
|
14546
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
|
+
|
|
14547
14017
|
# A struct to define data stores to filter on in a search call and
|
|
14548
14018
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
|
14549
14019
|
# is returned.
|
|
@@ -18418,6 +17888,18 @@ module Google
|
|
|
18418
17888
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
|
|
18419
17889
|
attr_accessor :customer_policy
|
|
18420
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
|
+
|
|
18421
17903
|
# Optional. Note: not implemented yet. Use enabled_actions instead. The enabled
|
|
18422
17904
|
# tools on this assistant. The keys are connector name, for example "projects/`
|
|
18423
17905
|
# projectId`/locations/`locationId`/collections/`collectionId`/dataconnector The
|
|
@@ -18455,6 +17937,8 @@ module Google
|
|
|
18455
17937
|
# Update properties of this object
|
|
18456
17938
|
def update!(**args)
|
|
18457
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)
|
|
18458
17942
|
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
|
18459
17943
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
|
18460
17944
|
@name = args[:name] if args.key?(:name)
|
|
@@ -18717,6 +18201,11 @@ module Google
|
|
|
18717
18201
|
class GoogleCloudDiscoveryengineV1betaAssistantGenerationConfig
|
|
18718
18202
|
include Google::Apis::Core::Hashable
|
|
18719
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
|
+
|
|
18720
18209
|
# The default language to use for the generation of the assistant response. Use
|
|
18721
18210
|
# an ISO 639-1 language code such as `en`. If not specified, the language will
|
|
18722
18211
|
# be automatically detected.
|
|
@@ -18724,6 +18213,11 @@ module Google
|
|
|
18724
18213
|
# @return [String]
|
|
18725
18214
|
attr_accessor :default_language
|
|
18726
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
|
+
|
|
18727
18221
|
# System instruction, also known as the prompt preamble for LLM calls.
|
|
18728
18222
|
# Corresponds to the JSON property `systemInstruction`
|
|
18729
18223
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGenerationConfigSystemInstruction]
|
|
@@ -18735,7 +18229,9 @@ module Google
|
|
|
18735
18229
|
|
|
18736
18230
|
# Update properties of this object
|
|
18737
18231
|
def update!(**args)
|
|
18232
|
+
@allowed_model_ids = args[:allowed_model_ids] if args.key?(:allowed_model_ids)
|
|
18738
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)
|
|
18739
18235
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
|
18740
18236
|
end
|
|
18741
18237
|
end
|
|
@@ -22181,6 +21677,12 @@ module Google
|
|
|
22181
21677
|
attr_accessor :enable_image_annotation
|
|
22182
21678
|
alias_method :enable_image_annotation?, :enable_image_annotation
|
|
22183
21679
|
|
|
21680
|
+
# Optional. If true, the pdf layout will be refined using an LLM.
|
|
21681
|
+
# Corresponds to the JSON property `enableLlmLayoutParsing`
|
|
21682
|
+
# @return [Boolean]
|
|
21683
|
+
attr_accessor :enable_llm_layout_parsing
|
|
21684
|
+
alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing
|
|
21685
|
+
|
|
22184
21686
|
# Optional. If true, the LLM based annotation is added to the table during
|
|
22185
21687
|
# parsing.
|
|
22186
21688
|
# Corresponds to the JSON property `enableTableAnnotation`
|
|
@@ -22217,6 +21719,7 @@ module Google
|
|
|
22217
21719
|
def update!(**args)
|
|
22218
21720
|
@enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document)
|
|
22219
21721
|
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
|
21722
|
+
@enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing)
|
|
22220
21723
|
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
|
22221
21724
|
@exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes)
|
|
22222
21725
|
@exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements)
|
|
@@ -22367,6 +21870,11 @@ module Google
|
|
|
22367
21870
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata]
|
|
22368
21871
|
attr_accessor :chat_engine_metadata
|
|
22369
21872
|
|
|
21873
|
+
# Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
|
21874
|
+
# Corresponds to the JSON property `cmekConfig`
|
|
21875
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig]
|
|
21876
|
+
attr_accessor :cmek_config
|
|
21877
|
+
|
|
22370
21878
|
# Common configurations for an Engine.
|
|
22371
21879
|
# Corresponds to the JSON property `commonConfig`
|
|
22372
21880
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig]
|
|
@@ -22428,6 +21936,17 @@ module Google
|
|
|
22428
21936
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig]
|
|
22429
21937
|
attr_accessor :media_recommendation_engine_config
|
|
22430
21938
|
|
|
21939
|
+
# Optional. Maps a model name to its specific configuration for this engine.
|
|
21940
|
+
# This allows admin users to turn on/off individual models. This only stores
|
|
21941
|
+
# models whose states are overridden by the admin. When the state is unspecified,
|
|
21942
|
+
# or model_configs is empty for this model, the system will decide if this
|
|
21943
|
+
# model should be available or not based on the default configuration. For
|
|
21944
|
+
# example, a preview model should be disabled by default if the admin has not
|
|
21945
|
+
# chosen to enable it.
|
|
21946
|
+
# Corresponds to the JSON property `modelConfigs`
|
|
21947
|
+
# @return [Hash<String,String>]
|
|
21948
|
+
attr_accessor :model_configs
|
|
21949
|
+
|
|
22431
21950
|
# Immutable. Identifier. The fully qualified resource name of the engine. This
|
|
22432
21951
|
# field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
22433
21952
|
# Format: `projects/`project`/locations/`location`/collections/`collection`/
|
|
@@ -22461,6 +21980,7 @@ module Google
|
|
|
22461
21980
|
@app_type = args[:app_type] if args.key?(:app_type)
|
|
22462
21981
|
@chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config)
|
|
22463
21982
|
@chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata)
|
|
21983
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
22464
21984
|
@common_config = args[:common_config] if args.key?(:common_config)
|
|
22465
21985
|
@configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach)
|
|
22466
21986
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
@@ -22470,6 +21990,7 @@ module Google
|
|
|
22470
21990
|
@features = args[:features] if args.key?(:features)
|
|
22471
21991
|
@industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
|
|
22472
21992
|
@media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config)
|
|
21993
|
+
@model_configs = args[:model_configs] if args.key?(:model_configs)
|
|
22473
21994
|
@name = args[:name] if args.key?(:name)
|
|
22474
21995
|
@search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config)
|
|
22475
21996
|
@solution_type = args[:solution_type] if args.key?(:solution_type)
|
|
@@ -24336,6 +23857,57 @@ module Google
|
|
|
24336
23857
|
end
|
|
24337
23858
|
end
|
|
24338
23859
|
|
|
23860
|
+
# Stats about users' licenses.
|
|
23861
|
+
class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats
|
|
23862
|
+
include Google::Apis::Core::Hashable
|
|
23863
|
+
|
|
23864
|
+
# Required. The LicenseConfig name.
|
|
23865
|
+
# Corresponds to the JSON property `licenseConfig`
|
|
23866
|
+
# @return [String]
|
|
23867
|
+
attr_accessor :license_config
|
|
23868
|
+
|
|
23869
|
+
# Required. The number of licenses used.
|
|
23870
|
+
# Corresponds to the JSON property `usedLicenseCount`
|
|
23871
|
+
# @return [Fixnum]
|
|
23872
|
+
attr_accessor :used_license_count
|
|
23873
|
+
|
|
23874
|
+
def initialize(**args)
|
|
23875
|
+
update!(**args)
|
|
23876
|
+
end
|
|
23877
|
+
|
|
23878
|
+
# Update properties of this object
|
|
23879
|
+
def update!(**args)
|
|
23880
|
+
@license_config = args[:license_config] if args.key?(:license_config)
|
|
23881
|
+
@used_license_count = args[:used_license_count] if args.key?(:used_license_count)
|
|
23882
|
+
end
|
|
23883
|
+
end
|
|
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
|
+
|
|
24339
23911
|
# Response message for CmekConfigService.ListCmekConfigs method.
|
|
24340
23912
|
class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse
|
|
24341
23913
|
include Google::Apis::Core::Hashable
|
|
@@ -24631,6 +24203,25 @@ module Google
|
|
|
24631
24203
|
end
|
|
24632
24204
|
end
|
|
24633
24205
|
|
|
24206
|
+
# Response message for UserLicenseService.ListLicenseConfigUsageStats method.
|
|
24207
|
+
class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse
|
|
24208
|
+
include Google::Apis::Core::Hashable
|
|
24209
|
+
|
|
24210
|
+
# All the customer's LicenseConfigUsageStats.
|
|
24211
|
+
# Corresponds to the JSON property `licenseConfigUsageStats`
|
|
24212
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats>]
|
|
24213
|
+
attr_accessor :license_config_usage_stats
|
|
24214
|
+
|
|
24215
|
+
def initialize(**args)
|
|
24216
|
+
update!(**args)
|
|
24217
|
+
end
|
|
24218
|
+
|
|
24219
|
+
# Update properties of this object
|
|
24220
|
+
def update!(**args)
|
|
24221
|
+
@license_config_usage_stats = args[:license_config_usage_stats] if args.key?(:license_config_usage_stats)
|
|
24222
|
+
end
|
|
24223
|
+
end
|
|
24224
|
+
|
|
24634
24225
|
# Response message for SampleQueryService.ListSampleQueries method.
|
|
24635
24226
|
class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse
|
|
24636
24227
|
include Google::Apis::Core::Hashable
|
|
@@ -26774,6 +26365,18 @@ module Google
|
|
|
26774
26365
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
|
|
26775
26366
|
attr_accessor :content_search_spec
|
|
26776
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
|
+
|
|
26777
26380
|
# Specifications that define the specific DataStores to be searched, along with
|
|
26778
26381
|
# configurations for those data stores. This is only considered for Engines with
|
|
26779
26382
|
# multiple data stores. For engines with a single data store, the specs directly
|
|
@@ -26861,6 +26464,20 @@ module Google
|
|
|
26861
26464
|
# @return [String]
|
|
26862
26465
|
attr_accessor :order_by
|
|
26863
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
|
+
|
|
26864
26481
|
# Maximum number of Documents to return. The maximum allowed value depends on
|
|
26865
26482
|
# the data type. Values above the maximum value are coerced to the maximum value.
|
|
26866
26483
|
# * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with
|
|
@@ -27084,6 +26701,7 @@ module Google
|
|
|
27084
26701
|
@branch = args[:branch] if args.key?(:branch)
|
|
27085
26702
|
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
|
|
27086
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)
|
|
27087
26705
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
|
27088
26706
|
@display_spec = args[:display_spec] if args.key?(:display_spec)
|
|
27089
26707
|
@embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
|
|
@@ -27095,6 +26713,7 @@ module Google
|
|
|
27095
26713
|
@offset = args[:offset] if args.key?(:offset)
|
|
27096
26714
|
@one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
|
|
27097
26715
|
@order_by = args[:order_by] if args.key?(:order_by)
|
|
26716
|
+
@page_categories = args[:page_categories] if args.key?(:page_categories)
|
|
27098
26717
|
@page_size = args[:page_size] if args.key?(:page_size)
|
|
27099
26718
|
@page_token = args[:page_token] if args.key?(:page_token)
|
|
27100
26719
|
@params = args[:params] if args.key?(:params)
|
|
@@ -27634,6 +27253,45 @@ module Google
|
|
|
27634
27253
|
end
|
|
27635
27254
|
end
|
|
27636
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
|
+
|
|
27637
27295
|
# A struct to define data stores to filter on in a search call and
|
|
27638
27296
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
|
27639
27297
|
# is returned.
|
|
@@ -30055,6 +29713,11 @@ module Google
|
|
|
30055
29713
|
# @return [String]
|
|
30056
29714
|
attr_accessor :assist_token
|
|
30057
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
|
+
|
|
30058
29721
|
# Information about the session.
|
|
30059
29722
|
# Corresponds to the JSON property `sessionInfo`
|
|
30060
29723
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo]
|
|
@@ -30068,6 +29731,7 @@ module Google
|
|
|
30068
29731
|
def update!(**args)
|
|
30069
29732
|
@answer = args[:answer] if args.key?(:answer)
|
|
30070
29733
|
@assist_token = args[:assist_token] if args.key?(:assist_token)
|
|
29734
|
+
@invocation_tools = args[:invocation_tools] if args.key?(:invocation_tools)
|
|
30071
29735
|
@session_info = args[:session_info] if args.key?(:session_info)
|
|
30072
29736
|
end
|
|
30073
29737
|
end
|
|
@@ -31054,8 +30718,9 @@ module Google
|
|
|
31054
30718
|
attr_accessor :operations
|
|
31055
30719
|
|
|
31056
30720
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
31057
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
31058
|
-
# when attempting to list all resources across all supported
|
|
30721
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
30722
|
+
# For example, when attempting to list all resources across all supported
|
|
30723
|
+
# locations.
|
|
31059
30724
|
# Corresponds to the JSON property `unreachable`
|
|
31060
30725
|
# @return [Array<String>]
|
|
31061
30726
|
attr_accessor :unreachable
|