google-apis-discoveryengine_v1 0.45.0 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +816 -40
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +276 -3
- data/lib/google/apis/discoveryengine_v1/service.rb +133 -9
- metadata +2 -2
@@ -22,6 +22,679 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module DiscoveryengineV1
|
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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::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::DiscoveryengineV1::GdataObjectId]
|
588
|
+
attr_accessor :object_id_prop
|
589
|
+
|
590
|
+
# Path to the data, set if reference_type is PATH
|
591
|
+
# Corresponds to the JSON property `path`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :path
|
594
|
+
|
595
|
+
# Describes what the field reference contains.
|
596
|
+
# Corresponds to the JSON property `referenceType`
|
597
|
+
# @return [String]
|
598
|
+
attr_accessor :reference_type
|
599
|
+
|
600
|
+
# Scotty-provided SHA1 hash for an upload.
|
601
|
+
# Corresponds to the JSON property `sha1Hash`
|
602
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
603
|
+
# @return [String]
|
604
|
+
attr_accessor :sha1_hash
|
605
|
+
|
606
|
+
# Scotty-provided SHA256 hash for an upload.
|
607
|
+
# Corresponds to the JSON property `sha256Hash`
|
608
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
609
|
+
# @return [String]
|
610
|
+
attr_accessor :sha256_hash
|
611
|
+
|
612
|
+
# Time at which the media data was last updated, in milliseconds since UNIX
|
613
|
+
# epoch
|
614
|
+
# Corresponds to the JSON property `timestamp`
|
615
|
+
# @return [Fixnum]
|
616
|
+
attr_accessor :timestamp
|
617
|
+
|
618
|
+
# A unique fingerprint/version id for the media data
|
619
|
+
# Corresponds to the JSON property `token`
|
620
|
+
# @return [String]
|
621
|
+
attr_accessor :token
|
622
|
+
|
623
|
+
def initialize(**args)
|
624
|
+
update!(**args)
|
625
|
+
end
|
626
|
+
|
627
|
+
# Update properties of this object
|
628
|
+
def update!(**args)
|
629
|
+
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
630
|
+
@bigstore_object_ref = args[:bigstore_object_ref] if args.key?(:bigstore_object_ref)
|
631
|
+
@blob_ref = args[:blob_ref] if args.key?(:blob_ref)
|
632
|
+
@blobstore2_info = args[:blobstore2_info] if args.key?(:blobstore2_info)
|
633
|
+
@composite_media = args[:composite_media] if args.key?(:composite_media)
|
634
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
635
|
+
@content_type_info = args[:content_type_info] if args.key?(:content_type_info)
|
636
|
+
@cosmo_binary_reference = args[:cosmo_binary_reference] if args.key?(:cosmo_binary_reference)
|
637
|
+
@crc32c_hash = args[:crc32c_hash] if args.key?(:crc32c_hash)
|
638
|
+
@diff_checksums_response = args[:diff_checksums_response] if args.key?(:diff_checksums_response)
|
639
|
+
@diff_download_response = args[:diff_download_response] if args.key?(:diff_download_response)
|
640
|
+
@diff_upload_request = args[:diff_upload_request] if args.key?(:diff_upload_request)
|
641
|
+
@diff_upload_response = args[:diff_upload_response] if args.key?(:diff_upload_response)
|
642
|
+
@diff_version_response = args[:diff_version_response] if args.key?(:diff_version_response)
|
643
|
+
@download_parameters = args[:download_parameters] if args.key?(:download_parameters)
|
644
|
+
@filename = args[:filename] if args.key?(:filename)
|
645
|
+
@hash_prop = args[:hash_prop] if args.key?(:hash_prop)
|
646
|
+
@hash_verified = args[:hash_verified] if args.key?(:hash_verified)
|
647
|
+
@inline = args[:inline] if args.key?(:inline)
|
648
|
+
@is_potential_retry = args[:is_potential_retry] if args.key?(:is_potential_retry)
|
649
|
+
@length = args[:length] if args.key?(:length)
|
650
|
+
@md5_hash = args[:md5_hash] if args.key?(:md5_hash)
|
651
|
+
@media_id = args[:media_id] if args.key?(:media_id)
|
652
|
+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
|
653
|
+
@path = args[:path] if args.key?(:path)
|
654
|
+
@reference_type = args[:reference_type] if args.key?(:reference_type)
|
655
|
+
@sha1_hash = args[:sha1_hash] if args.key?(:sha1_hash)
|
656
|
+
@sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash)
|
657
|
+
@timestamp = args[:timestamp] if args.key?(:timestamp)
|
658
|
+
@token = args[:token] if args.key?(:token)
|
659
|
+
end
|
660
|
+
end
|
661
|
+
|
662
|
+
# This is a copy of the tech.blob.ObjectId proto, which could not be used
|
663
|
+
# directly here due to transitive closure issues with JavaScript support; see
|
664
|
+
# http://b/8801763.
|
665
|
+
class GdataObjectId
|
666
|
+
include Google::Apis::Core::Hashable
|
667
|
+
|
668
|
+
# The name of the bucket to which this object belongs.
|
669
|
+
# Corresponds to the JSON property `bucketName`
|
670
|
+
# @return [String]
|
671
|
+
attr_accessor :bucket_name
|
672
|
+
|
673
|
+
# Generation of the object. Generations are monotonically increasing across
|
674
|
+
# writes, allowing them to be be compared to determine which generation is newer.
|
675
|
+
# If this is omitted in a request, then you are requesting the live object. See
|
676
|
+
# http://go/bigstore-versions
|
677
|
+
# Corresponds to the JSON property `generation`
|
678
|
+
# @return [Fixnum]
|
679
|
+
attr_accessor :generation
|
680
|
+
|
681
|
+
# The name of the object.
|
682
|
+
# Corresponds to the JSON property `objectName`
|
683
|
+
# @return [String]
|
684
|
+
attr_accessor :object_name
|
685
|
+
|
686
|
+
def initialize(**args)
|
687
|
+
update!(**args)
|
688
|
+
end
|
689
|
+
|
690
|
+
# Update properties of this object
|
691
|
+
def update!(**args)
|
692
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
693
|
+
@generation = args[:generation] if args.key?(:generation)
|
694
|
+
@object_name = args[:object_name] if args.key?(:object_name)
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
25
698
|
# `Distribution` contains summary statistics for a population of values. It
|
26
699
|
# optionally contains a histogram representing the distribution of those values
|
27
700
|
# across a set of buckets. The summary statistics are the count, mean, sum of
|
@@ -2920,6 +3593,14 @@ module Google
|
|
2920
3593
|
# @return [Array<String>]
|
2921
3594
|
attr_accessor :assist_skipped_reasons
|
2922
3595
|
|
3596
|
+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
|
3597
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
3598
|
+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
|
3599
|
+
# encoded string with a length limit of 1024 characters.
|
3600
|
+
# Corresponds to the JSON property `name`
|
3601
|
+
# @return [String]
|
3602
|
+
attr_accessor :name
|
3603
|
+
|
2923
3604
|
# Replies of the assistant.
|
2924
3605
|
# Corresponds to the JSON property `replies`
|
2925
3606
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AssistAnswerReply>]
|
@@ -2937,6 +3618,7 @@ module Google
|
|
2937
3618
|
# Update properties of this object
|
2938
3619
|
def update!(**args)
|
2939
3620
|
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
|
3621
|
+
@name = args[:name] if args.key?(:name)
|
2940
3622
|
@replies = args[:replies] if args.key?(:replies)
|
2941
3623
|
@state = args[:state] if args.key?(:state)
|
2942
3624
|
end
|
@@ -2990,6 +3672,28 @@ module Google
|
|
2990
3672
|
end
|
2991
3673
|
end
|
2992
3674
|
|
3675
|
+
# Discovery Engine Assistant resource.
|
3676
|
+
class GoogleCloudDiscoveryengineV1Assistant
|
3677
|
+
include Google::Apis::Core::Hashable
|
3678
|
+
|
3679
|
+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
|
3680
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
3681
|
+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
|
3682
|
+
# characters.
|
3683
|
+
# Corresponds to the JSON property `name`
|
3684
|
+
# @return [String]
|
3685
|
+
attr_accessor :name
|
3686
|
+
|
3687
|
+
def initialize(**args)
|
3688
|
+
update!(**args)
|
3689
|
+
end
|
3690
|
+
|
3691
|
+
# Update properties of this object
|
3692
|
+
def update!(**args)
|
3693
|
+
@name = args[:name] if args.key?(:name)
|
3694
|
+
end
|
3695
|
+
end
|
3696
|
+
|
2993
3697
|
# Multi-modal content.
|
2994
3698
|
class GoogleCloudDiscoveryengineV1AssistantContent
|
2995
3699
|
include Google::Apis::Core::Hashable
|
@@ -4328,14 +5032,14 @@ module Google
|
|
4328
5032
|
attr_accessor :is_default
|
4329
5033
|
alias_method :is_default?, :is_default
|
4330
5034
|
|
4331
|
-
# KMS key resource name which will be used to encrypt resources `
|
4332
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
5035
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
5036
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
4333
5037
|
# Corresponds to the JSON property `kmsKey`
|
4334
5038
|
# @return [String]
|
4335
5039
|
attr_accessor :kms_key
|
4336
5040
|
|
4337
|
-
# KMS key version resource name which will be used to encrypt
|
4338
|
-
# cryptoKeyVersions/`keyVersion``.
|
5041
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
5042
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
4339
5043
|
# Corresponds to the JSON property `kmsKeyVersion`
|
4340
5044
|
# @return [String]
|
4341
5045
|
attr_accessor :kms_key_version
|
@@ -8661,6 +9365,11 @@ module Google
|
|
8661
9365
|
# @return [String]
|
8662
9366
|
attr_accessor :data_use_terms_version
|
8663
9367
|
|
9368
|
+
# Parameters for Agentspace.
|
9369
|
+
# Corresponds to the JSON property `saasParams`
|
9370
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams]
|
9371
|
+
attr_accessor :saas_params
|
9372
|
+
|
8664
9373
|
def initialize(**args)
|
8665
9374
|
update!(**args)
|
8666
9375
|
end
|
@@ -8669,6 +9378,28 @@ module Google
|
|
8669
9378
|
def update!(**args)
|
8670
9379
|
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
|
8671
9380
|
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
|
9381
|
+
@saas_params = args[:saas_params] if args.key?(:saas_params)
|
9382
|
+
end
|
9383
|
+
end
|
9384
|
+
|
9385
|
+
# Parameters for Agentspace.
|
9386
|
+
class GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams
|
9387
|
+
include Google::Apis::Core::Hashable
|
9388
|
+
|
9389
|
+
# Optional. Set to `true` to specify that caller has read and would like to give
|
9390
|
+
# consent to the [Terms for Agent Space quality of service].
|
9391
|
+
# Corresponds to the JSON property `acceptBizQos`
|
9392
|
+
# @return [Boolean]
|
9393
|
+
attr_accessor :accept_biz_qos
|
9394
|
+
alias_method :accept_biz_qos?, :accept_biz_qos
|
9395
|
+
|
9396
|
+
def initialize(**args)
|
9397
|
+
update!(**args)
|
9398
|
+
end
|
9399
|
+
|
9400
|
+
# Update properties of this object
|
9401
|
+
def update!(**args)
|
9402
|
+
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
8672
9403
|
end
|
8673
9404
|
end
|
8674
9405
|
|
@@ -9119,7 +9850,7 @@ module Google
|
|
9119
9850
|
# @return [String]
|
9120
9851
|
attr_accessor :query
|
9121
9852
|
|
9122
|
-
# Required. A list of records to rank.
|
9853
|
+
# Required. A list of records to rank.
|
9123
9854
|
# Corresponds to the JSON property `records`
|
9124
9855
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord>]
|
9125
9856
|
attr_accessor :records
|
@@ -11822,12 +12553,6 @@ module Google
|
|
11822
12553
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecImageGenerationSpec]
|
11823
12554
|
attr_accessor :image_generation_spec
|
11824
12555
|
|
11825
|
-
# Optional. The name of the tool registry to use. Format: `projects/`project`/
|
11826
|
-
# locations/`location`/toolRegistries/`tool_registry``
|
11827
|
-
# Corresponds to the JSON property `toolRegistry`
|
11828
|
-
# @return [String]
|
11829
|
-
attr_accessor :tool_registry
|
11830
|
-
|
11831
12556
|
# Specification of the Vertex AI Search tool.
|
11832
12557
|
# Corresponds to the JSON property `vertexAiSearchSpec`
|
11833
12558
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecVertexAiSearchSpec]
|
@@ -11850,7 +12575,6 @@ module Google
|
|
11850
12575
|
# Update properties of this object
|
11851
12576
|
def update!(**args)
|
11852
12577
|
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
|
11853
|
-
@tool_registry = args[:tool_registry] if args.key?(:tool_registry)
|
11854
12578
|
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
|
11855
12579
|
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
|
11856
12580
|
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
|
@@ -11881,14 +12605,6 @@ module Google
|
|
11881
12605
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec>]
|
11882
12606
|
attr_accessor :data_store_specs
|
11883
12607
|
|
11884
|
-
# Optional. Deprecated. Please refrain from using this field. Whether the Vertex
|
11885
|
-
# AI Search tool is disabled. Default value is false, the tool is enabled by
|
11886
|
-
# default.
|
11887
|
-
# Corresponds to the JSON property `disabled`
|
11888
|
-
# @return [Boolean]
|
11889
|
-
attr_accessor :disabled
|
11890
|
-
alias_method :disabled?, :disabled
|
11891
|
-
|
11892
12608
|
# Optional. The filter syntax consists of an expression language for
|
11893
12609
|
# constructing a predicate from one or more fields of the documents being
|
11894
12610
|
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
|
@@ -11911,7 +12627,6 @@ module Google
|
|
11911
12627
|
# Update properties of this object
|
11912
12628
|
def update!(**args)
|
11913
12629
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
11914
|
-
@disabled = args[:disabled] if args.key?(:disabled)
|
11915
12630
|
@filter = args[:filter] if args.key?(:filter)
|
11916
12631
|
end
|
11917
12632
|
end
|
@@ -11933,20 +12648,12 @@ module Google
|
|
11933
12648
|
class GoogleCloudDiscoveryengineV1StreamAssistRequestToolsSpecWebGroundingSpec
|
11934
12649
|
include Google::Apis::Core::Hashable
|
11935
12650
|
|
11936
|
-
# Optional. Deprecated. Please refrain from using this field. Whether the web
|
11937
|
-
# grounding tool is enabled.
|
11938
|
-
# Corresponds to the JSON property `enabled`
|
11939
|
-
# @return [Boolean]
|
11940
|
-
attr_accessor :enabled
|
11941
|
-
alias_method :enabled?, :enabled
|
11942
|
-
|
11943
12651
|
def initialize(**args)
|
11944
12652
|
update!(**args)
|
11945
12653
|
end
|
11946
12654
|
|
11947
12655
|
# Update properties of this object
|
11948
12656
|
def update!(**args)
|
11949
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
11950
12657
|
end
|
11951
12658
|
end
|
11952
12659
|
|
@@ -13906,14 +14613,14 @@ module Google
|
|
13906
14613
|
attr_accessor :is_default
|
13907
14614
|
alias_method :is_default?, :is_default
|
13908
14615
|
|
13909
|
-
# KMS key resource name which will be used to encrypt resources `
|
13910
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
14616
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
14617
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
13911
14618
|
# Corresponds to the JSON property `kmsKey`
|
13912
14619
|
# @return [String]
|
13913
14620
|
attr_accessor :kms_key
|
13914
14621
|
|
13915
|
-
# KMS key version resource name which will be used to encrypt
|
13916
|
-
# cryptoKeyVersions/`keyVersion``.
|
14622
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
14623
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
13917
14624
|
# Corresponds to the JSON property `kmsKeyVersion`
|
13918
14625
|
# @return [String]
|
13919
14626
|
attr_accessor :kms_key_version
|
@@ -16832,6 +17539,48 @@ module Google
|
|
16832
17539
|
end
|
16833
17540
|
end
|
16834
17541
|
|
17542
|
+
# Metadata related to the progress of the Export operation. This is returned by
|
17543
|
+
# the google.longrunning.Operation.metadata field.
|
17544
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
|
17545
|
+
include Google::Apis::Core::Hashable
|
17546
|
+
|
17547
|
+
# Operation create time.
|
17548
|
+
# Corresponds to the JSON property `createTime`
|
17549
|
+
# @return [String]
|
17550
|
+
attr_accessor :create_time
|
17551
|
+
|
17552
|
+
# Operation last update time. If the operation is done, this is also the finish
|
17553
|
+
# time.
|
17554
|
+
# Corresponds to the JSON property `updateTime`
|
17555
|
+
# @return [String]
|
17556
|
+
attr_accessor :update_time
|
17557
|
+
|
17558
|
+
def initialize(**args)
|
17559
|
+
update!(**args)
|
17560
|
+
end
|
17561
|
+
|
17562
|
+
# Update properties of this object
|
17563
|
+
def update!(**args)
|
17564
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
17565
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
17566
|
+
end
|
17567
|
+
end
|
17568
|
+
|
17569
|
+
# Response of the ExportMetricsRequest. If the long running operation was
|
17570
|
+
# successful, then this message is returned by the google.longrunning.Operations.
|
17571
|
+
# response field.
|
17572
|
+
class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
|
17573
|
+
include Google::Apis::Core::Hashable
|
17574
|
+
|
17575
|
+
def initialize(**args)
|
17576
|
+
update!(**args)
|
17577
|
+
end
|
17578
|
+
|
17579
|
+
# Update properties of this object
|
17580
|
+
def update!(**args)
|
17581
|
+
end
|
17582
|
+
end
|
17583
|
+
|
16835
17584
|
# Configurations for fields of a schema. For example, configuring a field is
|
16836
17585
|
# indexable, or searchable.
|
16837
17586
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
@@ -17648,9 +18397,12 @@ module Google
|
|
17648
18397
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
17649
18398
|
include Google::Apis::Core::Hashable
|
17650
18399
|
|
17651
|
-
# A
|
17652
|
-
# user_pseudo_id
|
17653
|
-
#
|
18400
|
+
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
18401
|
+
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
18402
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
|
18403
|
+
# user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
|
18404
|
+
# is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
|
18405
|
+
# `
|
17654
18406
|
# Corresponds to the JSON property `filter`
|
17655
18407
|
# @return [String]
|
17656
18408
|
attr_accessor :filter
|
@@ -19821,6 +20573,17 @@ module Google
|
|
19821
20573
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
19822
20574
|
include Google::Apis::Core::Hashable
|
19823
20575
|
|
20576
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
20577
|
+
# The default behavior depends on the request. For single datastore structured
|
20578
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
20579
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
20580
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
20581
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
20582
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
20583
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
20584
|
+
# @return [String]
|
20585
|
+
attr_accessor :extracted_filter_behavior
|
20586
|
+
|
19824
20587
|
# The condition under which filter extraction should occur. Server behavior
|
19825
20588
|
# defaults to `DISABLED`.
|
19826
20589
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -19842,6 +20605,7 @@ module Google
|
|
19842
20605
|
|
19843
20606
|
# Update properties of this object
|
19844
20607
|
def update!(**args)
|
20608
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
19845
20609
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
19846
20610
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
19847
20611
|
end
|
@@ -20994,14 +21758,14 @@ module Google
|
|
20994
21758
|
attr_accessor :is_default
|
20995
21759
|
alias_method :is_default?, :is_default
|
20996
21760
|
|
20997
|
-
# KMS key resource name which will be used to encrypt resources `
|
20998
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
21761
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
21762
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
20999
21763
|
# Corresponds to the JSON property `kmsKey`
|
21000
21764
|
# @return [String]
|
21001
21765
|
attr_accessor :kms_key
|
21002
21766
|
|
21003
|
-
# KMS key version resource name which will be used to encrypt
|
21004
|
-
# cryptoKeyVersions/`keyVersion``.
|
21767
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
21768
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
21005
21769
|
# Corresponds to the JSON property `kmsKeyVersion`
|
21006
21770
|
# @return [String]
|
21007
21771
|
attr_accessor :kms_key_version
|
@@ -25178,6 +25942,17 @@ module Google
|
|
25178
25942
|
class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
|
25179
25943
|
include Google::Apis::Core::Hashable
|
25180
25944
|
|
25945
|
+
# Optional. Controls behavior of how extracted filters are applied to the search.
|
25946
|
+
# The default behavior depends on the request. For single datastore structured
|
25947
|
+
# search, the default is `HARD_FILTER`. For multi-datastore search, the default
|
25948
|
+
# behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
|
25949
|
+
# filters, and the `SOFT_BOOST` setting will not affect them. This field is only
|
25950
|
+
# used if SearchRequest.natural_language_query_understanding_spec.
|
25951
|
+
# filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
|
25952
|
+
# Corresponds to the JSON property `extractedFilterBehavior`
|
25953
|
+
# @return [String]
|
25954
|
+
attr_accessor :extracted_filter_behavior
|
25955
|
+
|
25181
25956
|
# The condition under which filter extraction should occur. Server behavior
|
25182
25957
|
# defaults to `DISABLED`.
|
25183
25958
|
# Corresponds to the JSON property `filterExtractionCondition`
|
@@ -25199,6 +25974,7 @@ module Google
|
|
25199
25974
|
|
25200
25975
|
# Update properties of this object
|
25201
25976
|
def update!(**args)
|
25977
|
+
@extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
|
25202
25978
|
@filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
|
25203
25979
|
@geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
|
25204
25980
|
end
|