google-apis-discoveryengine_v1alpha 0.56.0 → 0.57.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf6bff0ac74761d79c8d1a2f62df19938b965da911d6ba823af7826fd92cae94
4
- data.tar.gz: 0dc16e0d7307ff18e8a618d43f1c740262ad1f495bdd9e1e946dfa2bfc713b0b
3
+ metadata.gz: ffcb1ed39aa5e2aa4c59282191e4fc953807b277ffb87939f88f20a97a957f5d
4
+ data.tar.gz: 87f71cde3e544a336f3fff116c09a75e87e226be4ca7125875a6c870e39a730a
5
5
  SHA512:
6
- metadata.gz: 58130028bce1c1646a5672a93109416ff109a94e50dc4c8947d5793d71aa4587713d82ace45a6e169dc96913d55d02869421c2138fbee16e8a01180dc9ef8428
7
- data.tar.gz: 2e4ba145bc54372aa6a1afb47433c6c6658c180354447f260ff1b04e4f1600749bef4460d6419aa4c1afd0ba679777425b58048d5e1414daa491892d84a6e371
6
+ metadata.gz: c416cf5d9a6928cbda7be87c8d74c9146e3ba33f3b946750710ca15b5c0a44fd2b306d1b5d4245953f728c0abf573e5230fbdd97359143ed9afad3a816552d23
7
+ data.tar.gz: 0ad19d589ba4e46271bc6619a80f5c024e933ef331882ad0fde6526c953a44c162f8006b3b416829f2b2841afb8d2a0043066d82b62153e87604660a62e769c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.57.0 (2025-03-23)
4
+
5
+ * Regenerated from discovery document revision 20250320
6
+
3
7
  ### v0.56.0 (2025-03-16)
4
8
 
5
9
  * 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)
@@ -5016,6 +5034,14 @@ module Google
5016
5034
  attr_accessor :is_action_configured
5017
5035
  alias_method :is_action_configured?, :is_action_configured
5018
5036
 
5037
+ # Optional. The Service Directory resource name (projects/*/locations/*/
5038
+ # namespaces/*/services/*) representing a VPC network endpoint used to connect
5039
+ # to the data source's `instance_uri`, defined in DataConnector.params. Required
5040
+ # when VPC Service Controls are enabled.
5041
+ # Corresponds to the JSON property `serviceName`
5042
+ # @return [String]
5043
+ attr_accessor :service_name
5044
+
5019
5045
  def initialize(**args)
5020
5046
  update!(**args)
5021
5047
  end
@@ -5024,6 +5050,7 @@ module Google
5024
5050
  def update!(**args)
5025
5051
  @action_params = args[:action_params] if args.key?(:action_params)
5026
5052
  @is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
5053
+ @service_name = args[:service_name] if args.key?(:service_name)
5027
5054
  end
5028
5055
  end
5029
5056
 
@@ -5118,7 +5145,7 @@ module Google
5118
5145
  include Google::Apis::Core::Hashable
5119
5146
 
5120
5147
  # Condition boost specifications. If a suggestion matches multiple conditions in
5121
- # the specifictions, boost values from these specifications are all applied and
5148
+ # the specifications, boost values from these specifications are all applied and
5122
5149
  # combined in a non-linear way. Maximum number of specifications is 20. Note:
5123
5150
  # Currently only support language condition boost.
5124
5151
  # Corresponds to the JSON property `conditionBoostSpecs`
@@ -5576,6 +5603,11 @@ module Google
5576
5603
  # @return [String]
5577
5604
  attr_accessor :answer_text
5578
5605
 
5606
+ # List of blob attachments in the answer.
5607
+ # Corresponds to the JSON property `blobAttachments`
5608
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment>]
5609
+ attr_accessor :blob_attachments
5610
+
5579
5611
  # Citations.
5580
5612
  # Corresponds to the JSON property `citations`
5581
5613
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation>]
@@ -5646,6 +5678,7 @@ module Google
5646
5678
  def update!(**args)
5647
5679
  @answer_skipped_reasons = args[:answer_skipped_reasons] if args.key?(:answer_skipped_reasons)
5648
5680
  @answer_text = args[:answer_text] if args.key?(:answer_text)
5681
+ @blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
5649
5682
  @citations = args[:citations] if args.key?(:citations)
5650
5683
  @complete_time = args[:complete_time] if args.key?(:complete_time)
5651
5684
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -5661,6 +5694,57 @@ module Google
5661
5694
  end
5662
5695
  end
5663
5696
 
