google-apis-discoveryengine_v1alpha 0.55.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.
@@ -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)
@@ -3943,7 +3961,8 @@ module Google
3943
3961
  # @return [String]
3944
3962
  attr_accessor :title
3945
3963
 
3946
- # Required. The URL for the page the user wants to promote.
3964
+ # Optional. The URL for the page the user wants to promote. Must be set for site
3965
+ # search. For other verticals, this is optional.
3947
3966
  # Corresponds to the JSON property `uri`
3948
3967
  # @return [String]
3949
3968
  attr_accessor :uri
@@ -5015,6 +5034,14 @@ module Google
5015
5034
  attr_accessor :is_action_configured
5016
5035
  alias_method :is_action_configured?, :is_action_configured
5017
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
+
5018
5045
  def initialize(**args)
5019
5046
  update!(**args)
5020
5047
  end
@@ -5023,6 +5050,7 @@ module Google
5023
5050
  def update!(**args)
5024
5051
  @action_params = args[:action_params] if args.key?(:action_params)
5025
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)
5026
5054
  end
5027
5055
  end
5028
5056
 
@@ -5117,7 +5145,7 @@ module Google
5117
5145
  include Google::Apis::Core::Hashable
5118
5146
 
5119
5147
  # Condition boost specifications. If a suggestion matches multiple conditions in
5120
- # the specifictions, boost values from these specifications are all applied and
5148
+ # the specifications, boost values from these specifications are all applied and
5121
5149
  # combined in a non-linear way. Maximum number of specifications is 20. Note:
5122
5150
  # Currently only support language condition boost.
5123
5151
  # Corresponds to the JSON property `conditionBoostSpecs`
@@ -5452,6 +5480,56 @@ module Google
5452
5480
  end
5453
5481
  end
5454
5482
 
5483
+ # The connector level alert config.
5484
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
5485
+ include Google::Apis::Core::Hashable
5486
+
5487
+ # Optional. The enrollment states of each alert.
5488
+ # Corresponds to the JSON property `alertEnrollments`
5489
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
5490
+ attr_accessor :alert_enrollments
5491
+
5492
+ # Immutable. The fully qualified resource name of the AlertPolicy.
5493
+ # Corresponds to the JSON property `alertPolicyName`
5494
+ # @return [String]
5495
+ attr_accessor :alert_policy_name
5496
+
5497
+ def initialize(**args)
5498
+ update!(**args)
5499
+ end
5500
+
5501
+ # Update properties of this object
5502
+ def update!(**args)
5503
+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
5504
+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
5505
+ end
5506
+ end
5507
+
5508
+ # The alert enrollment status.
5509
+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
5510
+ include Google::Apis::Core::Hashable
5511
+
5512
+ # Immutable. The id of an alert.
5513
+ # Corresponds to the JSON property `alertId`
5514
+ # @return [String]
5515
+ attr_accessor :alert_id
5516
+
5517
+ # Required. The enrollment status of a customer.
5518
+ # Corresponds to the JSON property `enrollState`
5519
+ # @return [String]
5520
+ attr_accessor :enroll_state
5521
+
5522
+ def initialize(**args)
5523
+ update!(**args)
5524
+ end
5525
+
5526
+ # Update properties of this object
5527
+ def update!(**args)
5528
+ @alert_id = args[:alert_id] if args.key?(:alert_id)
5529
+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
5530
+ end
5531
+ end
5532
+
5455
5533
  # AlloyDB source import data from.
5456
5534
  class GoogleCloudDiscoveryengineV1alphaAlloyDbSource
5457
5535
  include Google::Apis::Core::Hashable
@@ -5525,6 +5603,11 @@ module Google
5525
5603
  # @return [String]
5526
5604
  attr_accessor :answer_text
5527
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
+
5528
5611
  # Citations.
5529
5612
  # Corresponds to the JSON property `citations`
5530
5613
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerCitation>]
@@ -5595,6 +5678,7 @@ module Google
5595
5678
  def update!(**args)
5596
5679
  @answer_skipped_reasons = args[:answer_skipped_reasons] if args.key?(:answer_skipped_reasons)
5597
5680
  @answer_text = args[:answer_text] if args.key?(:answer_text)
5681
+ @blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
5598
5682
  @citations = args[:citations] if args.key?(:citations)
