google-apis-discoveryengine_v1alpha 0.56.0 → 0.58.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_v1alpha/classes.rb +383 -57
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +124 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +31 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a8d367bb552397cca5da331b84144514f8ec0c36cc411ac08ff1a3146c3ff30
|
4
|
+
data.tar.gz: 14186c301bfde98e1262e19659c603ed4643b2282e9f3afaf5fd85fe26aa17b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4d1aa2d88bd7229699133133c824662acda08c5e8a265ff29f1876b527cd6222f8da1bfd60df66d160d9d0be6be3981b3f6627c22b12353fa9c4baf26283484
|
7
|
+
data.tar.gz: 10141a20b11535a39c1bc0f5071f5f2824a20a1329fff8b89d228533336b7022916ffe191fa8cb3a48e0b199f4afa21084f821097836bd075dfa76184e3e1fd1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1alpha
|
2
2
|
|
3
|
+
### v0.58.0 (2025-03-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250322
|
6
|
+
|
7
|
+
### v0.57.0 (2025-03-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250320
|
10
|
+
|
3
11
|
### v0.56.0 (2025-03-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250312
|
@@ -1722,6 +1722,11 @@ module Google
|
|
1722
1722
|
# @return [String]
|
1723
1723
|
attr_accessor :name
|
1724
1724
|
|
1725
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
1726
|
+
# Corresponds to the JSON property `notebooklmState`
|
1727
|
+
# @return [String]
|
1728
|
+
attr_accessor :notebooklm_state
|
1729
|
+
|
1725
1730
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
1726
1731
|
# Corresponds to the JSON property `singleRegionKeys`
|
1727
1732
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey>]
|
@@ -1743,6 +1748,7 @@ module Google
|
|
1743
1748
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
1744
1749
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
1745
1750
|
@name = args[:name] if args.key?(:name)
|
1751
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
1746
1752
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
1747
1753
|
@state = args[:state] if args.key?(:state)
|
1748
1754
|
end
|
@@ -2301,6 +2307,17 @@ module Google
|
|
2301
2307
|
class GoogleCloudDiscoveryengineV1DataStore
|
2302
2308
|
include Google::Apis::Core::Hashable
|
2303
2309
|
|
2310
|
+
# Immutable. Whether data in the DataStore has ACL information. If set to `true`,
|
2311
|
+
# the source data must have ACL. ACL will be ingested when data is ingested by
|
2312
|
+
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
2313
|
+
# Document can't be accessed by calling DocumentService.GetDocument or
|
2314
|
+
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
2315
|
+
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
2316
|
+
# Corresponds to the JSON property `aclEnabled`
|
2317
|
+
# @return [Boolean]
|
2318
|
+
attr_accessor :acl_enabled
|
2319
|
+
alias_method :acl_enabled?, :acl_enabled
|
2320
|
+
|
2304
2321
|
# Configuration data for advance site search.
|
2305
2322
|
# Corresponds to the JSON property `advancedSiteSearchConfig`
|
2306
2323
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig]
|
@@ -2415,6 +2432,7 @@ module Google
|
|
2415
2432
|
|
2416
2433
|
# Update properties of this object
|
2417
2434
|
def update!(**args)
|
2435
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
2418
2436
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
2419
2437
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
2420
2438
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
@@ -2883,12 +2901,28 @@ module Google
|
|
2883
2901
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
2884
2902
|
include Google::Apis::Core::Hashable
|
2885
2903
|
|
2904
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
2905
|
+
# parsing.
|
2906
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
2907
|
+
# @return [Boolean]
|
2908
|
+
attr_accessor :enable_image_annotation
|
2909
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
2910
|
+
|
2911
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
2912
|
+
# parsing.
|
2913
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
2914
|
+
# @return [Boolean]
|
2915
|
+
attr_accessor :enable_table_annotation
|
2916
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
2917
|
+
|
2886
2918
|
def initialize(**args)
|
2887
2919
|
update!(**args)
|
2888
2920
|
end
|
2889
2921
|
|
2890
2922
|
# Update properties of this object
|
2891
2923
|
def update!(**args)
|
2924
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
2925
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
2892
2926
|
end
|
2893
2927
|
end
|
2894
2928
|
|
@@ -5016,6 +5050,14 @@ module Google
|
|
5016
5050
|
attr_accessor :is_action_configured
|
5017
5051
|
alias_method :is_action_configured?, :is_action_configured
|
5018
5052
|
|
5053
|
+
# Optional. The Service Directory resource name (projects/*/locations/*/
|
5054
|
+
# namespaces/*/services/*) representing a VPC network endpoint used to connect
|
5055
|
+
# to the data source's `instance_uri`, defined in DataConnector.params. Required
|
5056
|
+
# when VPC Service Controls are enabled.
|
5057
|
+
# Corresponds to the JSON property `serviceName`
|
5058
|
+
# @return [String]
|
5059
|
+
attr_accessor :service_name
|
5060
|
+
|
5019
5061
|
def initialize(**args)
|
5020
5062
|
update!(**args)
|
5021
5063
|
end
|
@@ -5024,6 +5066,7 @@ module Google
|
|
5024
5066
|
def update!(**args)
|
5025
5067
|
@action_params = args[:action_params] if args.key?(:action_params)
|
5026
5068
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
5069
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
5027
5070
|
end
|
5028
5071
|
end
|
5029
5072
|
|
@@ -5118,7 +5161,7 @@ module Google
|
|
5118
5161
|
include Google::Apis::Core::Hashable
|
5119
5162
|
|
5120
5163
|
# Condition boost specifications. If a suggestion matches multiple conditions in
|
5121
|
-
# the
|
5164
|
+
# the specifications, boost values from these specifications are all applied and
|
5122
5165
|
# combined in a non-linear way. Maximum number of specifications is 20. Note:
|
5123
5166
|
# Currently only support language condition boost.
|
5124
5167
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
@@ -5576,6 +5619,11 @@ module Google
|
|
5576
5619
|
# @return [String]
|
5577
5620
|
attr_accessor :answer_text
|
5578
5621
|
|
5622
|
+
# List of blob attachments in the answer.
|
5623
|
+
# Corresponds to the JSON property `blobAttachments`
|
5624
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment>]
|
5625
|
+
attr_accessor :blob_attachments
|
5626
|
+
|
5579
5627
|
# Citations.
|
5580
5628
|
# Corresponds to the JSON property `citations`
|
5581
5629
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation>]
|
@@ -5646,6 +5694,7 @@ module Google
|
|
5646
5694
|
def update!(**args)
|
5647
5695
|
@answer_skipped_reasons = args[:answer_skipped_reasons] if args.key?(:answer_skipped_reasons)
|
5648
5696
|
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
5697
|
+
@blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
|
5649
5698
|
@citations = args[:citations] if args.key?(:citations)
|
5650
5699
|
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
5651
5700
|
@create_time = args[:create_time] if args.key?(:create_time)
|
@@ -5661,6 +5710,57 @@ module Google
|
|
5661
5710
|
end
|
5662
5711
|
end
|
5663
5712
|
|
5713
|
+
# Stores binarydata attached to text answer, e.g. image, video, audio, etc.
|
5714
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
5715
|
+
include Google::Apis::Core::Hashable
|
5716
|
+
|
5717
|
+
# Output only. The attribution type of the blob.
|
5718
|
+
# Corresponds to the JSON property `attributionType`
|
5719
|
+
# @return [String]
|
5720
|
+
attr_accessor :attribution_type
|
5721
|
+
|
5722
|
+
# The media type and data of the blob.
|
5723
|
+
# Corresponds to the JSON property `data`
|
5724
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob]
|
5725
|
+
attr_accessor :data
|
5726
|
+
|
5727
|
+
def initialize(**args)
|
5728
|
+
update!(**args)
|
5729
|
+
end
|
5730
|
+
|
5731
|
+
# Update properties of this object
|
5732
|
+
def update!(**args)
|
5733
|
+
@attribution_type = args[:attribution_type] if args.key?(:attribution_type)
|
5734
|
+
@data = args[:data] if args.key?(:data)
|
5735
|
+
end
|
5736
|
+
end
|
5737
|
+
|
5738
|
+
# The media type and data of the blob.
|
5739
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
5740
|
+
include Google::Apis::Core::Hashable
|
5741
|
+
|
5742
|
+
# Output only. Raw bytes.
|
5743
|
+
# Corresponds to the JSON property `data`
|
5744
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5745
|
+
# @return [String]
|
5746
|
+
attr_accessor :data
|
5747
|
+
|
5748
|
+
# Output only. The media type (MIME type) of the generated or retrieved data.
|
5749
|
+
# Corresponds to the JSON property `mimeType`
|
5750
|
+
# @return [String]
|
5751
|
+
attr_accessor :mime_type
|
5752
|
+
|
5753
|
+
def initialize(**args)
|
5754
|
+
update!(**args)
|
5755
|
+
end
|
5756
|
+
|
5757
|
+
# Update properties of this object
|
5758
|
+
def update!(**args)
|
5759
|
+
@data = args[:data] if args.key?(:data)
|
5760
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
5761
|
+
end
|
5762
|
+
end
|
5763
|
+
|
5664
5764
|
# Citation info for a segment.
|
5665
5765
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
5666
5766
|
include Google::Apis::Core::Hashable
|
@@ -5945,6 +6045,12 @@ module Google
|
|
5945
6045
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec]
|
5946
6046
|
attr_accessor :model_spec
|
5947
6047
|
|
6048
|
+
# Multimodal specification: Will return an image from specified source. If
|
6049
|
+
# multiple sources are specified, the pick is a quality based decision.
|
6050
|
+
# Corresponds to the JSON property `multimodalSpec`
|
6051
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec]
|
6052
|
+
attr_accessor :multimodal_spec
|
6053
|
+
|
5948
6054
|
# Answer generation prompt specification.
|
5949
6055
|
# Corresponds to the JSON property `promptSpec`
|
5950
6056
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec]
|
@@ -5963,6 +6069,7 @@ module Google
|
|
5963
6069
|
@ignore_non_answer_seeking_query = args[:ignore_non_answer_seeking_query] if args.key?(:ignore_non_answer_seeking_query)
|
5964
6070
|
@include_citations = args[:include_citations] if args.key?(:include_citations)
|
5965
6071
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
6072
|
+
@multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
|
5966
6073
|
@prompt_spec = args[:prompt_spec] if args.key?(:prompt_spec)
|
5967
6074
|
end
|
5968
6075
|
end
|
@@ -5987,6 +6094,26 @@ module Google
|
|
5987
6094
|
end
|
5988
6095
|
end
|
5989
6096
|
|
6097
|
+
# Multimodal specification: Will return an image from specified source. If
|
6098
|
+
# multiple sources are specified, the pick is a quality based decision.
|
6099
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
|
6100
|
+
include Google::Apis::Core::Hashable
|
6101
|
+
|
6102
|
+
# Optional. Source of image returned in the answer.
|
6103
|
+
# Corresponds to the JSON property `imageSource`
|
6104
|
+
# @return [String]
|
6105
|
+
attr_accessor :image_source
|
6106
|
+
|
6107
|
+
def initialize(**args)
|
6108
|
+
update!(**args)
|
6109
|
+
end
|
6110
|
+
|
6111
|
+
# Update properties of this object
|
6112
|
+
def update!(**args)
|
6113
|
+
@image_source = args[:image_source] if args.key?(:image_source)
|
6114
|
+
end
|
6115
|
+
end
|
6116
|
+
|
5990
6117
|
# Answer generation prompt specification.
|
5991
6118
|
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
|
5992
6119
|
include Google::Apis::Core::Hashable
|
@@ -6749,6 +6876,11 @@ module Google
|
|
6749
6876
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
|
6750
6877
|
include Google::Apis::Core::Hashable
|
6751
6878
|
|
6879
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
6880
|
+
# Corresponds to the JSON property `blobAttachmentIndexes`
|
6881
|
+
# @return [Array<Fixnum>]
|
6882
|
+
attr_accessor :blob_attachment_indexes
|
6883
|
+
|
6752
6884
|
# Chunk resource name.
|
6753
6885
|
# Corresponds to the JSON property `chunk`
|
6754
6886
|
# @return [String]
|
@@ -6778,6 +6910,7 @@ module Google
|
|
6778
6910
|
|
6779
6911
|
# Update properties of this object
|
6780
6912
|
def update!(**args)
|
6913
|
+
@blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
|
6781
6914
|
@chunk = args[:chunk] if args.key?(:chunk)
|
6782
6915
|
@content = args[:content] if args.key?(:content)
|
6783
6916
|
@document_metadata = args[:document_metadata] if args.key?(:document_metadata)
|
@@ -6914,6 +7047,11 @@ module Google
|
|
6914
7047
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
|
6915
7048
|
include Google::Apis::Core::Hashable
|
6916
7049
|
|
7050
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
7051
|
+
# Corresponds to the JSON property `blobAttachmentIndexes`
|
7052
|
+
# @return [Array<Fixnum>]
|
7053
|
+
attr_accessor :blob_attachment_indexes
|
7054
|
+
|
6917
7055
|
# Chunk textual content.
|
6918
7056
|
# Corresponds to the JSON property `content`
|
6919
7057
|
# @return [String]
|
@@ -6938,6 +7076,7 @@ module Google
|
|
6938
7076
|
|
6939
7077
|
# Update properties of this object
|
6940
7078
|
def update!(**args)
|
7079
|
+
@blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
|
6941
7080
|
@content = args[:content] if args.key?(:content)
|
6942
7081
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
6943
7082
|
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
@@ -8152,6 +8291,11 @@ module Google
|
|
8152
8291
|
# @return [String]
|
8153
8292
|
attr_accessor :name
|
8154
8293
|
|
8294
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
8295
|
+
# Corresponds to the JSON property `notebooklmState`
|
8296
|
+
# @return [String]
|
8297
|
+
attr_accessor :notebooklm_state
|
8298
|
+
|
8155
8299
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
8156
8300
|
# Corresponds to the JSON property `singleRegionKeys`
|
8157
8301
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey>]
|
@@ -8173,6 +8317,7 @@ module Google
|
|
8173
8317
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
8174
8318
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
8175
8319
|
@name = args[:name] if args.key?(:name)
|
8320
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
8176
8321
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
8177
8322
|
@state = args[:state] if args.key?(:state)
|
8178
8323
|
end
|
@@ -10882,12 +11027,28 @@ module Google
|
|
10882
11027
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
10883
11028
|
include Google::Apis::Core::Hashable
|
10884
11029
|
|
11030
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
11031
|
+
# parsing.
|
11032
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
11033
|
+
# @return [Boolean]
|
11034
|
+
attr_accessor :enable_image_annotation
|
11035
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
11036
|
+
|
11037
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
11038
|
+
# parsing.
|
11039
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
11040
|
+
# @return [Boolean]
|
11041
|
+
attr_accessor :enable_table_annotation
|
11042
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
11043
|
+
|
10885
11044
|
def initialize(**args)
|
10886
11045
|
update!(**args)
|
10887
11046
|
end
|
10888
11047
|
|
10889
11048
|
# Update properties of this object
|
10890
11049
|
def update!(**args)
|
11050
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
11051
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
10891
11052
|
end
|
10892
11053
|
end
|
10893
11054
|
|
@@ -16225,10 +16386,10 @@ module Google
|
|
16225
16386
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
|
16226
16387
|
attr_accessor :custom_fine_tuning_spec
|
16227
16388
|
|
16228
|
-
# Specifications that define the specific
|
16229
|
-
#
|
16230
|
-
#
|
16231
|
-
#
|
16389
|
+
# Specifications that define the specific DataStores to be searched, along with
|
16390
|
+
# configurations for those data stores. This is only considered for Engines with
|
16391
|
+
# multiple data stores. For engines with a single data store, the specs directly
|
16392
|
+
# under SearchRequest should be used.
|
16232
16393
|
# Corresponds to the JSON property `dataStoreSpecs`
|
16233
16394
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
16234
16395
|
attr_accessor :data_store_specs
|
@@ -16359,29 +16520,30 @@ module Google
|
|
16359
16520
|
# This overrides ServingConfig.ranking_expression. The syntax and supported
|
16360
16521
|
# features depend on the ranking_expression_backend value. If
|
16361
16522
|
# ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
|
16362
|
-
# If
|
16363
|
-
# function or multiple functions that are joined by "+". *
|
16364
|
-
# function, ` " + ", function `; Supported functions: *
|
16365
|
-
# * double * dotProduct(embedding_field_path) Function
|
16366
|
-
# relevance_score`: pre-defined keywords, used for measure
|
16367
|
-
# query and document. * `embedding_field_path`: the document
|
16368
|
-
# used with query embedding vector. * `dotProduct`: embedding
|
16369
|
-
# embedding_field_path and query embedding vector. Example
|
16370
|
-
# If document has an embedding field doc_embedding, the
|
16371
|
-
# be `0.5 * relevance_score + 0.3 * dotProduct(
|
16372
|
-
# If
|
16373
|
-
#
|
16374
|
-
#
|
16375
|
-
#
|
16376
|
-
# is_nan(signal) -- returns 0 if signal
|
16377
|
-
#
|
16378
|
-
#
|
16379
|
-
#
|
16380
|
-
# 16) + 0.8 * rr(bm25_score, 32)
|
16381
|
-
#
|
16382
|
-
# adjustment *
|
16383
|
-
#
|
16384
|
-
# adjustment as a rank *
|
16523
|
+
# If ranking_expression_backend is not provided or set to `BYOE`, it should be a
|
16524
|
+
# single function or multiple functions that are joined by "+". *
|
16525
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
16526
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
16527
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
16528
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
16529
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
16530
|
+
# function between embedding_field_path and query embedding vector. Example
|
16531
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
16532
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
16533
|
+
# doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
|
16534
|
+
# CLEARBOX`, the following expression types (and combinations of those chained
|
16535
|
+
# using + or * operators) are supported: * double * signal * log(signal) * exp(
|
16536
|
+
# signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
|
16537
|
+
# argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
|
16538
|
+
# is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
|
16539
|
+
# NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
|
16540
|
+
# gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
|
16541
|
+
# 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
|
16542
|
+
# The following signals are supported: * gecko_score -- semantic similarity
|
16543
|
+
# adjustment * bm25_score -- keyword match adjustment * jetstream_score --
|
16544
|
+
# semantic relevance adjustment * pctr_rank -- predicted conversion rate
|
16545
|
+
# adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
|
16546
|
+
# base_rank -- the default rank of the result
|
16385
16547
|
# Corresponds to the JSON property `rankingExpression`
|
16386
16548
|
# @return [String]
|
16387
16549
|
attr_accessor :ranking_expression
|
@@ -16548,7 +16710,7 @@ module Google
|
|
16548
16710
|
include Google::Apis::Core::Hashable
|
16549
16711
|
|
16550
16712
|
# Condition boost specifications. If a document matches multiple conditions in
|
16551
|
-
# the
|
16713
|
+
# the specifications, boost scores from these specifications are all applied and
|
16552
16714
|
# combined in a non-linear way. Maximum number of specifications is 20.
|
16553
16715
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
16554
16716
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec>]
|
@@ -16947,6 +17109,12 @@ module Google
|
|
16947
17109
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec]
|
16948
17110
|
attr_accessor :model_spec
|
16949
17111
|
|
17112
|
+
# Multimodal specification: Will return an image from specified source. If
|
17113
|
+
# multiple sources are specified, the pick is a quality based decision.
|
17114
|
+
# Corresponds to the JSON property `multimodalSpec`
|
17115
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
|
17116
|
+
attr_accessor :multimodal_spec
|
17117
|
+
|
16950
17118
|
# The number of top results to generate the summary from. If the number of
|
16951
17119
|
# results returned is less than `summaryResultCount`, the summary is generated
|
16952
17120
|
# from all of the results. At most 10 results for documents mode, or 50 for
|
@@ -16980,6 +17148,7 @@ module Google
|
|
16980
17148
|
@language_code = args[:language_code] if args.key?(:language_code)
|
16981
17149
|
@model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
|
16982
17150
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
17151
|
+
@multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
|
16983
17152
|
@summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
|
16984
17153
|
@use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
|
16985
17154
|
end
|
@@ -17031,6 +17200,26 @@ module Google
|
|
17031
17200
|
end
|
17032
17201
|
end
|
17033
17202
|
|
17203
|
+
# Multimodal specification: Will return an image from specified source. If
|
17204
|
+
# multiple sources are specified, the pick is a quality based decision.
|
17205
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
17206
|
+
include Google::Apis::Core::Hashable
|
17207
|
+
|
17208
|
+
# Optional. Source of image returned in the answer.
|
17209
|
+
# Corresponds to the JSON property `imageSource`
|
17210
|
+
# @return [String]
|
17211
|
+
attr_accessor :image_source
|
17212
|
+
|
17213
|
+
def initialize(**args)
|
17214
|
+
update!(**args)
|
17215
|
+
end
|
17216
|
+
|
17217
|
+
# Update properties of this object
|
17218
|
+
def update!(**args)
|
17219
|
+
@image_source = args[:image_source] if args.key?(:image_source)
|
17220
|
+
end
|
17221
|
+
end
|
17222
|
+
|
17034
17223
|
# A struct to define data stores to filter on in a search call and
|
17035
17224
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
17036
17225
|
# is returned.
|
@@ -18199,6 +18388,57 @@ module Google
|
|
18199
18388
|
end
|
18200
18389
|
end
|
18201
18390
|
|
18391
|
+
# Stores binarydata attached to text answer, e.g. image, video, audio, etc.
|
18392
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment
|
18393
|
+
include Google::Apis::Core::Hashable
|
18394
|
+
|
18395
|
+
# Output only. The attribution type of the blob.
|
18396
|
+
# Corresponds to the JSON property `attributionType`
|
18397
|
+
# @return [String]
|
18398
|
+
attr_accessor :attribution_type
|
18399
|
+
|
18400
|
+
# Stores type and data of the blob.
|
18401
|
+
# Corresponds to the JSON property `data`
|
18402
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob]
|
18403
|
+
attr_accessor :data
|
18404
|
+
|
18405
|
+
def initialize(**args)
|
18406
|
+
update!(**args)
|
18407
|
+
end
|
18408
|
+
|
18409
|
+
# Update properties of this object
|
18410
|
+
def update!(**args)
|
18411
|
+
@attribution_type = args[:attribution_type] if args.key?(:attribution_type)
|
18412
|
+
@data = args[:data] if args.key?(:data)
|
18413
|
+
end
|
18414
|
+
end
|
18415
|
+
|
18416
|
+
# Stores type and data of the blob.
|
18417
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob
|
18418
|
+
include Google::Apis::Core::Hashable
|
18419
|
+
|
18420
|
+
# Output only. Raw bytes.
|
18421
|
+
# Corresponds to the JSON property `data`
|
18422
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
18423
|
+
# @return [String]
|
18424
|
+
attr_accessor :data
|
18425
|
+
|
18426
|
+
# Output only. The media type (MIME type) of the generated data.
|
18427
|
+
# Corresponds to the JSON property `mimeType`
|
18428
|
+
# @return [String]
|
18429
|
+
attr_accessor :mime_type
|
18430
|
+
|
18431
|
+
def initialize(**args)
|
18432
|
+
update!(**args)
|
18433
|
+
end
|
18434
|
+
|
18435
|
+
# Update properties of this object
|
18436
|
+
def update!(**args)
|
18437
|
+
@data = args[:data] if args.key?(:data)
|
18438
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
18439
|
+
end
|
18440
|
+
end
|
18441
|
+
|
18202
18442
|
# Citation info for a segment.
|
18203
18443
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
|
18204
18444
|
include Google::Apis::Core::Hashable
|
@@ -18312,6 +18552,11 @@ module Google
|
|
18312
18552
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
|
18313
18553
|
include Google::Apis::Core::Hashable
|
18314
18554
|
|
18555
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
18556
|
+
# Corresponds to the JSON property `blobAttachmentIndexes`
|
18557
|
+
# @return [Array<Fixnum>]
|
18558
|
+
attr_accessor :blob_attachment_indexes
|
18559
|
+
|
18315
18560
|
# Chunk textual content.
|
18316
18561
|
# Corresponds to the JSON property `content`
|
18317
18562
|
# @return [String]
|
@@ -18328,6 +18573,7 @@ module Google
|
|
18328
18573
|
|
18329
18574
|
# Update properties of this object
|
18330
18575
|
def update!(**args)
|
18576
|
+
@blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
|
18331
18577
|
@content = args[:content] if args.key?(:content)
|
18332
18578
|
@page_identifier = args[:page_identifier] if args.key?(:page_identifier)
|
18333
18579
|
end
|
@@ -18364,6 +18610,11 @@ module Google
|
|
18364
18610
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata
|
18365
18611
|
include Google::Apis::Core::Hashable
|
18366
18612
|
|
18613
|
+
# Output only. Store multimodal data for answer enhancement.
|
18614
|
+
# Corresponds to the JSON property `blobAttachments`
|
18615
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment>]
|
18616
|
+
attr_accessor :blob_attachments
|
18617
|
+
|
18367
18618
|
# Citation metadata.
|
18368
18619
|
# Corresponds to the JSON property `citationMetadata`
|
18369
18620
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata]
|
@@ -18385,6 +18636,7 @@ module Google
|
|
18385
18636
|
|
18386
18637
|
# Update properties of this object
|
18387
18638
|
def update!(**args)
|
18639
|
+
@blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
|
18388
18640
|
@citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
|
18389
18641
|
@references = args[:references] if args.key?(:references)
|
18390
18642
|
@summary = args[:summary] if args.key?(:summary)
|
@@ -20039,6 +20291,11 @@ module Google
|
|
20039
20291
|
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
20040
20292
|
include Google::Apis::Core::Hashable
|
20041
20293
|
|
20294
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
20295
|
+
# Corresponds to the JSON property `timeZone`
|
20296
|
+
# @return [String]
|
20297
|
+
attr_accessor :time_zone
|
20298
|
+
|
20042
20299
|
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
20043
20300
|
# string with a length limit of 1,000 characters. Otherwise, an `
|
20044
20301
|
# INVALID_ARGUMENT` error is returned. This should not be set when using the
|
@@ -20064,6 +20321,7 @@ module Google
|
|
20064
20321
|
|
20065
20322
|
# Update properties of this object
|
20066
20323
|
def update!(**args)
|
20324
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
20067
20325
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
20068
20326
|
@user_id = args[:user_id] if args.key?(:user_id)
|
20069
20327
|
end
|
@@ -21052,6 +21310,11 @@ module Google
|
|
21052
21310
|
# @return [String]
|
21053
21311
|
attr_accessor :name
|
21054
21312
|
|
21313
|
+
# Output only. Whether the NotebookLM Corpus is ready to be used.
|
21314
|
+
# Corresponds to the JSON property `notebooklmState`
|
21315
|
+
# @return [String]
|
21316
|
+
attr_accessor :notebooklm_state
|
21317
|
+
|
21055
21318
|
# Optional. Single-regional CMEKs that are required for some VAIS features.
|
21056
21319
|
# Corresponds to the JSON property `singleRegionKeys`
|
21057
21320
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey>]
|
@@ -21073,6 +21336,7 @@ module Google
|
|
21073
21336
|
@kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
|
21074
21337
|
@last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
|
21075
21338
|
@name = args[:name] if args.key?(:name)
|
21339
|
+
@notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
|
21076
21340
|
@single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
|
21077
21341
|
@state = args[:state] if args.key?(:state)
|
21078
21342
|
end
|
@@ -21666,6 +21930,17 @@ module Google
|
|
21666
21930
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
21667
21931
|
include Google::Apis::Core::Hashable
|
21668
21932
|
|
21933
|
+
# Immutable. Whether data in the DataStore has ACL information. If set to `true`,
|
21934
|
+
# the source data must have ACL. ACL will be ingested when data is ingested by
|
21935
|
+
# DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
|
21936
|
+
# Document can't be accessed by calling DocumentService.GetDocument or
|
21937
|
+
# DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
|
21938
|
+
# industry vertical with non-`PUBLIC_WEBSITE` content config.
|
21939
|
+
# Corresponds to the JSON property `aclEnabled`
|
21940
|
+
# @return [Boolean]
|
21941
|
+
attr_accessor :acl_enabled
|
21942
|
+
alias_method :acl_enabled?, :acl_enabled
|
21943
|
+
|
21669
21944
|
# Configuration data for advance site search.
|
21670
21945
|
# Corresponds to the JSON property `advancedSiteSearchConfig`
|
21671
21946
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig]
|
@@ -21790,6 +22065,7 @@ module Google
|
|
21790
22065
|
|
21791
22066
|
# Update properties of this object
|
21792
22067
|
def update!(**args)
|
22068
|
+
@acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
|
21793
22069
|
@advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
|
21794
22070
|
@billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
|
21795
22071
|
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
@@ -22271,12 +22547,28 @@ module Google
|
|
22271
22547
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
22272
22548
|
include Google::Apis::Core::Hashable
|
22273
22549
|
|
22550
|
+
# Optional. If true, the LLM based annotation is added to the image during
|
22551
|
+
# parsing.
|
22552
|
+
# Corresponds to the JSON property `enableImageAnnotation`
|
22553
|
+
# @return [Boolean]
|
22554
|
+
attr_accessor :enable_image_annotation
|
22555
|
+
alias_method :enable_image_annotation?, :enable_image_annotation
|
22556
|
+
|
22557
|
+
# Optional. If true, the LLM based annotation is added to the table during
|
22558
|
+
# parsing.
|
22559
|
+
# Corresponds to the JSON property `enableTableAnnotation`
|
22560
|
+
# @return [Boolean]
|
22561
|
+
attr_accessor :enable_table_annotation
|
22562
|
+
alias_method :enable_table_annotation?, :enable_table_annotation
|
22563
|
+
|
22274
22564
|
def initialize(**args)
|
22275
22565
|
update!(**args)
|
22276
22566
|
end
|
22277
22567
|
|
22278
22568
|
# Update properties of this object
|
22279
22569
|
def update!(**args)
|
22570
|
+
@enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
|
22571
|
+
@enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
|
22280
22572
|
end
|
22281
22573
|
end
|
22282
22574
|
|
@@ -23834,10 +24126,10 @@ module Google
|
|
23834
24126
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
|
23835
24127
|
attr_accessor :content_search_spec
|
23836
24128
|
|
23837
|
-
# Specifications that define the specific
|
23838
|
-
#
|
23839
|
-
#
|
23840
|
-
#
|
24129
|
+
# Specifications that define the specific DataStores to be searched, along with
|
24130
|
+
# configurations for those data stores. This is only considered for Engines with
|
24131
|
+
# multiple data stores. For engines with a single data store, the specs directly
|
24132
|
+
# under SearchRequest should be used.
|
23841
24133
|
# Corresponds to the JSON property `dataStoreSpecs`
|
23842
24134
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
|
23843
24135
|
attr_accessor :data_store_specs
|
@@ -23968,29 +24260,30 @@ module Google
|
|
23968
24260
|
# This overrides ServingConfig.ranking_expression. The syntax and supported
|
23969
24261
|
# features depend on the ranking_expression_backend value. If
|
23970
24262
|
# ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
|
23971
|
-
# If
|
23972
|
-
# function or multiple functions that are joined by "+". *
|
23973
|
-
# function, ` " + ", function `; Supported functions: *
|
23974
|
-
# * double * dotProduct(embedding_field_path) Function
|
23975
|
-
# relevance_score`: pre-defined keywords, used for measure
|
23976
|
-
# query and document. * `embedding_field_path`: the document
|
23977
|
-
# used with query embedding vector. * `dotProduct`: embedding
|
23978
|
-
# embedding_field_path and query embedding vector. Example
|
23979
|
-
# If document has an embedding field doc_embedding, the
|
23980
|
-
# be `0.5 * relevance_score + 0.3 * dotProduct(
|
23981
|
-
# If
|
23982
|
-
#
|
23983
|
-
#
|
23984
|
-
#
|
23985
|
-
# is_nan(signal) -- returns 0 if signal
|
23986
|
-
#
|
23987
|
-
#
|
23988
|
-
#
|
23989
|
-
# 16) + 0.8 * rr(bm25_score, 32)
|
23990
|
-
#
|
23991
|
-
# adjustment *
|
23992
|
-
#
|
23993
|
-
# adjustment as a rank *
|
24263
|
+
# If ranking_expression_backend is not provided or set to `BYOE`, it should be a
|
24264
|
+
# single function or multiple functions that are joined by "+". *
|
24265
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
24266
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
24267
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
24268
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
24269
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
24270
|
+
# function between embedding_field_path and query embedding vector. Example
|
24271
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
24272
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
24273
|
+
# doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
|
24274
|
+
# CLEARBOX`, the following expression types (and combinations of those chained
|
24275
|
+
# using + or * operators) are supported: * double * signal * log(signal) * exp(
|
24276
|
+
# signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
|
24277
|
+
# argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
|
24278
|
+
# is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
|
24279
|
+
# NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
|
24280
|
+
# gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
|
24281
|
+
# 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
|
24282
|
+
# The following signals are supported: * gecko_score -- semantic similarity
|
24283
|
+
# adjustment * bm25_score -- keyword match adjustment * jetstream_score --
|
24284
|
+
# semantic relevance adjustment * pctr_rank -- predicted conversion rate
|
24285
|
+
# adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
|
24286
|
+
# base_rank -- the default rank of the result
|
23994
24287
|
# Corresponds to the JSON property `rankingExpression`
|
23995
24288
|
# @return [String]
|
23996
24289
|
attr_accessor :ranking_expression
|
@@ -24156,7 +24449,7 @@ module Google
|
|
24156
24449
|
include Google::Apis::Core::Hashable
|
24157
24450
|
|
24158
24451
|
# Condition boost specifications. If a document matches multiple conditions in
|
24159
|
-
# the
|
24452
|
+
# the specifications, boost scores from these specifications are all applied and
|
24160
24453
|
# combined in a non-linear way. Maximum number of specifications is 20.
|
24161
24454
|
# Corresponds to the JSON property `conditionBoostSpecs`
|
24162
24455
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec>]
|
@@ -24555,6 +24848,12 @@ module Google
|
|
24555
24848
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec]
|
24556
24849
|
attr_accessor :model_spec
|
24557
24850
|
|
24851
|
+
# Multimodal specification: Will return an image from specified source. If
|
24852
|
+
# multiple sources are specified, the pick is a quality based decision.
|
24853
|
+
# Corresponds to the JSON property `multimodalSpec`
|
24854
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
|
24855
|
+
attr_accessor :multimodal_spec
|
24856
|
+
|
24558
24857
|
# The number of top results to generate the summary from. If the number of
|
24559
24858
|
# results returned is less than `summaryResultCount`, the summary is generated
|
24560
24859
|
# from all of the results. At most 10 results for documents mode, or 50 for
|
@@ -24588,6 +24887,7 @@ module Google
|
|
24588
24887
|
@language_code = args[:language_code] if args.key?(:language_code)
|
24589
24888
|
@model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
|
24590
24889
|
@model_spec = args[:model_spec] if args.key?(:model_spec)
|
24890
|
+
@multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
|
24591
24891
|
@summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
|
24592
24892
|
@use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
|
24593
24893
|
end
|
@@ -24639,6 +24939,26 @@ module Google
|
|
24639
24939
|
end
|
24640
24940
|
end
|
24641
24941
|
|
24942
|
+
# Multimodal specification: Will return an image from specified source. If
|
24943
|
+
# multiple sources are specified, the pick is a quality based decision.
|
24944
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
24945
|
+
include Google::Apis::Core::Hashable
|
24946
|
+
|
24947
|
+
# Optional. Source of image returned in the answer.
|
24948
|
+
# Corresponds to the JSON property `imageSource`
|
24949
|
+
# @return [String]
|
24950
|
+
attr_accessor :image_source
|
24951
|
+
|
24952
|
+
def initialize(**args)
|
24953
|
+
update!(**args)
|
24954
|
+
end
|
24955
|
+
|
24956
|
+
# Update properties of this object
|
24957
|
+
def update!(**args)
|
24958
|
+
@image_source = args[:image_source] if args.key?(:image_source)
|
24959
|
+
end
|
24960
|
+
end
|
24961
|
+
|
24642
24962
|
# A struct to define data stores to filter on in a search call and
|
24643
24963
|
# configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
|
24644
24964
|
# is returned.
|
@@ -25518,6 +25838,11 @@ module Google
|
|
25518
25838
|
class GoogleCloudDiscoveryengineV1betaUserInfo
|
25519
25839
|
include Google::Apis::Core::Hashable
|
25520
25840
|
|
25841
|
+
# Optional. IANA time zone, e.g. Europe/Budapest.
|
25842
|
+
# Corresponds to the JSON property `timeZone`
|
25843
|
+
# @return [String]
|
25844
|
+
attr_accessor :time_zone
|
25845
|
+
|
25521
25846
|
# User agent as included in the HTTP header. The field must be a UTF-8 encoded
|
25522
25847
|
# string with a length limit of 1,000 characters. Otherwise, an `
|
25523
25848
|
# INVALID_ARGUMENT` error is returned. This should not be set when using the
|
@@ -25543,6 +25868,7 @@ module Google
|
|
25543
25868
|
|
25544
25869
|
# Update properties of this object
|
25545
25870
|
def update!(**args)
|
25871
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
25546
25872
|
@user_agent = args[:user_agent] if args.key?(:user_agent)
|
25547
25873
|
@user_id = args[:user_id] if args.key?(:user_id)
|
25548
25874
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1alpha
|
18
18
|
# Version of the google-apis-discoveryengine_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250322"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -856,6 +856,18 @@ module Google
|
|
856
856
|
include Google::Apis::Core::JsonObjectSupport
|
857
857
|
end
|
858
858
|
|
859
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
859
871
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
860
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
873
|
|
@@ -892,6 +904,12 @@ module Google
|
|
892
904
|
include Google::Apis::Core::JsonObjectSupport
|
893
905
|
end
|
894
906
|
|
907
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
895
913
|
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
|
896
914
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
915
|
|
@@ -2710,6 +2728,12 @@ module Google
|
|
2710
2728
|
include Google::Apis::Core::JsonObjectSupport
|
2711
2729
|
end
|
2712
2730
|
|
2731
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
2732
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2733
|
+
|
2734
|
+
include Google::Apis::Core::JsonObjectSupport
|
2735
|
+
end
|
2736
|
+
|
2713
2737
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
2714
2738
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2715
2739
|
|
@@ -2914,6 +2938,18 @@ module Google
|
|
2914
2938
|
include Google::Apis::Core::JsonObjectSupport
|
2915
2939
|
end
|
2916
2940
|
|
2941
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment
|
2942
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2943
|
+
|
2944
|
+
include Google::Apis::Core::JsonObjectSupport
|
2945
|
+
end
|
2946
|
+
|
2947
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob
|
2948
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2949
|
+
|
2950
|
+
include Google::Apis::Core::JsonObjectSupport
|
2951
|
+
end
|
2952
|
+
|
2917
2953
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
|
2918
2954
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2919
2955
|
|
@@ -3862,6 +3898,12 @@ module Google
|
|
3862
3898
|
include Google::Apis::Core::JsonObjectSupport
|
3863
3899
|
end
|
3864
3900
|
|
3901
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
3902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3903
|
+
|
3904
|
+
include Google::Apis::Core::JsonObjectSupport
|
3905
|
+
end
|
3906
|
+
|
3865
3907
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
3866
3908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3867
3909
|
|
@@ -4532,6 +4574,7 @@ module Google
|
|
4532
4574
|
property :kms_key_version, as: 'kmsKeyVersion'
|
4533
4575
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
4534
4576
|
property :name, as: 'name'
|
4577
|
+
property :notebooklm_state, as: 'notebooklmState'
|
4535
4578
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1SingleRegionKey::Representation
|
4536
4579
|
|
4537
4580
|
property :state, as: 'state'
|
@@ -4693,6 +4736,7 @@ module Google
|
|
4693
4736
|
class GoogleCloudDiscoveryengineV1DataStore
|
4694
4737
|
# @private
|
4695
4738
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4739
|
+
property :acl_enabled, as: 'aclEnabled'
|
4696
4740
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig::Representation
|
4697
4741
|
|
4698
4742
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreBillingEstimation::Representation
|
@@ -4861,6 +4905,8 @@ module Google
|
|
4861
4905
|
class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
|
4862
4906
|
# @private
|
4863
4907
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4908
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
4909
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
4864
4910
|
end
|
4865
4911
|
end
|
4866
4912
|
|
@@ -5411,6 +5457,7 @@ module Google
|
|
5411
5457
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5412
5458
|
hash :action_params, as: 'actionParams'
|
5413
5459
|
property :is_action_configured, as: 'isActionConfigured'
|
5460
|
+
property :service_name, as: 'serviceName'
|
5414
5461
|
end
|
5415
5462
|
end
|
5416
5463
|
|
@@ -5559,6 +5606,8 @@ module Google
|
|
5559
5606
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5560
5607
|
collection :answer_skipped_reasons, as: 'answerSkippedReasons'
|
5561
5608
|
property :answer_text, as: 'answerText'
|
5609
|
+
collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment::Representation
|
5610
|
+
|
5562
5611
|
collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation::Representation
|
5563
5612
|
|
5564
5613
|
property :complete_time, as: 'completeTime'
|
@@ -5580,6 +5629,23 @@ module Google
|
|
5580
5629
|
end
|
5581
5630
|
end
|
5582
5631
|
|
5632
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
|
5633
|
+
# @private
|
5634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5635
|
+
property :attribution_type, as: 'attributionType'
|
5636
|
+
property :data, as: 'data', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob::Representation
|
5637
|
+
|
5638
|
+
end
|
5639
|
+
end
|
5640
|
+
|
5641
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
|
5642
|
+
# @private
|
5643
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5644
|
+
property :data, :base64 => true, as: 'data'
|
5645
|
+
property :mime_type, as: 'mimeType'
|
5646
|
+
end
|
5647
|
+
end
|
5648
|
+
|
5583
5649
|
class GoogleCloudDiscoveryengineV1alphaAnswerCitation
|
5584
5650
|
# @private
|
5585
5651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5646,6 +5712,8 @@ module Google
|
|
5646
5712
|
property :include_citations, as: 'includeCitations'
|
5647
5713
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec::Representation
|
5648
5714
|
|
5715
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec::Representation
|
5716
|
+
|
5649
5717
|
property :prompt_spec, as: 'promptSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec::Representation
|
5650
5718
|
|
5651
5719
|
end
|
@@ -5658,6 +5726,13 @@ module Google
|
|
5658
5726
|
end
|
5659
5727
|
end
|
5660
5728
|
|
5729
|
+
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
|
5730
|
+
# @private
|
5731
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5732
|
+
property :image_source, as: 'imageSource'
|
5733
|
+
end
|
5734
|
+
end
|
5735
|
+
|
5661
5736
|
class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
|
5662
5737
|
# @private
|
5663
5738
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5909,6 +5984,7 @@ module Google
|
|
5909
5984
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
|
5910
5985
|
# @private
|
5911
5986
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5987
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
5912
5988
|
property :chunk, as: 'chunk'
|
5913
5989
|
property :content, as: 'content'
|
5914
5990
|
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata::Representation
|
@@ -5953,6 +6029,7 @@ module Google
|
|
5953
6029
|
class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
|
5954
6030
|
# @private
|
5955
6031
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6032
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
5956
6033
|
property :content, as: 'content'
|
5957
6034
|
property :page_identifier, as: 'pageIdentifier'
|
5958
6035
|
property :relevance_score, as: 'relevanceScore'
|
@@ -6293,6 +6370,7 @@ module Google
|
|
6293
6370
|
property :kms_key_version, as: 'kmsKeyVersion'
|
6294
6371
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
6295
6372
|
property :name, as: 'name'
|
6373
|
+
property :notebooklm_state, as: 'notebooklmState'
|
6296
6374
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey::Representation
|
6297
6375
|
|
6298
6376
|
property :state, as: 'state'
|
@@ -7016,6 +7094,8 @@ module Google
|
|
7016
7094
|
class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
7017
7095
|
# @private
|
7018
7096
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7097
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
7098
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
7019
7099
|
end
|
7020
7100
|
end
|
7021
7101
|
|
@@ -8684,6 +8764,8 @@ module Google
|
|
8684
8764
|
|
8685
8765
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
8686
8766
|
|
8767
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
8768
|
+
|
8687
8769
|
property :summary_result_count, as: 'summaryResultCount'
|
8688
8770
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
8689
8771
|
end
|
@@ -8703,6 +8785,13 @@ module Google
|
|
8703
8785
|
end
|
8704
8786
|
end
|
8705
8787
|
|
8788
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
8789
|
+
# @private
|
8790
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8791
|
+
property :image_source, as: 'imageSource'
|
8792
|
+
end
|
8793
|
+
end
|
8794
|
+
|
8706
8795
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
|
8707
8796
|
# @private
|
8708
8797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9038,6 +9127,23 @@ module Google
|
|
9038
9127
|
end
|
9039
9128
|
end
|
9040
9129
|
|
9130
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment
|
9131
|
+
# @private
|
9132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9133
|
+
property :attribution_type, as: 'attributionType'
|
9134
|
+
property :data, as: 'data', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob::Representation
|
9135
|
+
|
9136
|
+
end
|
9137
|
+
end
|
9138
|
+
|
9139
|
+
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob
|
9140
|
+
# @private
|
9141
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9142
|
+
property :data, :base64 => true, as: 'data'
|
9143
|
+
property :mime_type, as: 'mimeType'
|
9144
|
+
end
|
9145
|
+
end
|
9146
|
+
|
9041
9147
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
|
9042
9148
|
# @private
|
9043
9149
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9077,6 +9183,7 @@ module Google
|
|
9077
9183
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
|
9078
9184
|
# @private
|
9079
9185
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9186
|
+
collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
|
9080
9187
|
property :content, as: 'content'
|
9081
9188
|
property :page_identifier, as: 'pageIdentifier'
|
9082
9189
|
end
|
@@ -9093,6 +9200,8 @@ module Google
|
|
9093
9200
|
class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata
|
9094
9201
|
# @private
|
9095
9202
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9203
|
+
collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment::Representation
|
9204
|
+
|
9096
9205
|
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata::Representation
|
9097
9206
|
|
9098
9207
|
collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference::Representation
|
@@ -9506,6 +9615,7 @@ module Google
|
|
9506
9615
|
class GoogleCloudDiscoveryengineV1alphaUserInfo
|
9507
9616
|
# @private
|
9508
9617
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9618
|
+
property :time_zone, as: 'timeZone'
|
9509
9619
|
property :user_agent, as: 'userAgent'
|
9510
9620
|
property :user_id, as: 'userId'
|
9511
9621
|
end
|
@@ -9752,6 +9862,7 @@ module Google
|
|
9752
9862
|
property :kms_key_version, as: 'kmsKeyVersion'
|
9753
9863
|
property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
|
9754
9864
|
property :name, as: 'name'
|
9865
|
+
property :notebooklm_state, as: 'notebooklmState'
|
9755
9866
|
collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey::Representation
|
9756
9867
|
|
9757
9868
|
property :state, as: 'state'
|
@@ -9927,6 +10038,7 @@ module Google
|
|
9927
10038
|
class GoogleCloudDiscoveryengineV1betaDataStore
|
9928
10039
|
# @private
|
9929
10040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10041
|
+
property :acl_enabled, as: 'aclEnabled'
|
9930
10042
|
property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig::Representation
|
9931
10043
|
|
9932
10044
|
property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation::Representation
|
@@ -10105,6 +10217,8 @@ module Google
|
|
10105
10217
|
class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
|
10106
10218
|
# @private
|
10107
10219
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10220
|
+
property :enable_image_annotation, as: 'enableImageAnnotation'
|
10221
|
+
property :enable_table_annotation, as: 'enableTableAnnotation'
|
10108
10222
|
end
|
10109
10223
|
end
|
10110
10224
|
|
@@ -10689,6 +10803,8 @@ module Google
|
|
10689
10803
|
|
10690
10804
|
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
|
10691
10805
|
|
10806
|
+
property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
|
10807
|
+
|
10692
10808
|
property :summary_result_count, as: 'summaryResultCount'
|
10693
10809
|
property :use_semantic_chunks, as: 'useSemanticChunks'
|
10694
10810
|
end
|
@@ -10708,6 +10824,13 @@ module Google
|
|
10708
10824
|
end
|
10709
10825
|
end
|
10710
10826
|
|
10827
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
|
10828
|
+
# @private
|
10829
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10830
|
+
property :image_source, as: 'imageSource'
|
10831
|
+
end
|
10832
|
+
end
|
10833
|
+
|
10711
10834
|
class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
|
10712
10835
|
# @private
|
10713
10836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10952,6 +11075,7 @@ module Google
|
|
10952
11075
|
class GoogleCloudDiscoveryengineV1betaUserInfo
|
10953
11076
|
# @private
|
10954
11077
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11078
|
+
property :time_zone, as: 'timeZone'
|
10955
11079
|
property :user_agent, as: 'userAgent'
|
10956
11080
|
property :user_id, as: 'userId'
|
10957
11081
|
end
|
@@ -9691,6 +9691,37 @@ module Google
|
|
9691
9691
|
execute_or_queue_command(command, &block)
|
9692
9692
|
end
|
9693
9693
|
|
9694
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
9695
|
+
# to poll the operation result at intervals as recommended by the API service.
|
9696
|
+
# @param [String] name
|
9697
|
+
# The name of the operation resource.
|
9698
|
+
# @param [String] fields
|
9699
|
+
# Selector specifying which fields to include in a partial response.
|
9700
|
+
# @param [String] quota_user
|
9701
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
9702
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
9703
|
+
# @param [Google::Apis::RequestOptions] options
|
9704
|
+
# Request-specific options
|
9705
|
+
#
|
9706
|
+
# @yield [result, err] Result & error if block supplied
|
9707
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
|
9708
|
+
# @yieldparam err [StandardError] error object if request failed
|
9709
|
+
#
|
9710
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
|
9711
|
+
#
|
9712
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
9713
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
9714
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
9715
|
+
def get_project_location_podcast_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
9716
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
9717
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
|
9718
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
|
9719
|
+
command.params['name'] = name unless name.nil?
|
9720
|
+
command.query['fields'] = fields unless fields.nil?
|
9721
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
9722
|
+
execute_or_queue_command(command, &block)
|
9723
|
+
end
|
9724
|
+
|
9694
9725
|
# Ranks a list of text records based on the given input query.
|
9695
9726
|
# @param [String] ranking_config
|
9696
9727
|
# Required. The resource name of the rank service config, such as `projects/`
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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_v1alpha/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.58.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|