google-apis-discoveryengine_v1beta 0.72.0 → 0.74.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 +760 -43
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +361 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +41 -3
- data/lib/google/apis/discoveryengine_v1beta.rb +3 -0
- metadata +2 -2
@@ -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.74.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1090,6 +1090,12 @@ module Google
|
|
1090
1090
|
include Google::Apis::Core::JsonObjectSupport
|
1091
1091
|
end
|
1092
1092
|
|
1093
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
|
+
|
1096
|
+
include Google::Apis::Core::JsonObjectSupport
|
1097
|
+
end
|
1098
|
+
|
1093
1099
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
1094
1100
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
1101
|
|
@@ -2350,6 +2356,84 @@ module Google
|
|
2350
2356
|
include Google::Apis::Core::JsonObjectSupport
|
2351
2357
|
end
|
2352
2358
|
|
2359
|
+
class GoogleCloudDiscoveryengineV1betaAssistAnswer
|
2360
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2361
|
+
|
2362
|
+
include Google::Apis::Core::JsonObjectSupport
|
2363
|
+
end
|
2364
|
+
|
2365
|
+
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
2366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2367
|
+
|
2368
|
+
include Google::Apis::Core::JsonObjectSupport
|
2369
|
+
end
|
2370
|
+
|
2371
|
+
class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
|
2372
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2373
|
+
|
2374
|
+
include Google::Apis::Core::JsonObjectSupport
|
2375
|
+
end
|
2376
|
+
|
2377
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContent
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
|
+
|
2380
|
+
include Google::Apis::Core::JsonObjectSupport
|
2381
|
+
end
|
2382
|
+
|
2383
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
|
2384
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2385
|
+
|
2386
|
+
include Google::Apis::Core::JsonObjectSupport
|
2387
|
+
end
|
2388
|
+
|
2389
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
|
2390
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2391
|
+
|
2392
|
+
include Google::Apis::Core::JsonObjectSupport
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
|
2396
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2397
|
+
|
2398
|
+
include Google::Apis::Core::JsonObjectSupport
|
2399
|
+
end
|
2400
|
+
|
2401
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentFile
|
2402
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2403
|
+
|
2404
|
+
include Google::Apis::Core::JsonObjectSupport
|
2405
|
+
end
|
2406
|
+
|
2407
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
|
2408
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2409
|
+
|
2410
|
+
include Google::Apis::Core::JsonObjectSupport
|
2411
|
+
end
|
2412
|
+
|
2413
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
|
2414
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2415
|
+
|
2416
|
+
include Google::Apis::Core::JsonObjectSupport
|
2417
|
+
end
|
2418
|
+
|
2419
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2421
|
+
|
2422
|
+
include Google::Apis::Core::JsonObjectSupport
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
2426
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2427
|
+
|
2428
|
+
include Google::Apis::Core::JsonObjectSupport
|
2429
|
+
end
|
2430
|
+
|
2431
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
|
2432
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
|
+
|
2434
|
+
include Google::Apis::Core::JsonObjectSupport
|
2435
|
+
end
|
2436
|
+
|
2353
2437
|
class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
|
2354
2438
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2355
2439
|
|
@@ -4030,6 +4114,60 @@ module Google
|
|
4030
4114
|
include Google::Apis::Core::JsonObjectSupport
|
4031
4115
|
end
|
4032
4116
|
|
4117
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
|
4118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4119
|
+
|
4120
|
+
include Google::Apis::Core::JsonObjectSupport
|
4121
|
+
end
|
4122
|
+
|
4123
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|
4124
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4125
|
+
|
4126
|
+
include Google::Apis::Core::JsonObjectSupport
|
4127
|
+
end
|
4128
|
+
|
4129
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
|
4130
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4131
|
+
|
4132
|
+
include Google::Apis::Core::JsonObjectSupport
|
4133
|
+
end
|
4134
|
+
|
4135
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
|
4136
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4137
|
+
|
4138
|
+
include Google::Apis::Core::JsonObjectSupport
|
4139
|
+
end
|
4140
|
+
|
4141
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
|
4142
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4143
|
+
|
4144
|
+
include Google::Apis::Core::JsonObjectSupport
|
4145
|
+
end
|
4146
|
+
|
4147
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
|
4148
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4149
|
+
|
4150
|
+
include Google::Apis::Core::JsonObjectSupport
|
4151
|
+
end
|
4152
|
+
|
4153
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
|
4154
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4155
|
+
|
4156
|
+
include Google::Apis::Core::JsonObjectSupport
|
4157
|
+
end
|
4158
|
+
|
4159
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
|
4160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4161
|
+
|
4162
|
+
include Google::Apis::Core::JsonObjectSupport
|
4163
|
+
end
|
4164
|
+
|
4165
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
|
4166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4167
|
+
|
4168
|
+
include Google::Apis::Core::JsonObjectSupport
|
4169
|
+
end
|
4170
|
+
|
4033
4171
|
class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
|
4034
4172
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4035
4173
|
|
@@ -4798,6 +4936,7 @@ module Google
|
|
4798
4936
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
4799
4937
|
# @private
|
4800
4938
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4939
|
+
property :enable_get_processed_document, as: 'enableGetProcessedDocument'
|
4801
4940
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
4802
4941
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
4803
4942
|
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
@@ -6025,10 +6164,21 @@ module Google
|
|
6025
6164
|
# @private
|
6026
6165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6027
6166
|
property :realtime_sync_secret, as: 'realtimeSyncSecret'
|
6167
|
+
property :streaming_error, as: 'streamingError', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError::Representation
|
6168
|
+
|
6028
6169
|
property :webhook_uri, as: 'webhookUri'
|
6029
6170
|
end
|
6030
6171
|
end
|
6031
6172
|
|
6173
|
+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfigStreamingError
|
6174
|
+
# @private
|
6175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6176
|
+
property :error, as: 'error', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
6177
|
+
|
6178
|
+
property :streaming_error_reason, as: 'streamingErrorReason'
|
6179
|
+
end
|
6180
|
+
end
|
6181
|
+
|
6032
6182
|
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
|
6033
6183
|
# @private
|
6034
6184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6268,6 +6418,7 @@ module Google
|
|
6268
6418
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
6269
6419
|
# @private
|
6270
6420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6421
|
+
property :enable_get_processed_document, as: 'enableGetProcessedDocument'
|
6271
6422
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
6272
6423
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
6273
6424
|
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
@@ -8153,6 +8304,131 @@ module Google
|
|
8153
8304
|
end
|
8154
8305
|
end
|
8155
8306
|
|
8307
|
+
class GoogleCloudDiscoveryengineV1betaAssistAnswer
|
8308
|
+
# @private
|
8309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8310
|
+
collection :assist_skipped_reasons, as: 'assistSkippedReasons'
|
8311
|
+
collection :replies, as: 'replies', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply::Representation
|
8312
|
+
|
8313
|
+
property :state, as: 'state'
|
8314
|
+
end
|
8315
|
+
end
|
8316
|
+
|
8317
|
+
class GoogleCloudDiscoveryengineV1betaAssistAnswerReply
|
8318
|
+
# @private
|
8319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8320
|
+
property :grounded_content, as: 'groundedContent', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContent::Representation
|
8321
|
+
|
8322
|
+
end
|
8323
|
+
end
|
8324
|
+
|
8325
|
+
class GoogleCloudDiscoveryengineV1betaAssistUserMetadata
|
8326
|
+
# @private
|
8327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8328
|
+
property :preferred_language_code, as: 'preferredLanguageCode'
|
8329
|
+
property :time_zone, as: 'timeZone'
|
8330
|
+
end
|
8331
|
+
end
|
8332
|
+
|
8333
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContent
|
8334
|
+
# @private
|
8335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8336
|
+
property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult::Representation
|
8337
|
+
|
8338
|
+
property :executable_code, as: 'executableCode', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode::Representation
|
8339
|
+
|
8340
|
+
property :file, as: 'file', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentFile::Representation
|
8341
|
+
|
8342
|
+
property :inline_data, as: 'inlineData', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentBlob::Representation
|
8343
|
+
|
8344
|
+
property :role, as: 'role'
|
8345
|
+
property :text, as: 'text'
|
8346
|
+
property :thought, as: 'thought'
|
8347
|
+
end
|
8348
|
+
end
|
8349
|
+
|
8350
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentBlob
|
8351
|
+
# @private
|
8352
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8353
|
+
property :data, :base64 => true, as: 'data'
|
8354
|
+
property :mime_type, as: 'mimeType'
|
8355
|
+
end
|
8356
|
+
end
|
8357
|
+
|
8358
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
|
8359
|
+
# @private
|
8360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8361
|
+
property :outcome, as: 'outcome'
|
8362
|
+
property :output, as: 'output'
|
8363
|
+
end
|
8364
|
+
end
|
8365
|
+
|
8366
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentExecutableCode
|
8367
|
+
# @private
|
8368
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8369
|
+
property :code, as: 'code'
|
8370
|
+
end
|
8371
|
+
end
|
8372
|
+
|
8373
|
+
class GoogleCloudDiscoveryengineV1betaAssistantContentFile
|
8374
|
+
# @private
|
8375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8376
|
+
property :file_id, as: 'fileId'
|
8377
|
+
property :mime_type, as: 'mimeType'
|
8378
|
+
end
|
8379
|
+
end
|
8380
|
+
|
8381
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContent
|
8382
|
+
# @private
|
8383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8384
|
+
property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContent::Representation
|
8385
|
+
|
8386
|
+
property :text_grounding_metadata, as: 'textGroundingMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata::Representation
|
8387
|
+
|
8388
|
+
end
|
8389
|
+
end
|
8390
|
+
|
8391
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadata
|
8392
|
+
# @private
|
8393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8394
|
+
collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference::Representation
|
8395
|
+
|
8396
|
+
collection :segments, as: 'segments', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment::Representation
|
8397
|
+
|
8398
|
+
end
|
8399
|
+
end
|
8400
|
+
|
8401
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
|
8402
|
+
# @private
|
8403
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8404
|
+
property :content, as: 'content'
|
8405
|
+
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
|
8406
|
+
|
8407
|
+
end
|
8408
|
+
end
|
8409
|
+
|
8410
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata
|
8411
|
+
# @private
|
8412
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8413
|
+
property :document, as: 'document'
|
8414
|
+
property :domain, as: 'domain'
|
8415
|
+
property :page_identifier, as: 'pageIdentifier'
|
8416
|
+
property :title, as: 'title'
|
8417
|
+
property :uri, as: 'uri'
|
8418
|
+
end
|
8419
|
+
end
|
8420
|
+
|
8421
|
+
class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataSegment
|
8422
|
+
# @private
|
8423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8424
|
+
property :end_index, :numeric_string => true, as: 'endIndex'
|
8425
|
+
property :grounding_score, as: 'groundingScore'
|
8426
|
+
collection :reference_indices, as: 'referenceIndices'
|
8427
|
+
property :start_index, :numeric_string => true, as: 'startIndex'
|
8428
|
+
property :text, as: 'text'
|
8429
|
+
end
|
8430
|
+
end
|
8431
|
+
|
8156
8432
|
class GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata
|
8157
8433
|
# @private
|
8158
8434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9001,6 +9277,7 @@ module Google
|
|
9001
9277
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
9002
9278
|
# @private
|
9003
9279
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9280
|
+
property :enable_get_processed_document, as: 'enableGetProcessedDocument'
|
9004
9281
|
property :enable_image_annotation, as: 'enableImageAnnotation'
|
9005
9282
|
property :enable_table_annotation, as: 'enableTableAnnotation'
|
9006
9283
|
collection :exclude_html_classes, as: 'excludeHtmlClasses'
|
@@ -10968,6 +11245,90 @@ module Google
|
|
10968
11245
|
end
|
10969
11246
|
end
|
10970
11247
|
|
11248
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
|
11249
|
+
# @private
|
11250
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11251
|
+
property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec::Representation
|
11252
|
+
|
11253
|
+
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation
|
11254
|
+
|
11255
|
+
property :session, as: 'session'
|
11256
|
+
property :tools_spec, as: 'toolsSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec::Representation
|
11257
|
+
|
11258
|
+
property :user_metadata, as: 'userMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistUserMetadata::Representation
|
11259
|
+
|
11260
|
+
end
|
11261
|
+
end
|
11262
|
+
|
11263
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
|
11264
|
+
# @private
|
11265
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11266
|
+
property :model_id, as: 'modelId'
|
11267
|
+
end
|
11268
|
+
end
|
11269
|
+
|
11270
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
|
11271
|
+
# @private
|
11272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11273
|
+
property :image_generation_spec, as: 'imageGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec::Representation
|
11274
|
+
|
11275
|
+
property :tool_registry, as: 'toolRegistry'
|
11276
|
+
property :vertex_ai_search_spec, as: 'vertexAiSearchSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec::Representation
|
11277
|
+
|
11278
|
+
property :video_generation_spec, as: 'videoGenerationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec::Representation
|
11279
|
+
|
11280
|
+
property :web_grounding_spec, as: 'webGroundingSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec::Representation
|
11281
|
+
|
11282
|
+
end
|
11283
|
+
end
|
11284
|
+
|
11285
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec
|
11286
|
+
# @private
|
11287
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11288
|
+
end
|
11289
|
+
end
|
11290
|
+
|
11291
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec
|
11292
|
+
# @private
|
11293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11294
|
+
collection :data_store_specs, as: 'dataStoreSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec::Representation
|
11295
|
+
|
11296
|
+
property :disabled, as: 'disabled'
|
11297
|
+
property :filter, as: 'filter'
|
11298
|
+
end
|
11299
|
+
end
|
11300
|
+
|
11301
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVideoGenerationSpec
|
11302
|
+
# @private
|
11303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11304
|
+
end
|
11305
|
+
end
|
11306
|
+
|
11307
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
|
11308
|
+
# @private
|
11309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11310
|
+
property :enabled, as: 'enabled'
|
11311
|
+
end
|
11312
|
+
end
|
11313
|
+
|
11314
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistResponse
|
11315
|
+
# @private
|
11316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11317
|
+
property :answer, as: 'answer', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswer::Representation
|
11318
|
+
|
11319
|
+
property :assist_token, as: 'assistToken'
|
11320
|
+
property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo::Representation
|
11321
|
+
|
11322
|
+
end
|
11323
|
+
end
|
11324
|
+
|
11325
|
+
class GoogleCloudDiscoveryengineV1betaStreamAssistResponseSessionInfo
|
11326
|
+
# @private
|
11327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11328
|
+
property :session, as: 'session'
|
11329
|
+
end
|
11330
|
+
end
|
11331
|
+
|
10971
11332
|
class GoogleCloudDiscoveryengineV1betaSuggestionDenyListEntry
|
10972
11333
|
# @private
|
10973
11334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2648,7 +2648,8 @@ module Google
|
|
2648
2648
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
2649
2649
|
# @param [String] filter
|
2650
2650
|
# A filter to apply on the list results. The supported features are:
|
2651
|
-
# user_pseudo_id, state.
|
2651
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
2652
|
+
# true"
|
2652
2653
|
# @param [String] order_by
|
2653
2654
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
2654
2655
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -3944,6 +3945,41 @@ module Google
|
|
3944
3945
|
execute_or_queue_command(command, &block)
|
3945
3946
|
end
|
3946
3947
|
|
3948
|
+
# Assists the user with a query in a streaming fashion.
|
3949
|
+
# @param [String] name
|
3950
|
+
# Required. The resource name of the Assistant. Format: `projects/`project`/
|
3951
|
+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
|
3952
|
+
# assistant``
|
3953
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest] google_cloud_discoveryengine_v1beta_stream_assist_request_object
|
3954
|
+
# @param [String] fields
|
3955
|
+
# Selector specifying which fields to include in a partial response.
|
3956
|
+
# @param [String] quota_user
|
3957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3959
|
+
# @param [Google::Apis::RequestOptions] options
|
3960
|
+
# Request-specific options
|
3961
|
+
#
|
3962
|
+
# @yield [result, err] Result & error if block supplied
|
3963
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse] parsed result object
|
3964
|
+
# @yieldparam err [StandardError] error object if request failed
|
3965
|
+
#
|
3966
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse]
|
3967
|
+
#
|
3968
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3969
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3970
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3971
|
+
def stream_project_location_collection_engine_assistant_assist(name, google_cloud_discoveryengine_v1beta_stream_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3972
|
+
command = make_simple_command(:post, 'v1beta/{+name}:streamAssist', options)
|
3973
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequest::Representation
|
3974
|
+
command.request_object = google_cloud_discoveryengine_v1beta_stream_assist_request_object
|
3975
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse::Representation
|
3976
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistResponse
|
3977
|
+
command.params['name'] = name unless name.nil?
|
3978
|
+
command.query['fields'] = fields unless fields.nil?
|
3979
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3980
|
+
execute_or_queue_command(command, &block)
|
3981
|
+
end
|
3982
|
+
|
3947
3983
|
# Completes the user input with advanced keyword suggestions.
|
3948
3984
|
# @param [String] completion_config
|
3949
3985
|
# Required. The completion_config of the parent dataStore or engine resource
|
@@ -4934,7 +4970,8 @@ module Google
|
|
4934
4970
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
4935
4971
|
# @param [String] filter
|
4936
4972
|
# A filter to apply on the list results. The supported features are:
|
4937
|
-
# user_pseudo_id, state.
|
4973
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
4974
|
+
# true"
|
4938
4975
|
# @param [String] order_by
|
4939
4976
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
4940
4977
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -7146,7 +7183,8 @@ module Google
|
|
7146
7183
|
# location`/collections/`collection`/dataStores/`data_store_id``
|
7147
7184
|
# @param [String] filter
|
7148
7185
|
# A filter to apply on the list results. The supported features are:
|
7149
|
-
# user_pseudo_id, state.
|
7186
|
+
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
|
7187
|
+
# true"
|
7150
7188
|
# @param [String] order_by
|
7151
7189
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
7152
7190
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
|
32
32
|
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
|
+
|
35
|
+
# Search your organization's data in the Cloud Search index
|
36
|
+
AUTH_CLOUD_SEARCH_QUERY = 'https://www.googleapis.com/auth/cloud_search.query'
|
34
37
|
end
|
35
38
|
end
|
36
39
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.74.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|