5599
5683
  @complete_time = args[:complete_time] if args.key?(:complete_time)
5600
5684
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -5610,6 +5694,57 @@ module Google
5610
5694
  end
5611
5695
  end
5612
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
+
5613
5748
  # Citation info for a segment.
5614
5749
  class GoogleCloudDiscoveryengineV1alphaAnswerCitation
5615
5750
  include Google::Apis::Core::Hashable
@@ -5894,6 +6029,12 @@ module Google
5894
6029
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecModelSpec]
5895
6030
  attr_accessor :model_spec
5896
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
+
5897
6038
  # Answer generation prompt specification.
5898
6039
  # Corresponds to the JSON property `promptSpec`
5899
6040
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec]
@@ -5912,6 +6053,7 @@ module Google
5912
6053
  @ignore_non_answer_seeking_query = args[:ignore_non_answer_seeking_query] if args.key?(:ignore_non_answer_seeking_query)
5913
6054
  @include_citations = args[:include_citations] if args.key?(:include_citations)
5914
6055
  @model_spec = args[:model_spec] if args.key?(:model_spec)
6056
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
5915
6057
  @prompt_spec = args[:prompt_spec] if args.key?(:prompt_spec)
5916
6058
  end
5917
6059
  end
@@ -5936,6 +6078,26 @@ module Google
5936
6078
  end
5937
6079
  end
5938
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
+
5939
6101
  # Answer generation prompt specification.
5940
6102
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpecPromptSpec
5941
6103
  include Google::Apis::Core::Hashable
@@ -6072,6 +6234,12 @@ module Google
6072
6234
  class GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpec
6073
6235
  include Google::Apis::Core::Hashable
6074
6236
 
6237
+ # Optional. Whether to disable spell correction. The default value is `false`.
6238
+ # Corresponds to the JSON property `disableSpellCorrection`
6239
+ # @return [Boolean]
6240
+ attr_accessor :disable_spell_correction
6241
+ alias_method :disable_spell_correction?, :disable_spell_correction
6242
+
6075
6243
  # Query classification specification.
6076
6244
  # Corresponds to the JSON property `queryClassificationSpec`
6077
6245
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -6088,6 +6256,7 @@ module Google
6088
6256
 
6089
6257
  # Update properties of this object
6090
6258
  def update!(**args)
6259
+ @disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
6091
6260
  @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
6092
6261
  @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
6093
6262
  end
@@ -6691,6 +6860,11 @@ module Google
6691
6860
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo
6692
6861
  include Google::Apis::Core::Hashable
6693
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
+
6694
6868
  # Chunk resource name.
6695
6869
  # Corresponds to the JSON property `chunk`
6696
6870
  # @return [String]
@@ -6720,6 +6894,7 @@ module Google
6720
6894
 
6721
6895
  # Update properties of this object
6722
6896
  def update!(**args)
6897
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
6723
6898
  @chunk = args[:chunk] if args.key?(:chunk)
6724
6899
  @content = args[:content] if args.key?(:content)
6725
6900
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
@@ -6856,6 +7031,11 @@ module Google
6856
7031
  class GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent
6857
7032
  include Google::Apis::Core::Hashable
6858
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
+
6859
7039
  # Chunk textual content.
6860
7040
  # Corresponds to the JSON property `content`
6861
7041
  # @return [String]
@@ -6880,6 +7060,7 @@ module Google
6880
7060
 
6881
7061
  # Update properties of this object
6882
7062
  def update!(**args)
7063
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
6883
7064
  @content = args[:content] if args.key?(:content)
6884
7065
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
6885
7066
  @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
@@ -8094,6 +8275,11 @@ module Google
8094
8275
  # @return [String]
8095
8276
  attr_accessor :name
8096
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
+
8097
8283
  # Optional. Single-regional CMEKs that are required for some VAIS features.
8098
8284
  # Corresponds to the JSON property `singleRegionKeys`
8099
8285
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSingleRegionKey>]
@@ -8115,6 +8301,7 @@ module Google
8115
8301
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
8116
8302
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
8117
8303
  @name = args[:name] if args.key?(:name)
8304
+ @notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
8118
8305
  @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
8119
8306
  @state = args[:state] if args.key?(:state)
8120
8307
  end
@@ -9478,6 +9665,11 @@ module Google
9478
9665
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaActionConfig]
9479
9666
  attr_accessor :action_config
