google-apis-discoveryengine_v1beta 0.29.0 → 0.30.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca4996aa7b870ac4084f6cbdd17150b0c4b63453ad3b985649ea5e7507eb52e9
|
4
|
+
data.tar.gz: cbdd5499c6079ed6f0215c3d30882fdbc3752080e32cb40581ab613370b7769b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e78cda438a029b6cc8c61fa6adf13589246bdc63856ec812371b171b1e89a8e2c7b0a7b768823705d360d11ca576175911c7f433511cc038a30adc932ff46df1
|
7
|
+
data.tar.gz: 43cd2f752b88a01254df8d4a9c4f8dad7b718bbaaaf429c80133e123ef3fe5d8800a41b29de7239424f6d9cb0120c62d21b1833258001e0632672aef203b210f
|
data/CHANGELOG.md
CHANGED
@@ -1420,6 +1420,53 @@ module Google
|
|
1420
1420
|
end
|
1421
1421
|
end
|
1422
1422
|
|
1423
|
+
# Metadata related to the progress of the EstimateDataSize operation. This is
|
1424
|
+
# returned by the google.longrunning.Operation.metadata field.
|
1425
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata
|
1426
|
+
include Google::Apis::Core::Hashable
|
1427
|
+
|
1428
|
+
# Operation create time.
|
1429
|
+
# Corresponds to the JSON property `createTime`
|
1430
|
+
# @return [String]
|
1431
|
+
attr_accessor :create_time
|
1432
|
+
|
1433
|
+
def initialize(**args)
|
1434
|
+
update!(**args)
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
# Update properties of this object
|
1438
|
+
def update!(**args)
|
1439
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
# Response of the EstimateDataSize request. If the long running operation was
|
1444
|
+
# successful, then this message is returned by the google.longrunning.Operations.
|
1445
|
+
# response field if the operation was successful.
|
1446
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse
|
1447
|
+
include Google::Apis::Core::Hashable
|
1448
|
+
|
1449
|
+
# Data size in terms of bytes.
|
1450
|
+
# Corresponds to the JSON property `dataSizeBytes`
|
1451
|
+
# @return [Fixnum]
|
1452
|
+
attr_accessor :data_size_bytes
|
1453
|
+
|
1454
|
+
# Total number of documents.
|
1455
|
+
# Corresponds to the JSON property `documentCount`
|
1456
|
+
# @return [Fixnum]
|
1457
|
+
attr_accessor :document_count
|
1458
|
+
|
1459
|
+
def initialize(**args)
|
1460
|
+
update!(**args)
|
1461
|
+
end
|
1462
|
+
|
1463
|
+
# Update properties of this object
|
1464
|
+
def update!(**args)
|
1465
|
+
@data_size_bytes = args[:data_size_bytes] if args.key?(:data_size_bytes)
|
1466
|
+
@document_count = args[:document_count] if args.key?(:document_count)
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1423
1470
|
# Configurations for fields of a schema. For example, configuring a field is
|
1424
1471
|
# indexable, or searchable.
|
1425
1472
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
@@ -2143,6 +2190,68 @@ module Google
|
|
2143
2190
|
end
|
2144
2191
|
end
|
2145
2192
|
|
2193
|
+
# Metadata related to the progress of the TrainCustomModel operation. This is
|
2194
|
+
# returned by the google.longrunning.Operation.metadata field.
|
2195
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
2196
|
+
include Google::Apis::Core::Hashable
|
2197
|
+
|
2198
|
+
# Operation create time.
|
2199
|
+
# Corresponds to the JSON property `createTime`
|
2200
|
+
# @return [String]
|
2201
|
+
attr_accessor :create_time
|
2202
|
+
|
2203
|
+
# Operation last update time. If the operation is done, this is also the finish
|
2204
|
+
# time.
|
2205
|
+
# Corresponds to the JSON property `updateTime`
|
2206
|
+
# @return [String]
|
2207
|
+
attr_accessor :update_time
|
2208
|
+
|
2209
|
+
def initialize(**args)
|
2210
|
+
update!(**args)
|
2211
|
+
end
|
2212
|
+
|
2213
|
+
# Update properties of this object
|
2214
|
+
def update!(**args)
|
2215
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
2216
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
2217
|
+
end
|
2218
|
+
end
|
2219
|
+
|
2220
|
+
# Response of the TrainCustomModelRequest. This message is returned by the
|
2221
|
+
# google.longrunning.Operations.response field.
|
2222
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse
|
2223
|
+
include Google::Apis::Core::Hashable
|
2224
|
+
|
2225
|
+
# Configuration of destination for Import related errors.
|
2226
|
+
# Corresponds to the JSON property `errorConfig`
|
2227
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig]
|
2228
|
+
attr_accessor :error_config
|
2229
|
+
|
2230
|
+
# A sample of errors encountered while processing the data.
|
2231
|
+
# Corresponds to the JSON property `errorSamples`
|
2232
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
|
2233
|
+
attr_accessor :error_samples
|
2234
|
+
|
2235
|
+
# The trained model status. Possible values are: * **bad-data**: The training
|
2236
|
+
# data quality is bad. * **no-improvement**: Tuning didn't improve performance.
|
2237
|
+
# Won't deploy. * **in-progress**: Model training is in progress. * **ready**:
|
2238
|
+
# The model is ready for serving.
|
2239
|
+
# Corresponds to the JSON property `modelStatus`
|
2240
|
+
# @return [String]
|
2241
|
+
attr_accessor :model_status
|
2242
|
+
|
2243
|
+
def initialize(**args)
|
2244
|
+
update!(**args)
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
# Update properties of this object
|
2248
|
+
def update!(**args)
|
2249
|
+
@error_config = args[:error_config] if args.key?(:error_config)
|
2250
|
+
@error_samples = args[:error_samples] if args.key?(:error_samples)
|
2251
|
+
@model_status = args[:model_status] if args.key?(:model_status)
|
2252
|
+
end
|
2253
|
+
end
|
2254
|
+
|
2146
2255
|
# Metadata associated with a tune operation.
|
2147
2256
|
class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
|
2148
2257
|
include Google::Apis::Core::Hashable
|
@@ -2500,6 +2609,22 @@ module Google
|
|
2500
2609
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation]
|
2501
2610
|
attr_accessor :conversation
|
2502
2611
|
|
2612
|
+
# The filter syntax consists of an expression language for constructing a
|
2613
|
+
# predicate from one or more fields of the documents being filtered. Filter
|
2614
|
+
# expression is case-sensitive. This will be used to filter search results which
|
2615
|
+
# may affect the summary response. If this field is unrecognizable, an `
|
2616
|
+
# INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by
|
2617
|
+
# mapping the LHS filter key to a key property defined in the Vertex AI Search
|
2618
|
+
# backend -- this mapping is defined by the customer in their schema. For
|
2619
|
+
# example a media customer might have a field 'name' in their schema. In this
|
2620
|
+
# case the filter would look like this: filter --> name:'ANY("king kong")' For
|
2621
|
+
# more information about filtering including syntax and filter operators, see [
|
2622
|
+
# Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
|
2623
|
+
# metadata)
|
2624
|
+
# Corresponds to the JSON property `filter`
|
2625
|
+
# @return [String]
|
2626
|
+
attr_accessor :filter
|
2627
|
+
|
2503
2628
|
# Defines text input.
|
2504
2629
|
# Corresponds to the JSON property `query`
|
2505
2630
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput]
|
@@ -2546,6 +2671,7 @@ module Google
|
|
2546
2671
|
# Update properties of this object
|
2547
2672
|
def update!(**args)
|
2548
2673
|
@conversation = args[:conversation] if args.key?(:conversation)
|
2674
|
+
@filter = args[:filter] if args.key?(:filter)
|
2549
2675
|
@query = args[:query] if args.key?(:query)
|
2550
2676
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
2551
2677
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
@@ -4309,6 +4435,11 @@ module Google
|
|
4309
4435
|
# @return [String]
|
4310
4436
|
attr_accessor :language_code
|
4311
4437
|
|
4438
|
+
# Specification of the prompt to use with the model.
|
4439
|
+
# Corresponds to the JSON property `modelPromptSpec`
|
4440
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec]
|
4441
|
+
attr_accessor :model_prompt_spec
|
4442
|
+
|
4312
4443
|
# Specification of the model.
|
4313
4444
|
# Corresponds to the JSON property `modelSpec`
|
4314
4445
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec]
|
@@ -4332,16 +4463,37 @@ module Google
|
|
4332
4463
|
@ignore_non_summary_seeking_query = args[:ignore_non_summary_seeking_query] if args.key?(:ignore_non_summary_seeking_query)
|
4333
4464
|
@include_citations = args[:include_citations] if args.key?(:include_citations)
|
4334
4465
|
@language_code = args[:language_code] if args.key?(:language_code)
|
4466
|
+
@model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
|
4335
4467
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
4336
4468
|
@summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
|
4337
4469
|
end
|
4338
4470
|
end
|
4339
4471
|
|
4472
|
+
# Specification of the prompt to use with the model.
|
4473
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
|
4474
|
+
include Google::Apis::Core::Hashable
|
4475
|
+
|
4476
|
+
# Text at the beginning of the prompt that instructs the assistant. Examples are
|
4477
|
+
# available in the user guide.
|
4478
|
+
# Corresponds to the JSON property `preamble`
|
4479
|
+
# @return [String]
|
4480
|
+
attr_accessor :preamble
|
4481
|
+
|
4482
|
+
def initialize(**args)
|
4483
|
+
update!(**args)
|
4484
|
+
end
|
4485
|
+
|
4486
|
+
# Update properties of this object
|
4487
|
+
def update!(**args)
|
4488
|
+
@preamble = args[:preamble] if args.key?(:preamble)
|
4489
|
+
end
|
4490
|
+
end
|
4491
|
+
|
4340
4492
|
# Specification of the model.
|
4341
4493
|
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
|
4342
4494
|
include Google::Apis::Core::Hashable
|
4343
4495
|
|
4344
|
-
# The string format of the model version. e.g. stable,
|
4496
|
+
# The string format of the model version. e.g. stable, preview, etc.
|
4345
4497
|
# Corresponds to the JSON property `version`
|
4346
4498
|
# @return [String]
|
4347
4499
|
attr_accessor :version
|
@@ -4933,6 +5085,11 @@ module Google
|
|
4933
5085
|
# @return [String]
|
4934
5086
|
attr_accessor :summary_text
|
4935
5087
|
|
5088
|
+
# Summary with metadata information.
|
5089
|
+
# Corresponds to the JSON property `summaryWithMetadata`
|
5090
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata]
|
5091
|
+
attr_accessor :summary_with_metadata
|
5092
|
+
|
4936
5093
|
def initialize(**args)
|
4937
5094
|
update!(**args)
|
4938
5095
|
end
|
@@ -4942,6 +5099,110 @@ module Google
|
|
4942
5099
|
@safety_attributes = args[:safety_attributes] if args.key?(:safety_attributes)
|
4943
5100
|
@summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons)
|
4944
5101
|
@summary_text = args[:summary_text] if args.key?(:summary_text)
|
5102
|
+
@summary_with_metadata = args[:summary_with_metadata] if args.key?(:summary_with_metadata)
|
5103
|
+
end
|
5104
|
+
end
|
5105
|
+
|
5106
|
+
# Citation info for a segment.
|
5107
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
|
5108
|
+
include Google::Apis::Core::Hashable
|
5109
|
+
|
5110
|
+
# End of the attributed segment, exclusive.
|
5111
|
+
# Corresponds to the JSON property `endIndex`
|
5112
|
+
# @return [Fixnum]
|
5113
|
+
attr_accessor :end_index
|
5114
|
+
|
5115
|
+
# Citation sources for the attributed segment.
|
5116
|
+
# Corresponds to the JSON property `sources`
|
5117
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource>]
|
5118
|
+
attr_accessor :sources
|
5119
|
+
|
5120
|
+
# Index indicates the start of the segment, measured in bytes/unicode.
|
5121
|
+
# Corresponds to the JSON property `startIndex`
|
5122
|
+
# @return [Fixnum]
|
5123
|
+
attr_accessor :start_index
|
5124
|
+
|
5125
|
+
def initialize(**args)
|
5126
|
+
update!(**args)
|
5127
|
+
end
|
5128
|
+
|
5129
|
+
# Update properties of this object
|
5130
|
+
def update!(**args)
|
5131
|
+
@end_index = args[:end_index] if args.key?(:end_index)
|
5132
|
+
@sources = args[:sources] if args.key?(:sources)
|
5133
|
+
@start_index = args[:start_index] if args.key?(:start_index)
|
5134
|
+
end
|
5135
|
+
end
|
5136
|
+
|
5137
|
+
# Citation metadata.
|
5138
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata
|
5139
|
+
include Google::Apis::Core::Hashable
|
5140
|
+
|
5141
|
+
# Citations for segments.
|
5142
|
+
# Corresponds to the JSON property `citations`
|
5143
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation>]
|
5144
|
+
attr_accessor :citations
|
5145
|
+
|
5146
|
+
def initialize(**args)
|
5147
|
+
update!(**args)
|
5148
|
+
end
|
5149
|
+
|
5150
|
+
# Update properties of this object
|
5151
|
+
def update!(**args)
|
5152
|
+
@citations = args[:citations] if args.key?(:citations)
|
5153
|
+
end
|
5154
|
+
end
|
5155
|
+
|
5156
|
+
# Citation source.
|
5157
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
|
5158
|
+
include Google::Apis::Core::Hashable
|
5159
|
+
|
5160
|
+
# Document reference index from SummaryWithMetadata.references. It is 0-indexed
|
5161
|
+
# and the value will be zero if the reference_index is not set explicitly.
|
5162
|
+
# Corresponds to the JSON property `referenceIndex`
|
5163
|
+
# @return [Fixnum]
|
5164
|
+
attr_accessor :reference_index
|
5165
|
+
|
5166
|
+
def initialize(**args)
|
5167
|
+
update!(**args)
|
5168
|
+
end
|
5169
|
+
|
5170
|
+
# Update properties of this object
|
5171
|
+
def update!(**args)
|
5172
|
+
@reference_index = args[:reference_index] if args.key?(:reference_index)
|
5173
|
+
end
|
5174
|
+
end
|
5175
|
+
|
5176
|
+
# Document reference.
|
5177
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
|
5178
|
+
include Google::Apis::Core::Hashable
|
5179
|
+
|
5180
|
+
# Required. Document.name of the document. Full resource name of the referenced
|
5181
|
+
# document, in the format `projects/*/locations/*/collections/*/dataStores/*/
|
5182
|
+
# branches/*/documents/*`.
|
5183
|
+
# Corresponds to the JSON property `document`
|
5184
|
+
# @return [String]
|
5185
|
+
attr_accessor :document
|
5186
|
+
|
5187
|
+
# Title of the document.
|
5188
|
+
# Corresponds to the JSON property `title`
|
5189
|
+
# @return [String]
|
5190
|
+
attr_accessor :title
|
5191
|
+
|
5192
|
+
# GCS or HTTP uri for the document.
|
5193
|
+
# Corresponds to the JSON property `uri`
|
5194
|
+
# @return [String]
|
5195
|
+
attr_accessor :uri
|
5196
|
+
|
5197
|
+
def initialize(**args)
|
5198
|
+
update!(**args)
|
5199
|
+
end
|
5200
|
+
|
5201
|
+
# Update properties of this object
|
5202
|
+
def update!(**args)
|
5203
|
+
@document = args[:document] if args.key?(:document)
|
5204
|
+
@title = args[:title] if args.key?(:title)
|
5205
|
+
@uri = args[:uri] if args.key?(:uri)
|
4945
5206
|
end
|
4946
5207
|
end
|
4947
5208
|
|
@@ -4972,6 +5233,37 @@ module Google
|
|
4972
5233
|
end
|
4973
5234
|
end
|
4974
5235
|
|
5236
|
+
# Summary with metadata information.
|
5237
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
|
5238
|
+
include Google::Apis::Core::Hashable
|
5239
|
+
|
5240
|
+
# Citation metadata.
|
5241
|
+
# Corresponds to the JSON property `citationMetadata`
|
5242
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata]
|
5243
|
+
attr_accessor :citation_metadata
|
5244
|
+
|
5245
|
+
# Document References.
|
5246
|
+
# Corresponds to the JSON property `references`
|
5247
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference>]
|
5248
|
+
attr_accessor :references
|
5249
|
+
|
5250
|
+
# Summary text with no citation information.
|
5251
|
+
# Corresponds to the JSON property `summary`
|
5252
|
+
# @return [String]
|
5253
|
+
attr_accessor :summary
|
5254
|
+
|
5255
|
+
def initialize(**args)
|
5256
|
+
update!(**args)
|
5257
|
+
end
|
5258
|
+
|
5259
|
+
# Update properties of this object
|
5260
|
+
def update!(**args)
|
5261
|
+
@citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
|
5262
|
+
@references = args[:references] if args.key?(:references)
|
5263
|
+
@summary = args[:summary] if args.key?(:summary)
|
5264
|
+
end
|
5265
|
+
end
|
5266
|
+
|
4975
5267
|
# Defines text input.
|
4976
5268
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
4977
5269
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.30.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231209"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -280,6 +280,18 @@ module Google
|
|
280
280
|
include Google::Apis::Core::JsonObjectSupport
|
281
281
|
end
|
282
282
|
|
283
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
289
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
283
295
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
284
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
297
|
|
@@ -394,6 +406,18 @@ module Google
|
|
394
406
|
include Google::Apis::Core::JsonObjectSupport
|
395
407
|
end
|
396
408
|
|
409
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
410
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
415
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
417
|
+
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
419
|
+
end
|
420
|
+
|
397
421
|
class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
|
398
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
423
|
|
@@ -718,6 +742,12 @@ module Google
|
|
718
742
|
include Google::Apis::Core::JsonObjectSupport
|
719
743
|
end
|
720
744
|
|
745
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
721
751
|
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
|
722
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
753
|
|
@@ -820,12 +850,42 @@ module Google
|
|
820
850
|
include Google::Apis::Core::JsonObjectSupport
|
821
851
|
end
|
822
852
|
|
853
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
|
+
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
857
|
+
end
|
858
|
+
|
859
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
871
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
823
877
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
824
878
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
879
|
|
826
880
|
include Google::Apis::Core::JsonObjectSupport
|
827
881
|
end
|
828
882
|
|
883
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
829
889
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
830
890
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
891
|
|
@@ -1277,6 +1337,21 @@ module Google
|
|
1277
1337
|
end
|
1278
1338
|
end
|
1279
1339
|
|
1340
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeMetadata
|
1341
|
+
# @private
|
1342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1343
|
+
property :create_time, as: 'createTime'
|
1344
|
+
end
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
class GoogleCloudDiscoveryengineV1alphaEstimateDataSizeResponse
|
1348
|
+
# @private
|
1349
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1350
|
+
property :data_size_bytes, :numeric_string => true, as: 'dataSizeBytes'
|
1351
|
+
property :document_count, :numeric_string => true, as: 'documentCount'
|
1352
|
+
end
|
1353
|
+
end
|
1354
|
+
|
1280
1355
|
class GoogleCloudDiscoveryengineV1alphaFieldConfig
|
1281
1356
|
# @private
|
1282
1357
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1465,6 +1540,25 @@ module Google
|
|
1465
1540
|
end
|
1466
1541
|
end
|
1467
1542
|
|
1543
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
|
1544
|
+
# @private
|
1545
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1546
|
+
property :create_time, as: 'createTime'
|
1547
|
+
property :update_time, as: 'updateTime'
|
1548
|
+
end
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelResponse
|
1552
|
+
# @private
|
1553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1554
|
+
property :error_config, as: 'errorConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaImportErrorConfig::Representation
|
1555
|
+
|
1556
|
+
collection :error_samples, as: 'errorSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
1557
|
+
|
1558
|
+
property :model_status, as: 'modelStatus'
|
1559
|
+
end
|
1560
|
+
end
|
1561
|
+
|
1468
1562
|
class GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata
|
1469
1563
|
# @private
|
1470
1564
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1569,6 +1663,7 @@ module Google
|
|
1569
1663
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1570
1664
|
property :conversation, as: 'conversation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaConversation::Representation
|
1571
1665
|
|
1666
|
+
property :filter, as: 'filter'
|
1572
1667
|
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaTextInput::Representation
|
1573
1668
|
|
1574
1669
|
property :safe_search, as: 'safeSearch'
|
@@ -2015,12 +2110,21 @@ module Google
|
|
2015
2110
|
property :ignore_non_summary_seeking_query, as: 'ignoreNonSummarySeekingQuery'
|
2016
2111
|
property :include_citations, as: 'includeCitations'
|
2017
2112
|
property :language_code, as: 'languageCode'
|
2113
|
+
property :model_prompt_spec, as: 'modelPromptSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec::Representation
|
2114
|
+
|
2018
2115
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
2019
2116
|
|
2020
2117
|
property :summary_result_count, as: 'summaryResultCount'
|
2021
2118
|
end
|
2022
2119
|
end
|
2023
2120
|
|
2121
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelPromptSpec
|
2122
|
+
# @private
|
2123
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2124
|
+
property :preamble, as: 'preamble'
|
2125
|
+
end
|
2126
|
+
end
|
2127
|
+
|
2024
2128
|
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec
|
2025
2129
|
# @private
|
2026
2130
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2186,6 +2290,42 @@ module Google
|
|
2186
2290
|
|
2187
2291
|
collection :summary_skipped_reasons, as: 'summarySkippedReasons'
|
2188
2292
|
property :summary_text, as: 'summaryText'
|
2293
|
+
property :summary_with_metadata, as: 'summaryWithMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata::Representation
|
2294
|
+
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation
|
2299
|
+
# @private
|
2300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2301
|
+
property :end_index, :numeric_string => true, as: 'endIndex'
|
2302
|
+
collection :sources, as: 'sources', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource::Representation
|
2303
|
+
|
2304
|
+
property :start_index, :numeric_string => true, as: 'startIndex'
|
2305
|
+
end
|
2306
|
+
end
|
2307
|
+
|
2308
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata
|
2309
|
+
# @private
|
2310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2311
|
+
collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitation::Representation
|
2312
|
+
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2316
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationSource
|
2317
|
+
# @private
|
2318
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2319
|
+
property :reference_index, :numeric_string => true, as: 'referenceIndex'
|
2320
|
+
end
|
2321
|
+
end
|
2322
|
+
|
2323
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference
|
2324
|
+
# @private
|
2325
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2326
|
+
property :document, as: 'document'
|
2327
|
+
property :title, as: 'title'
|
2328
|
+
property :uri, as: 'uri'
|
2189
2329
|
end
|
2190
2330
|
end
|
2191
2331
|
|
@@ -2197,6 +2337,17 @@ module Google
|
|
2197
2337
|
end
|
2198
2338
|
end
|
2199
2339
|
|
2340
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySummaryWithMetadata
|
2341
|
+
# @private
|
2342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2343
|
+
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryCitationMetadata::Representation
|
2344
|
+
|
2345
|
+
collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummaryReference::Representation
|
2346
|
+
|
2347
|
+
property :summary, as: 'summary'
|
2348
|
+
end
|
2349
|
+
end
|
2350
|
+
|
2200
2351
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
2201
2352
|
# @private
|
2202
2353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.30.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|