5697
+ # Stores binarydata attached to text answer, e.g. image, video, audio, etc.
5698
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
5699
+ include Google::Apis::Core::Hashable
5700
+
5701
+ # Output only. The attribution type of the blob.
5702
+ # Corresponds to the JSON property `attributionType`
5703
+ # @return [String]
5704
+ attr_accessor :attribution_type
5705
+
5706
+ # The media type and data of the blob.
5707
+ # Corresponds to the JSON property `data`
5708
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob]
5709
+ attr_accessor :data
5710
+
5711
+ def initialize(**args)
5712
+ update!(**args)
5713
+ end
5714
+
5715
+ # Update properties of this object
5716
+ def update!(**args)
5717
+ @attribution_type = args[:attribution_type] if args.key?(:attribution_type)
5718
+ @data = args[:data] if args.key?(:data)
5719
+ end
5720
+ end
5721
+
5722
+ # The media type and data of the blob.
5723
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
5724
+ include Google::Apis::Core::Hashable
5725
+
5726
+ # Output only. Raw bytes.
5727
+ # Corresponds to the JSON property `data`
5728
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5729
+ # @return [String]
5730
+ attr_accessor :data
5731
+
5732
+ # Output only. The media type (MIME type) of the generated or retrieved data.
5733
+ # Corresponds to the JSON property `mimeType`
5734
+ # @return [String]
5735
+ attr_accessor :mime_type
5736
+
5737
+ def initialize(**args)
5738
+ update!(**args)
5739
+ end
5740
+
5741
+ # Update properties of this object
5742
+ def update!(**args)
5743
+ @data = args[:data] if args.key?(:data)
5744
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
5745
+ end
5746
+ end
5747
+
5664
5748
  # Citation info for a segment.
5665
5749
  class GoogleCloudDiscoveryengineV1alphaAnswerCitation
5666
5750
  include Google::Apis::Core::Hashable
@@ -5945,6 +6029,12 @@ module Google
5945
6029
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec]
5946
6030
  attr_accessor :model_spec
5947
6031
 
6032
+ # Multimodal specification: Will return an image from specified source. If
6033
+ # multiple sources are specified, the pick is a quality based decision.
6034
+ # Corresponds to the JSON property `multimodalSpec`
6035
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec]
6036
+ attr_accessor :multimodal_spec
6037
+
5948
6038
  # Answer generation prompt specification.
5949
6039
  # Corresponds to the JSON property `promptSpec`
5950
6040
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec]
@@ -5963,6 +6053,7 @@ module Google
5963
6053
  @ignore_non_answer_seeking_query = args[:ignore_non_answer_seeking_query] if args.key?(:ignore_non_answer_seeking_query)
5964
6054
  @include_citations = args[:include_citations] if args.key?(:include_citations)
5965
6055
  @model_spec = args[:model_spec] if args.key?(:model_spec)
6056
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
5966
6057
  @prompt_spec = args[:prompt_spec] if args.key?(:prompt_spec)
5967
6058
  end
5968
6059
  end
@@ -5987,6 +6078,26 @@ module Google
5987
6078
  end
5988
6079
  end
5989
6080
 
6081
+ # Multimodal specification: Will return an image from specified source. If
6082
+ # multiple sources are specified, the pick is a quality based decision.
6083
+ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
6084
+ include Google::Apis::Core::Hashable
6085
+
6086
+ # Optional. Source of image returned in the answer.
6087
+ # Corresponds to the JSON property `imageSource`
6088
+ # @return [String]
6089
+ attr_accessor :image_source
6090
+
6091
+ def initialize(**args)
6092
+ update!(**args)
6093
+ end
6094
+
6095
+ # Update properties of this object
6096
+ def update!(**args)
6097
+ @image_source = args[:image_source] if args.key?(:image_source)
6098
+ end
6099
+ end
6100
+
5990
6101
  # Answer generation prompt specification.
5991
6102
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
5992
6103
  include Google::Apis::Core::Hashable
@@ -6749,6 +6860,11 @@ module Google
6749
6860
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
6750
6861
  include Google::Apis::Core::Hashable
6751
6862
 
6863
+ # Output only. Stores indexes of blobattachments linked to this chunk.
6864
+ # Corresponds to the JSON property `blobAttachmentIndexes`
6865
+ # @return [Array<Fixnum>]
6866
+ attr_accessor :blob_attachment_indexes
6867
+
6752
6868
  # Chunk resource name.
6753
6869
  # Corresponds to the JSON property `chunk`
6754
6870
  # @return [String]
@@ -6778,6 +6894,7 @@ module Google
6778
6894
 
6779
6895
  # Update properties of this object
6780
6896
  def update!(**args)
6897
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
6781
6898
  @chunk = args[:chunk] if args.key?(:chunk)
6782
6899
  @content = args[:content] if args.key?(:content)
6783
6900
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
@@ -6914,6 +7031,11 @@ module Google
6914
7031
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
6915
7032
  include Google::Apis::Core::Hashable
6916
7033
 