9480
9667
 
9668
+ # Optional. The connector level alert config.
9669
+ # Corresponds to the JSON property `alertPolicyConfigs`
9670
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
9671
+ attr_accessor :alert_policy_configs
9672
+
9481
9673
  # Indicates whether the connector is disabled for auto run. It can be used to
9482
9674
  # pause periodical and real time sync.
9483
9675
  # Corresponds to the JSON property `autoRunDisabled`
@@ -9667,6 +9859,7 @@ module Google
9667
9859
  # Update properties of this object
9668
9860
  def update!(**args)
9669
9861
  @action_config = args[:action_config] if args.key?(:action_config)
9862
+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
9670
9863
  @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
9671
9864
  @bap_config = args[:bap_config] if args.key?(:bap_config)
9672
9865
  @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -16102,7 +16295,8 @@ module Google
16102
16295
  # @return [String]
16103
16296
  attr_accessor :title
16104
16297
 
16105
- # Required. The URL for the page the user wants to promote.
16298
+ # Optional. The URL for the page the user wants to promote. Must be set for site
16299
+ # search. For other verticals, this is optional.
16106
16300
  # Corresponds to the JSON property `uri`
16107
16301
  # @return [String]
16108
16302
  attr_accessor :uri
@@ -16160,10 +16354,10 @@ module Google
16160
16354
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCustomFineTuningSpec]
16161
16355
  attr_accessor :custom_fine_tuning_spec
16162
16356
 
16163
- # Specifications that define the specific [DataStore]s to be searched, along
16164
- # with configurations for those data stores. This is only considered for Engines
16165
- # with multiple data stores. For engines with a single data store, the specs
16166
- # 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.
16167
16361
  # Corresponds to the JSON property `dataStoreSpecs`
16168
16362
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
16169
16363
  attr_accessor :data_store_specs
@@ -16294,29 +16488,30 @@ module Google
16294
16488
  # This overrides ServingConfig.ranking_expression. The syntax and supported
16295
16489
  # features depend on the ranking_expression_backend value. If
16296
16490
  # ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
16297
- # If ranking expression is not provided or set to BYOE, it should be a single
16298
- # function or multiple functions that are joined by "+". * ranking_expression =
16299
- # function, ` " + ", function `; Supported functions: * double * relevance_score
16300
- # * double * dotProduct(embedding_field_path) Function variables: * `
16301
- # relevance_score`: pre-defined keywords, used for measure relevance between
16302
- # query and document. * `embedding_field_path`: the document embedding field
16303
- # used with query embedding vector. * `dotProduct`: embedding function between
16304
- # embedding_field_path and query embedding vector. Example ranking expression:
16305
- # If document has an embedding field doc_embedding, the ranking expression could
16306
- # be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX ===
16307
- # If ranking expression is set to CLEARBOX, the following expression types (and
16308
- # combinations of those chained using + or * operators) are supported: * double *
16309
- # signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal
16310
- # rank transformation with second argument being a denominator constant. *
16311
- # is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1,
16312
- # signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns
16313
- # signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(
16314
- # fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score,
16315
- # 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: *
16316
- # gecko_score -- semantic similarity adjustment * bm25_score -- keyword match
16317
- # adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank --
16318
- # predicted conversion rate adjustment as a rank * freshness_rank -- freshness
16319
- # 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
16320
16515
  # Corresponds to the JSON property `rankingExpression`
16321
16516
  # @return [String]
16322
16517
  attr_accessor :ranking_expression
@@ -16483,7 +16678,7 @@ module Google
16483
16678
  include Google::Apis::Core::Hashable
16484
16679
 
16485
16680
  # Condition boost specifications. If a document matches multiple conditions in
16486
- # the specifictions, boost scores from these specifications are all applied and
16681
+ # the specifications, boost scores from these specifications are all applied and
16487
16682
  # combined in a non-linear way. Maximum number of specifications is 20.
16488
16683
  # Corresponds to the JSON property `conditionBoostSpecs`
16489
16684
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestBoostSpecConditionBoostSpec>]
@@ -16882,6 +17077,12 @@ module Google
16882
17077
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpecModelSpec]
16883
17078
  attr_accessor :model_spec
16884
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
+
16885
17086
  # The number of top results to generate the summary from. If the number of
16886
17087
  # results returned is less than `summaryResultCount`, the summary is generated
16887
17088
  # from all of the results. At most 10 results for documents mode, or 50 for
@@ -16915,6 +17116,7 @@ module Google
16915
17116
  @language_code = args[:language_code] if args.key?(:language_code)
16916
17117
  @model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
16917
17118
  @model_spec = args[:model_spec] if args.key?(:model_spec)
17119
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
16918
17120
  @summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
16919
17121
  @use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
16920
17122
  end
@@ -16966,6 +17168,26 @@ module Google
16966
17168
  end
16967
17169
  end
16968
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
+
16969
17191
  # A struct to define data stores to filter on in a search call and
16970
17192
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
16971
17193
  # is returned.
@@ -18134,6 +18356,57 @@ module Google
18134
18356
  end
18135
18357
  end
18136
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
+
18137
18410
  # Citation info for a segment.
18138
18411
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitation
18139
18412
  include Google::Apis::Core::Hashable
@@ -18247,6 +18520,11 @@ module Google
18247
18520
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryReferenceChunkContent
18248
18521
  include Google::Apis::Core::Hashable
18249
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
+
18250
18528
  # Chunk textual content.
18251
18529
  # Corresponds to the JSON property `content`
18252
18530
  # @return [String]
@@ -18263,6 +18541,7 @@ module Google
18263
18541
 
18264
18542
  # Update properties of this object
18265
18543
  def update!(**args)
18544
+ @blob_attachment_indexes = args[:blob_attachment_indexes] if args.key?(:blob_attachment_indexes)
18266
18545
  @content = args[:content] if args.key?(:content)
18267
18546
  @page_identifier = args[:page_identifier] if args.key?(:page_identifier)
18268
18547
  end
@@ -18299,6 +18578,11 @@ module Google
18299
18578
  class GoogleCloudDiscoveryengineV1alphaSearchResponseSummarySummaryWithMetadata
18300
18579
  include Google::Apis::Core::Hashable
18301
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
+
18302
18586
  # Citation metadata.
18303
18587
  # Corresponds to the JSON property `citationMetadata`
18304
18588
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchResponseSummaryCitationMetadata]
@@ -18320,6 +18604,7 @@ module Google
18320
18604
 
18321
18605
  # Update properties of this object
18322
18606
  def update!(**args)
18607
+ @blob_attachments = args[:blob_attachments] if args.key?(:blob_attachments)
18323
18608
  @citation_metadata = args[:citation_metadata] if args.key?(:citation_metadata)
18324
18609
  @references = args[:references] if args.key?(:references)
18325
18610
  @summary = args[:summary] if args.key?(:summary)
@@ -20284,6 +20569,13 @@ module Google
20284
20569
  attr_accessor :enable_web_app
20285
20570
  alias_method :enable_web_app?, :enable_web_app
20286
20571
 
20572
+ # Optional. Language code for user interface. Use language tags defined by [
20573
+ # BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). If unset, the default
20574
+ # language code is "en-US".
20575
+ # Corresponds to the JSON property `languageCode`
20576
+ # @return [String]
20577
+ attr_accessor :language_code
20578
+
20287
20579
  # Optional. The workforce identity pool provider used to access the widget.
20288
20580
  # Corresponds to the JSON property `workforceIdentityPoolProvider`
20289
20581
  # @return [String]
@@ -20298,6 +20590,7 @@ module Google
20298
20590
  @allow_public_access = args[:allow_public_access] if args.key?(:allow_public_access)
20299
20591
  @allowlisted_domains = args[:allowlisted_domains] if args.key?(:allowlisted_domains)
20300
20592
  @enable_web_app = args[:enable_web_app] if args.key?(:enable_web_app)
20593
+ @language_code = args[:language_code] if args.key?(:language_code)
20301
20594
  @workforce_identity_pool_provider = args[:workforce_identity_pool_provider] if args.key?(:workforce_identity_pool_provider)
20302
20595
  end
20303
20596
  end
@@ -20979,6 +21272,11 @@ module Google
20979
21272
  # @return [String]
20980
21273
  attr_accessor :name
20981
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
+
20982
21280
  # Optional. Single-regional CMEKs that are required for some VAIS features.
20983
21281
  # Corresponds to the JSON property `singleRegionKeys`
20984
21282
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSingleRegionKey>]
@@ -21000,6 +21298,7 @@ module Google
21000
21298
  @kms_key_version = args[:kms_key_version] if args.key?(:kms_key_version)
21001
21299
  @last_rotation_timestamp_micros = args[:last_rotation_timestamp_micros] if args.key?(:last_rotation_timestamp_micros)
21002
21300
  @name = args[:name] if args.key?(:name)
21301
+ @notebooklm_state = args[:notebooklm_state] if args.key?(:notebooklm_state)
21003
21302
  @single_region_keys = args[:single_region_keys] if args.key?(:single_region_keys)
21004
21303
  @state = args[:state] if args.key?(:state)
21005
21304
  end
@@ -21593,6 +21892,17 @@ module Google
21593
21892
  class GoogleCloudDiscoveryengineV1betaDataStore
21594
21893
  include Google::Apis::Core::Hashable
21595
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
+
21596
21906
  # Configuration data for advance site search.
21597
21907
  # Corresponds to the JSON property `advancedSiteSearchConfig`
21598
21908
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaAdvancedSiteSearchConfig]
@@ -21717,6 +22027,7 @@ module Google
21717
22027
 
21718
22028
  # Update properties of this object
21719
22029
  def update!(**args)
22030
+ @acl_enabled = args[:acl_enabled] if args.key?(:acl_enabled)
21720
22031
  @advanced_site_search_config = args[:advanced_site_search_config] if args.key?(:advanced_site_search_config)
21721
22032
  @billing_estimation = args[:billing_estimation] if args.key?(:billing_estimation)
21722
22033
  @cmek_config = args[:cmek_config] if args.key?(:cmek_config)
@@ -23707,7 +24018,8 @@ module Google
23707
24018
  # @return [String]
23708
24019
  attr_accessor :title
23709
24020
 
23710
- # Required. The URL for the page the user wants to promote.
24021
+ # Optional. The URL for the page the user wants to promote. Must be set for site
24022
+ # search. For other verticals, this is optional.
23711
24023
  # Corresponds to the JSON property `uri`
23712
24024
  # @return [String]
23713
24025
  attr_accessor :uri
@@ -23760,14 +24072,19 @@ module Google
23760
24072
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec]
23761
24073
  attr_accessor :content_search_spec
23762
24074
 
23763
- # Specifications that define the specific [DataStore]s to be searched, along
23764
- # with configurations for those data stores. This is only considered for Engines
23765
- # with multiple data stores. For engines with a single data store, the specs
23766
- # 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.
23767
24079
  # Corresponds to the JSON property `dataStoreSpecs`
23768
24080
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
23769
24081
  attr_accessor :data_store_specs
23770
24082
 
24083
+ # Specifies features for display, like match highlighting.
24084
+ # Corresponds to the JSON property `displaySpec`
24085
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
24086
+ attr_accessor :display_spec
24087
+
23771
24088
  # The specification that uses customized query embedding vector to do semantic
23772
24089
  # document retrieval.
23773
24090
  # Corresponds to the JSON property `embeddingSpec`
@@ -23889,29 +24206,30 @@ module Google
23889
24206
  # This overrides ServingConfig.ranking_expression. The syntax and supported
23890
24207
  # features depend on the ranking_expression_backend value. If
23891
24208
  # ranking_expression_backend is not provided, it defaults to BYOE. === BYOE ===
23892
- # If ranking expression is not provided or set to BYOE, it should be a single
23893
- # function or multiple functions that are joined by "+". * ranking_expression =
23894
- # function, ` " + ", function `; Supported functions: * double * relevance_score
23895
- # * double * dotProduct(embedding_field_path) Function variables: * `
23896
- # relevance_score`: pre-defined keywords, used for measure relevance between
23897
- # query and document. * `embedding_field_path`: the document embedding field
23898
- # used with query embedding vector. * `dotProduct`: embedding function between
23899
- # embedding_field_path and query embedding vector. Example ranking expression:
23900
- # If document has an embedding field doc_embedding, the ranking expression could
23901
- # be `0.5 * relevance_score + 0.3 * dotProduct(doc_embedding)`. === CLEARBOX ===
23902
- # If ranking expression is set to CLEARBOX, the following expression types (and
23903
- # combinations of those chained using + or * operators) are supported: * double *
23904
- # signal * log(signal) * exp(signal) * rr(signal, double > 0) -- reciprocal
23905
- # rank transformation with second argument being a denominator constant. *
23906
- # is_nan(signal) -- returns 0 if signal is NaN, 1 otherwise. * fill_nan(signal1,
23907
- # signal2 | double) -- if signal1 is NaN, returns signal2 | double, else returns
23908
- # signal1. Examples: * 0.2 * gecko_score + 0.8 * log(bm25_score) * 0.2 * exp(
23909
- # fill_nan(gecko_score, 0)) + 0.3 * is_nan(bm25_score) * 0.2 * rr(gecko_score,
23910
- # 16) + 0.8 * rr(bm25_score, 32) The following signals are supported: *
23911
- # gecko_score -- semantic similarity adjustment * bm25_score -- keyword match
23912
- # adjustment * jetstream_score -- semantic relevance adjustment * pctr_rank --
23913
- # predicted conversion rate adjustment as a rank * freshness_rank -- freshness
23914
- # 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
23915
24233
  # Corresponds to the JSON property `rankingExpression`
23916
24234
  # @return [String]
23917
24235
  attr_accessor :ranking_expression
@@ -24039,6 +24357,7 @@ module Google
24039
24357
  @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
24040
24358
  @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
24041
24359
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
24360
+ @display_spec = args[:display_spec] if args.key?(:display_spec)
24042
24361
  @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
24043
24362
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
24044
24363
  @filter = args[:filter] if args.key?(:filter)
@@ -24076,7 +24395,7 @@ module Google
24076
24395
  include Google::Apis::Core::Hashable
24077
24396
 
24078
24397
  # Condition boost specifications. If a document matches multiple conditions in
24079
- # the specifictions, boost scores from these specifications are all applied and
24398
+ # the specifications, boost scores from these specifications are all applied and
24080
24399
  # combined in a non-linear way. Maximum number of specifications is 20.
24081
24400
  # Corresponds to the JSON property `conditionBoostSpecs`
24082
24401
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestBoostSpecConditionBoostSpec>]
@@ -24475,6 +24794,12 @@ module Google
24475
24794
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpecModelSpec]
24476
24795
  attr_accessor :model_spec
24477
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
+
24478
24803
  # The number of top results to generate the summary from. If the number of
24479
24804
  # results returned is less than `summaryResultCount`, the summary is generated
24480
24805
  # from all of the results. At most 10 results for documents mode, or 50 for
@@ -24508,6 +24833,7 @@ module Google
24508
24833
  @language_code = args[:language_code] if args.key?(:language_code)
24509
24834
  @model_prompt_spec = args[:model_prompt_spec] if args.key?(:model_prompt_spec)
24510
24835
  @model_spec = args[:model_spec] if args.key?(:model_spec)
24836
+ @multimodal_spec = args[:multimodal_spec] if args.key?(:multimodal_spec)
24511
24837
  @summary_result_count = args[:summary_result_count] if args.key?(:summary_result_count)
24512
24838
  @use_semantic_chunks = args[:use_semantic_chunks] if args.key?(:use_semantic_chunks)
24513
24839
  end
@@ -24559,6 +24885,26 @@ module Google
24559
24885
  end
24560
24886
  end
24561
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
+
24562
24908
  # A struct to define data stores to filter on in a search call and
24563
24909
  # configurations for those data stores. Otherwise, an `INVALID_ARGUMENT` error
24564
24910
  # is returned.
@@ -24595,6 +24941,25 @@ module Google
24595
24941
  end
24596
24942
  end
24597
24943
 
24944
+ # Specifies features for display, like match highlighting.
24945
+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
24946
+ include Google::Apis::Core::Hashable
24947
+
24948
+ # The condition under which match highlighting should occur.
24949
+ # Corresponds to the JSON property `matchHighlightingCondition`
24950
+ # @return [String]
24951
+ attr_accessor :match_highlighting_condition
24952
+
24953
+ def initialize(**args)
24954
+ update!(**args)
24955
+ end
24956
+
24957
+ # Update properties of this object
24958
+ def update!(**args)
24959
+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
24960
+ end
24961
+ end
24962
+
24598
24963
  # The specification that uses customized query embedding vector to do semantic
24599
24964
  # document retrieval.
24600
24965
  class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec