@@ -7508,6 +7508,14 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
75087508 # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
75097509 attr_accessor :errors
75107510
7511+ # Optional. If the connector is a hybrid connector, determines whether ingestion
7512+ # is enabled and appropriate resources are provisioned during connector creation.
7513+ # If the connector is not a hybrid connector, this field is ignored.
7514+ # Corresponds to the JSON property `hybridIngestionDisabled`
7515+ # @return [Boolean]
7516+ attr_accessor :hybrid_ingestion_disabled
7517+ alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
7518+
75117519 # The refresh interval to sync the Access Control List information for the
75127520 # documents ingested by this connector. If not set, the access control list will
75137521 # be refreshed at the default interval of 30 minutes. The identity refresh
@@ -7687,6 +7695,7 @@ def update!(**args)
76877695 @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
76887696 @entities = args[:entities] if args.key?(:entities)
76897697 @errors = args[:errors] if args.key?(:errors)
7698+ @hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
76907699 @identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
76917700 @identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
76927701 @incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
@@ -12196,6 +12205,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec
1219612205
1219712206 # Required. Full resource name of DataStore, such as `projects/`project`/
1219812207 # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
12208+ # The path must include the project number, project id is not supported for this
12209+ # field.
1219912210 # Corresponds to the JSON property `dataStore`
1220012211 # @return [String]
1220112212 attr_accessor :data_store
@@ -24632,6 +24643,8 @@ class GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec
2463224643
2463324644 # Required. Full resource name of DataStore, such as `projects/`project`/
2463424645 # locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
24646+ # The path must include the project number, project id is not supported for this
24647+ # field.
2463524648 # Corresponds to the JSON property `dataStore`
2463624649 # @return [String]
2463724650 attr_accessor :data_store
@@ -25693,6 +25706,11 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult
2569325706 # @return [Hash<String,Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDoubleList>]
2569425707 attr_accessor :model_scores
2569525708
25709+ # A set of ranking signals.
25710+ # Corresponds to the JSON property `rankSignals`
25711+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals]
25712+ attr_accessor :rank_signals
25713+
2569625714 def initialize(**args)
2569725715 update!(**args)
2569825716 end
@@ -25703,6 +25721,99 @@ def update!(**args)
2570325721 @document = args[:document] if args.key?(:document)
2570425722 @id = args[:id] if args.key?(:id)
2570525723 @model_scores = args[:model_scores] if args.key?(:model_scores)
25724+ @rank_signals = args[:rank_signals] if args.key?(:rank_signals)
25725+ end
25726+ end
25727+
25728+ # A set of ranking signals.
25729+ class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignals
25730+ include Google::Apis::Core::Hashable
25731+
25732+ # Optional. Combined custom boosts for a doc.
25733+ # Corresponds to the JSON property `boostingFactor`
25734+ # @return [Float]
25735+ attr_accessor :boosting_factor
25736+
25737+ # Optional. A list of custom clearbox signals.
25738+ # Corresponds to the JSON property `customSignals`
25739+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal>]
25740+ attr_accessor :custom_signals
25741+
25742+ # Optional. The default rank of the result.
25743+ # Corresponds to the JSON property `defaultRank`
25744+ # @return [Float]
25745+ attr_accessor :default_rank
25746+
25747+ # Optional. Age of the document in hours.
25748+ # Corresponds to the JSON property `documentAge`
25749+ # @return [Float]
25750+ attr_accessor :document_age
25751+
25752+ # Optional. Keyword matching adjustment.
25753+ # Corresponds to the JSON property `keywordSimilarityScore`
25754+ # @return [Float]
25755+ attr_accessor :keyword_similarity_score
25756+
25757+ # Optional. Predicted conversion rate adjustment as a rank.
25758+ # Corresponds to the JSON property `pctrRank`
25759+ # @return [Float]
25760+ attr_accessor :pctr_rank
25761+
25762+ # Optional. Semantic relevance adjustment.
25763+ # Corresponds to the JSON property `relevanceScore`
25764+ # @return [Float]
25765+ attr_accessor :relevance_score
25766+
25767+ # Optional. Semantic similarity adjustment.
25768+ # Corresponds to the JSON property `semanticSimilarityScore`
25769+ # @return [Float]
25770+ attr_accessor :semantic_similarity_score
25771+
25772+ # Optional. Topicality adjustment as a rank.
25773+ # Corresponds to the JSON property `topicalityRank`
25774+ # @return [Float]
25775+ attr_accessor :topicality_rank
25776+
25777+ def initialize(**args)
25778+ update!(**args)
25779+ end
25780+
25781+ # Update properties of this object
25782+ def update!(**args)
25783+ @boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
25784+ @custom_signals = args[:custom_signals] if args.key?(:custom_signals)
25785+ @default_rank = args[:default_rank] if args.key?(:default_rank)
25786+ @document_age = args[:document_age] if args.key?(:document_age)
25787+ @keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
25788+ @pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
25789+ @relevance_score = args[:relevance_score] if args.key?(:relevance_score)
25790+ @semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
25791+ @topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
25792+ end
25793+ end
25794+
25795+ # Custom clearbox signal represented by name and value pair.
25796+ class GoogleCloudDiscoveryengineV1betaSearchResponseSearchResultRankSignalsCustomSignal
25797+ include Google::Apis::Core::Hashable
25798+
25799+ # Optional. Name of the signal.
25800+ # Corresponds to the JSON property `name`
25801+ # @return [String]
25802+ attr_accessor :name
25803+
25804+ # Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
25805+ # Corresponds to the JSON property `value`
25806+ # @return [Float]
25807+ attr_accessor :value
25808+
25809+ def initialize(**args)
25810+ update!(**args)
25811+ end
25812+
25813+ # Update properties of this object
25814+ def update!(**args)
25815+ @name = args[:name] if args.key?(:name)
25816+ @value = args[:value] if args.key?(:value)
2570625817 end
2570725818 end
2570825819
0 commit comments