7034
+ # Output only. Stores indexes of blobattachments linked to this chunk.
7035
+ # Corresponds to the JSON property `blobAttachmentIndexes`
7036
+ # @return [Array<Fixnum>]
7037
+ attr_accessor :blob_attachment_indexes
7038
+
6917
7039
  # Chunk textual content.
6918
7040
  # Corresponds to the JSON property `content`
6919
7041
  # @return [String]
@@ -6938,6 +7060,7 @@ module Google
6938
7060
 
6939
7061
  # Update properties of this object
6940
7062
  def update!(**args)
7063
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
6941
7064
  @content = args[:content] if args.key?(:content)
6942
7065
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
6943
7066
  @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
@@ -8152,6 +8275,11 @@ module Google
8152
8275
  # @return [String]
8153
8276
  attr_accessor :name
8154
8277
 
8278
+ # Output only. Whether the NotebookLM Corpus is ready to be used.
8279
+ # Corresponds to the JSON property `notebooklmState`
8280
+ # @return [String]
8281
+ attr_accessor :notebooklm_state
8282
+
8155
8283
  # Optional. Single-regional CMEKs that are required for some VAIS features.
8156
8284
  # Corresponds to the JSON property `singleRegionKeys`
8157
8285
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey>]
@@ -8173,6 +8301,7 @@ module Google
8173
8301
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
8174
8302
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
8175
8303
  @name = args[:name] if args.key?(:name)
8304
+ @notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
8176
8305
  @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
8177
8306
  @state = args[:state] if args.key?(:state)
8178
8307
  end
@@ -16225,10 +16354,10 @@ module Google
16225
16354
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
16226
16355
  attr_accessor :custom_fine_tuning_spec
16227
16356
 
16228
- # Specifications that define the specific [DataStore]s to be searched, along
16229
- # with configurations for those data stores. This is only considered for Engines
16230
- # with multiple data stores. For engines with a single data store, the specs
16231
- # directly under SearchRequest should be used.
16357
+ # Specifications that define the specific DataStores to be searched, along with
16358
+ # configurations for those data stores. This is only considered for Engines with
16359
+ # multiple data stores. For engines with a single data store, the specs directly
16360
+ # under SearchRequest should be used.
16232
16361
  # Corresponds to the JSON property `dataStoreSpecs`
16233
16362
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
16234
16363
  attr_accessor :data_store_specs
@@ -16359,29 +16488,30 @@ module Google
16359
16488
  # This overrides ServingConfig.ranking_expression. The syntax and supported
16360
16489
  # features depend on the ranking_expression_backend value. If
16361
16490
  # ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
16362
- # If ranking expression is not provided or set to BYOE, it should be a single
16363
- # function or multiple functions that are joined by "+". * ranking_expression =
16364
- # function, ` " + ", function `; Supported functions: * double * relevance_score
16365
- # * double * dotProduct(embedding_field_path) Function variables: * `
16366
- # relevance_score`: pre-defined keywords, used for measure relevance between
16367
- # query and document. * `embedding_field_path`: the document embedding field
16368
- # used with query embedding vector. * `dotProduct`: embedding function between
16369
- # embedding_field_path and query embedding vector. Example ranking expression:
16370
- # If document has an embedding field doc_embedding, the ranking expression could
16371
- # be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX ===
16372
- # If ranking expression is set to CLEARBOX, the following expression types (and
16373
- # combinations of those chained using + or * operators) are supported: * double *
16374
- # signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal
16375
- # rank transformation with second argument being a denominator constant. *
16376
- # is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1,
16377
- # signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns
16378
- # signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(
16379
- # fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score,
16380
- # 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: *
16381
- # gecko_score -- semantic similarity adjustment * bm25_score -- keyword match
16382
- # adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank --
16383
- # predicted conversion rate adjustment as a rank * freshness_rank -- freshness
16384
- # adjustment as a rank * base_rank -- the default rank of the result
16491
+ # If ranking_expression_backend is not provided or set to `BYOE`, it should be a
16492
+ # single function or multiple functions that are joined by "+". *
16493
+ # ranking_expression = function, ` " + ", function `; Supported functions: *
16494
+ # double * relevance_score * double * dotProduct(embedding_field_path) Function
16495
+ # variables: * `relevance_score`: pre-defined keywords, used for measure
16496
+ # relevance between query and document. * `embedding_field_path`: the document
16497
+ # embedding field used with query embedding vector. * `dotProduct`: embedding
16498
+ # function between embedding_field_path and query embedding vector. Example
16499
+ # ranking expression: If document has an embedding field doc_embedding, the
16500
+ # ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
16501
+ # doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
16502
+ # CLEARBOX`, the following expression types (and combinations of those chained
16503
+ # using + or * operators) are supported: * double * signal * log(signal) * exp(
16504
+ # signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
16505
+ # argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
16506
+ # is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
16507
+ # NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
16508
+ # gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
16509
+ # 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
16510
+ # The following signals are supported: * gecko_score -- semantic similarity
16511
+ # adjustment * bm25_score -- keyword match adjustment * jetstream_score --
16512
+ # semantic relevance adjustment * pctr_rank -- predicted conversion rate
16513
+ # adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
16514
+ # base_rank -- the default rank of the result
16385
16515
  # Corresponds to the JSON property `rankingExpression`
16386
16516
  # @return [String]
16387
16517
  attr_accessor :ranking_expression
@@ -16548,7 +16678,7 @@ module Google
16548
16678
  include Google::Apis::Core::Hashable
16549
16679
 
16550
16680
  # Condition boost specifications. If a document matches multiple conditions in
16551
- # the specifictions, boost scores from these specifications are all applied and
16681
+ # the specifications, boost scores from these specifications are all applied and
16552
16682
  # combined in a non-linear way. Maximum number of specifications is 20.
16553
16683
  # Corresponds to the JSON property `conditionBoostSpecs`
16554
16684
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec>]
@@ -16947,6 +17077,12 @@ module Google
16947
17077
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec]
16948
17078
  attr_accessor :model_spec
16949
17079
 
17080
+ # Multimodal specification: Will return an image from specified source. If
17081
+ # multiple sources are specified, the pick is a quality based decision.
17082
+ # Corresponds to the JSON property `multimodalSpec`
17083
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
17084
+ attr_accessor :multimodal_spec
17085
+
16950
17086
  # The number of top results to generate the summary from. If the number of
16951
17087
  # results returned is less than `summaryResultCount`, the summary is generated
16952
17088
  # from all of the results. At most 10 results for documents mode, or 50 for
@@ -16980,6 +17116,7 @@ module Google
16980
17116
  @language_code = args[:language_code] if args.key?(:language_code)
16981
17117
  @model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
16982
17118
  @model_spec = args[:model_spec] if args.key?(:model_spec)
17119
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
16983
17120
  @summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
16984
17121
  @use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
16985
17122
  end
@@ -17031,6 +17168,26 @@ module Google
17031
17168
  end
17032
17169
  end
17033
17170
 
17171
+ # Multimodal specification: Will return an image from specified source. If
17172
+ # multiple sources are specified, the pick is a quality based decision.
17173
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
17174
+ include Google::Apis::Core::Hashable
17175
+
17176
+ # Optional. Source of image returned in the answer.
17177
+ # Corresponds to the JSON property `imageSource`
17178
+ # @return [String]
17179
+ attr_accessor :image_source
17180
+
17181
+ def initialize(**args)
17182
+ update!(**args)
17183
+ end
17184
+
17185
+ # Update properties of this object
17186
+ def update!(**args)
17187
+ @image_source = args[:image_source] if args.key?(:image_source)
17188
+ end
17189
+ end
17190
+
17034
17191
  # A struct to define data stores to filter on in a search call and
17035
17192
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
17036
17193
  # is returned.
@@ -18199,6 +18356,57 @@ module Google
18199
18356
  end
18200
18357
  end
18201
18358
 
18359
+ # Stores binarydata attached to text answer, e.g. image, video, audio, etc.
18360
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment
18361
+ include Google::Apis::Core::Hashable
18362
+
18363
+ # Output only. The attribution type of the blob.
18364
+ # Corresponds to the JSON property `attributionType`
18365
+ # @return [String]
18366
+ attr_accessor :attribution_type
18367
+
18368
+ # Stores type and data of the blob.
18369
+ # Corresponds to the JSON property `data`
18370
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob]
18371
+ attr_accessor :data
18372
+
18373
+ def initialize(**args)
18374
+ update!(**args)
18375
+ end
18376
+
18377
+ # Update properties of this object
18378
+ def update!(**args)
18379
+ @attribution_type = args[:attribution_type] if args.key?(:attribution_type)
18380
+ @data = args[:data] if args.key?(:data)
18381
+ end
18382
+ end
18383
+
18384
+ # Stores type and data of the blob.
18385
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob
18386
+ include Google::Apis::Core::Hashable
18387
+
18388
+ # Output only. Raw bytes.
18389
+ # Corresponds to the JSON property `data`
18390
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
18391
+ # @return [String]
18392
+ attr_accessor :data
18393
+
18394
+ # Output only. The media type (MIME type) of the generated data.
18395
+ # Corresponds to the JSON property `mimeType`
18396
+ # @return [String]
18397
+ attr_accessor :mime_type
18398
+
18399
+ def initialize(**args)
18400
+ update!(**args)
18401
+ end
18402
+
18403
+ # Update properties of this object
18404
+ def update!(**args)
18405
+ @data = args[:data] if args.key?(:data)
18406
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
18407
+ end
18408
+ end
18409
+
18202
18410
  # Citation info for a segment.
18203
18411
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
18204
18412
  include Google::Apis::Core::Hashable
@@ -18312,6 +18520,11 @@ module Google
18312
18520
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
18313
18521
  include Google::Apis::Core::Hashable
18314
18522
 
18523
+ # Output only. Stores indexes of blobattachments linked to this chunk.
18524
+ # Corresponds to the JSON property `blobAttachmentIndexes`
18525
+ # @return [Array<Fixnum>]
18526
+ attr_accessor :blob_attachment_indexes
18527
+
18315
18528
  # Chunk textual content.
18316
18529
  # Corresponds to the JSON property `content`
18317
18530
  # @return [String]
@@ -18328,6 +18541,7 @@ module Google
18328
18541
 
18329
18542
  # Update properties of this object
18330
18543
  def update!(**args)
18544
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
18331
18545
  @content = args[:content] if args.key?(:content)
18332
18546
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
18333
18547
  end
@@ -18364,6 +18578,11 @@ module Google
18364
18578
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata
18365
18579
  include Google::Apis::Core::Hashable
18366
18580
 
18581
+ # Output only. Store multimodal data for answer enhancement.
18582
+ # Corresponds to the JSON property `blobAttachments`
18583
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment>]
18584
+ attr_accessor :blob_attachments
18585
+
18367
18586
  # Citation metadata.
18368
18587
  # Corresponds to the JSON property `citationMetadata`
18369
18588
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata]
@@ -18385,6 +18604,7 @@ module Google
18385
18604
 
18386
18605
  # Update properties of this object
18387
18606
  def update!(**args)
18607
+ @blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
18388
18608
  @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
18389
18609
  @references = args[:references] if args.key?(:references)
18390
18610
  @summary = args[:summary] if args.key?(:summary)
@@ -21052,6 +21272,11 @@ module Google
21052
21272
  # @return [String]
21053
21273
  attr_accessor :name
21054
21274
 
21275
+ # Output only. Whether the NotebookLM Corpus is ready to be used.
21276
+ # Corresponds to the JSON property `notebooklmState`
21277
+ # @return [String]
21278
+ attr_accessor :notebooklm_state
21279
+
21055
21280
  # Optional. Single-regional CMEKs that are required for some VAIS features.
21056
21281
  # Corresponds to the JSON property `singleRegionKeys`
21057
21282
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey>]
@@ -21073,6 +21298,7 @@ module Google
21073
21298
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
21074
21299
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
21075
21300
  @name = args[:name] if args.key?(:name)
21301
+ @notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
21076
21302
  @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
21077
21303
  @state = args[:state] if args.key?(:state)
21078
21304
  end
@@ -21666,6 +21892,17 @@ module Google
21666
21892
  class GoogleCloudDiscoveryengineV1betaDataStore
21667
21893
  include Google::Apis::Core::Hashable
21668
21894
 
21895
+ # Immutable. Whether data in the DataStore has ACL information. If set to `true`,
21896
+ # the source data must have ACL. ACL will be ingested when data is ingested by
21897
+ # DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore,
21898
+ # Document can't be accessed by calling DocumentService.GetDocument or
21899
+ # DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC`
21900
+ # industry vertical with non-`PUBLIC_WEBSITE` content config.
21901
+ # Corresponds to the JSON property `aclEnabled`
21902
+ # @return [Boolean]
21903
+ attr_accessor :acl_enabled
21904
+ alias_method :acl_enabled?, :acl_enabled
21905
+
21669
21906
  # Configuration data for advance site search.
21670
21907
  # Corresponds to the JSON property `advancedSiteSearchConfig`
21671
21908
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig]
@@ -21790,6 +22027,7 @@ module Google
21790
22027
 
21791
22028
  # Update properties of this object
21792
22029
  def update!(**args)
22030
+ @acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
21793
22031
  @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
21794
22032
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
21795
22033
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
@@ -23834,10 +24072,10 @@ module Google
23834
24072
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
23835
24073
  attr_accessor :content_search_spec
23836
24074
 
23837
- # Specifications that define the specific [DataStore]s to be searched, along
23838
- # with configurations for those data stores. This is only considered for Engines
23839
- # with multiple data stores. For engines with a single data store, the specs
23840
- # directly under SearchRequest should be used.
24075
+ # Specifications that define the specific DataStores to be searched, along with
24076
+ # configurations for those data stores. This is only considered for Engines with
24077
+ # multiple data stores. For engines with a single data store, the specs directly
24078
+ # under SearchRequest should be used.
23841
24079
  # Corresponds to the JSON property `dataStoreSpecs`
23842
24080
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
23843
24081
  attr_accessor :data_store_specs
@@ -23968,29 +24206,30 @@ module Google
23968
24206
  # This overrides ServingConfig.ranking_expression. The syntax and supported
23969
24207
  # features depend on the ranking_expression_backend value. If
23970
24208
  # ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
23971
- # If ranking expression is not provided or set to BYOE, it should be a single
23972
- # function or multiple functions that are joined by "+". * ranking_expression =
23973
- # function, ` " + ", function `; Supported functions: * double * relevance_score
23974
- # * double * dotProduct(embedding_field_path) Function variables: * `
23975
- # relevance_score`: pre-defined keywords, used for measure relevance between
23976
- # query and document. * `embedding_field_path`: the document embedding field
23977
- # used with query embedding vector. * `dotProduct`: embedding function between
23978
- # embedding_field_path and query embedding vector. Example ranking expression:
23979
- # If document has an embedding field doc_embedding, the ranking expression could
23980
- # be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX ===
23981
- # If ranking expression is set to CLEARBOX, the following expression types (and
23982
- # combinations of those chained using + or * operators) are supported: * double *
23983
- # signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal
23984
- # rank transformation with second argument being a denominator constant. *
23985
- # is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1,
23986
- # signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns
23987
- # signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(
23988
- # fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score,
23989
- # 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: *
23990
- # gecko_score -- semantic similarity adjustment * bm25_score -- keyword match
23991
- # adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank --
23992
- # predicted conversion rate adjustment as a rank * freshness_rank -- freshness
23993
- # adjustment as a rank * base_rank -- the default rank of the result
24209
+ # If ranking_expression_backend is not provided or set to `BYOE`, it should be a
24210
+ # single function or multiple functions that are joined by "+". *
24211
+ # ranking_expression = function, ` " + ", function `; Supported functions: *
24212
+ # double * relevance_score * double * dotProduct(embedding_field_path) Function
24213
+ # variables: * `relevance_score`: pre-defined keywords, used for measure
24214
+ # relevance between query and document. * `embedding_field_path`: the document
24215
+ # embedding field used with query embedding vector. * `dotProduct`: embedding
24216
+ # function between embedding_field_path and query embedding vector. Example
24217
+ # ranking expression: If document has an embedding field doc_embedding, the
24218
+ # ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
24219
+ # doc_embedding)`. === CLEARBOX === If ranking_expression_backend is set to `
24220
+ # CLEARBOX`, the following expression types (and combinations of those chained
24221
+ # using + or * operators) are supported: * double * signal * log(signal) * exp(
24222
+ # signal) * rr(signal, double > 0) -- reciprocal rank transformation with second
24223
+ # argument being a denominator constant. * is_nan(signal) -- returns 0 if signal
24224
+ # is NaN, 1 otherwise. * fill_nan(signal1, signal2 | double) -- if signal1 is
24225
+ # NaN, returns signal2 | double, else returns signal1. Examples: * 0.2 *
24226
+ # gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(fill_nan(gecko_score, 0)) + 0.
24227
+ # 3 * is_nan(bm25_score) * 0.2 * rr(gecko_score, 16) + 0.8 * rr(bm25_score, 32)
24228
+ # The following signals are supported: * gecko_score -- semantic similarity
24229
+ # adjustment * bm25_score -- keyword match adjustment * jetstream_score --
24230
+ # semantic relevance adjustment * pctr_rank -- predicted conversion rate
24231
+ # adjustment as a rank * freshness_rank -- freshness adjustment as a rank *
24232
+ # base_rank -- the default rank of the result
23994
24233
  # Corresponds to the JSON property `rankingExpression`
23995
24234
  # @return [String]
23996
24235
  attr_accessor :ranking_expression
@@ -24156,7 +24395,7 @@ module Google
24156
24395
  include Google::Apis::Core::Hashable
24157
24396
 
24158
24397
  # Condition boost specifications. If a document matches multiple conditions in
24159
- # the specifictions, boost scores from these specifications are all applied and
24398
+ # the specifications, boost scores from these specifications are all applied and
24160
24399
  # combined in a non-linear way. Maximum number of specifications is 20.
24161
24400
  # Corresponds to the JSON property `conditionBoostSpecs`
24162
24401
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec>]
@@ -24555,6 +24794,12 @@ module Google
24555
24794
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec]
24556
24795
  attr_accessor :model_spec
24557
24796
 
24797
+ # Multimodal specification: Will return an image from specified source. If
24798
+ # multiple sources are specified, the pick is a quality based decision.
24799
+ # Corresponds to the JSON property `multimodalSpec`
24800
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec]
24801
+ attr_accessor :multimodal_spec
24802
+
24558
24803
  # The number of top results to generate the summary from. If the number of
24559
24804
  # results returned is less than `summaryResultCount`, the summary is generated
24560
24805
  # from all of the results. At most 10 results for documents mode, or 50 for
@@ -24588,6 +24833,7 @@ module Google
24588
24833
  @language_code = args[:language_code] if args.key?(:language_code)
24589
24834
  @model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
24590
24835
  @model_spec = args[:model_spec] if args.key?(:model_spec)
24836
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
24591
24837
  @summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
24592
24838
  @use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
24593
24839
  end
@@ -24639,6 +24885,26 @@ module Google
24639
24885
  end
24640
24886
  end
24641
24887
 
24888
+ # Multimodal specification: Will return an image from specified source. If
24889
+ # multiple sources are specified, the pick is a quality based decision.
24890
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
24891
+ include Google::Apis::Core::Hashable
24892
+
24893
+ # Optional. Source of image returned in the answer.
24894
+ # Corresponds to the JSON property `imageSource`
24895
+ # @return [String]
24896
+ attr_accessor :image_source
24897
+
24898
+ def initialize(**args)
24899
+ update!(**args)
24900
+ end
24901
+
24902
+ # Update properties of this object
24903
+ def update!(**args)
24904
+ @image_source = args[:image_source] if args.key?(:image_source)
24905
+ end
24906
+ end
24907
+
24642
24908
  # A struct to define data stores to filter on in a search call and
24643
24909
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
24644
24910
  # is returned.
@@ -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.56.0"
19
+ GEM_VERSION = "0.57.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 = "20250312"
25
+ REVISION = "20250320"
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
@@ -5411,6 +5455,7 @@ module Google
5411
5455
  class Representation < Google::Apis::Core::JsonRepresentation
5412
5456
  hash :action_params, as: 'actionParams'
5413
5457
  property :is_action_configured, as: 'isActionConfigured'
5458
+ property :service_name, as: 'serviceName'
5414
5459
  end
5415
5460
  end
5416
5461
 
@@ -5559,6 +5604,8 @@ module Google
5559
5604
  class Representation < Google::Apis::Core::JsonRepresentation
5560
5605
  collection :answer_skipped_reasons, as: 'answerSkippedReasons'
5561
5606
  property :answer_text, as: 'answerText'
5607
+ collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment::Representation
5608
+
5562
5609
  collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation::Representation
5563
5610
 
5564
5611
  property :complete_time, as: 'completeTime'
@@ -5580,6 +5627,23 @@ module Google
5580
5627
  end
5581
5628
  end
5582
5629
 
5630
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachment
5631
+ # @private
5632
+ class Representation < Google::Apis::Core::JsonRepresentation
5633
+ property :attribution_type, as: 'attributionType'
5634
+ property :data, as: 'data', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob::Representation
5635
+
5636
+ end
5637
+ end
5638
+
5639
+ class GoogleCloudDiscoveryengineV1alphaAnswerBlobAttachmentBlob
5640
+ # @private
5641
+ class Representation < Google::Apis::Core::JsonRepresentation
5642
+ property :data, :base64 => true, as: 'data'
5643
+ property :mime_type, as: 'mimeType'
5644
+ end
5645
+ end
5646
+
5583
5647
  class GoogleCloudDiscoveryengineV1alphaAnswerCitation
5584
5648
  # @private
5585
5649
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5646,6 +5710,8 @@ module Google
5646
5710
  property :include_citations, as: 'includeCitations'
5647
5711
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec::Representation
5648
5712
 
5713
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec::Representation
5714
+
5649
5715
  property :prompt_spec, as: 'promptSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec::Representation
5650
5716
 
5651
5717
  end
@@ -5658,6 +5724,13 @@ module Google
5658
5724
  end
5659
5725
  end
5660
5726
 
5727
+ class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecMultimodalSpec
5728
+ # @private
5729
+ class Representation < Google::Apis::Core::JsonRepresentation
5730
+ property :image_source, as: 'imageSource'
5731
+ end
5732
+ end
5733
+
5661
5734
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
5662
5735
  # @private
5663
5736
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5909,6 +5982,7 @@ module Google
5909
5982
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
5910
5983
  # @private
5911
5984
  class Representation < Google::Apis::Core::JsonRepresentation
5985
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
5912
5986
  property :chunk, as: 'chunk'
5913
5987
  property :content, as: 'content'
5914
5988
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata::Representation
@@ -5953,6 +6027,7 @@ module Google
5953
6027
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
5954
6028
  # @private
5955
6029
  class Representation < Google::Apis::Core::JsonRepresentation
6030
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
5956
6031
  property :content, as: 'content'
5957
6032
  property :page_identifier, as: 'pageIdentifier'
5958
6033
  property :relevance_score, as: 'relevanceScore'
@@ -6293,6 +6368,7 @@ module Google
6293
6368
  property :kms_key_version, as: 'kmsKeyVersion'
6294
6369
  property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
6295
6370
  property :name, as: 'name'
6371
+ property :notebooklm_state, as: 'notebooklmState'
6296
6372
  collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey::Representation
6297
6373
 
6298
6374
  property :state, as: 'state'
@@ -8684,6 +8760,8 @@ module Google
8684
8760
 
8685
8761
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
8686
8762
 
8763
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
8764
+
8687
8765
  property :summary_result_count, as: 'summaryResultCount'
8688
8766
  property :use_semantic_chunks, as: 'useSemanticChunks'
8689
8767
  end
@@ -8703,6 +8781,13 @@ module Google
8703
8781
  end
8704
8782
  end
8705
8783
 
8784
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
8785
+ # @private
8786
+ class Representation < Google::Apis::Core::JsonRepresentation
8787
+ property :image_source, as: 'imageSource'
8788
+ end
8789
+ end
8790
+
8706
8791
  class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
8707
8792
  # @private
8708
8793
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9038,6 +9123,23 @@ module Google
9038
9123
  end
9039
9124
  end
9040
9125
 
9126
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment
9127
+ # @private
9128
+ class Representation < Google::Apis::Core::JsonRepresentation
9129
+ property :attribution_type, as: 'attributionType'
9130
+ property :data, as: 'data', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob::Representation
9131
+
9132
+ end
9133
+ end
9134
+
9135
+ class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachmentBlob
9136
+ # @private
9137
+ class Representation < Google::Apis::Core::JsonRepresentation
9138
+ property :data, :base64 => true, as: 'data'
9139
+ property :mime_type, as: 'mimeType'
9140
+ end
9141
+ end
9142
+
9041
9143
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
9042
9144
  # @private
9043
9145
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9077,6 +9179,7 @@ module Google
9077
9179
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
9078
9180
  # @private
9079
9181
  class Representation < Google::Apis::Core::JsonRepresentation
9182
+ collection :blob_attachment_indexes, as: 'blobAttachmentIndexes'
9080
9183
  property :content, as: 'content'
9081
9184
  property :page_identifier, as: 'pageIdentifier'
9082
9185
  end
@@ -9093,6 +9196,8 @@ module Google
9093
9196
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata
9094
9197
  # @private
9095
9198
  class Representation < Google::Apis::Core::JsonRepresentation
9199
+ collection :blob_attachments, as: 'blobAttachments', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryBlobAttachment::Representation
9200
+
9096
9201
  property :citation_metadata, as: 'citationMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata::Representation
9097
9202
 
9098
9203
  collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReference::Representation
@@ -9752,6 +9857,7 @@ module Google
9752
9857
  property :kms_key_version, as: 'kmsKeyVersion'
9753
9858
  property :last_rotation_timestamp_micros, :numeric_string => true, as: 'lastRotationTimestampMicros'
9754
9859
  property :name, as: 'name'
9860
+ property :notebooklm_state, as: 'notebooklmState'
9755
9861
  collection :single_region_keys, as: 'singleRegionKeys', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey::Representation
9756
9862
 
9757
9863
  property :state, as: 'state'
@@ -9927,6 +10033,7 @@ module Google
9927
10033
  class GoogleCloudDiscoveryengineV1betaDataStore
9928
10034
  # @private
9929
10035
  class Representation < Google::Apis::Core::JsonRepresentation
10036
+ property :acl_enabled, as: 'aclEnabled'
9930
10037
  property :advanced_site_search_config, as: 'advancedSiteSearchConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig::Representation
9931
10038
 
9932
10039
  property :billing_estimation, as: 'billingEstimation', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation::Representation
@@ -10689,6 +10796,8 @@ module Google
10689
10796
 
10690
10797
  property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec::Representation
10691
10798
 
10799
+ property :multimodal_spec, as: 'multimodalSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec::Representation
10800
+
10692
10801
  property :summary_result_count, as: 'summaryResultCount'
10693
10802
  property :use_semantic_chunks, as: 'useSemanticChunks'
10694
10803
  end
@@ -10708,6 +10817,13 @@ module Google
10708
10817
  end
10709
10818
  end
10710
10819
 
10820
+ class GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecMultiModalSpec
10821
+ # @private
10822
+ class Representation < Google::Apis::Core::JsonRepresentation
10823
+ property :image_source, as: 'imageSource'
10824
+ end
10825
+ end
10826
+
10711
10827
  class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
10712
10828
  # @private
10713
10829
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-16 00:00:00.000000000 Z
10
+ date: 2025-03-23 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.56.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.57.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: