google-apis-discoveryengine_v1 0.47.0 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +184 -2
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +42 -0
- data/lib/google/apis/discoveryengine_v1/service.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee49b1bf268d9daf09a17cec0b4236b127f53410f403a1adf083bb939e5122c5
|
4
|
+
data.tar.gz: c4f0cc1595392f2f7dd6f6b35bfae3462562a7ca33c2d615159d7bc873bfc472
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c49af7964e53800f856bf43a8b728478bf4b595ea67a78aed604523ea70b9b8cc1f17b2be9597b1646149ebefa9b4ee0cc1c8170dc67b34440965dacd251a190
|
7
|
+
data.tar.gz: d313c9577233d234012ac0ea7f3ebf4d5aad25b0b0270e8600961e5d9376392087e43593cf2df2587a13007b6dbed16a0a9fa9afda1d2d2a85c42acfdb9e4bde
|
data/CHANGELOG.md
CHANGED
@@ -10683,6 +10683,65 @@ module Google
|
|
10683
10683
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec]
|
10684
10684
|
attr_accessor :query_expansion_spec
|
10685
10685
|
|
10686
|
+
# Optional. The ranking expression controls the customized ranking on retrieval
|
10687
|
+
# documents. This overrides ServingConfig.ranking_expression. The syntax and
|
10688
|
+
# supported features depend on the `ranking_expression_backend` value. If `
|
10689
|
+
# ranking_expression_backend` is not provided, it defaults to `RANK_BY_EMBEDDING`
|
10690
|
+
# . If ranking_expression_backend is not provided or set to `RANK_BY_EMBEDDING`,
|
10691
|
+
# it should be a single function or multiple functions that are joined by "+". *
|
10692
|
+
# ranking_expression = function, ` " + ", function `; Supported functions: *
|
10693
|
+
# double * relevance_score * double * dotProduct(embedding_field_path) Function
|
10694
|
+
# variables: * `relevance_score`: pre-defined keywords, used for measure
|
10695
|
+
# relevance between query and document. * `embedding_field_path`: the document
|
10696
|
+
# embedding field used with query embedding vector. * `dotProduct`: embedding
|
10697
|
+
# function between `embedding_field_path` and query embedding vector. Example
|
10698
|
+
# ranking expression: If document has an embedding field doc_embedding, the
|
10699
|
+
# ranking expression could be `0.5 * relevance_score + 0.3 * dotProduct(
|
10700
|
+
# doc_embedding)`. If ranking_expression_backend is set to `RANK_BY_FORMULA`,
|
10701
|
+
# the following expression types (and combinations of those chained using + or *
|
10702
|
+
# operators) are supported: * `double` * `signal` * `log(signal)` * `exp(signal)`
|
10703
|
+
# * `rr(signal, double > 0)` -- reciprocal rank transformation with second
|
10704
|
+
# argument being a denominator constant. * `is_nan(signal)` -- returns 0 if
|
10705
|
+
# signal is NaN, 1 otherwise. * `fill_nan(signal1, signal2 | double)` -- if
|
10706
|
+
# signal1 is NaN, returns signal2 | double, else returns signal1. Here are a few
|
10707
|
+
# examples of ranking formulas that use the supported ranking expression types: -
|
10708
|
+
# `0.2 * semantic_similarity_score + 0.8 * log(keyword_similarity_score)` --
|
10709
|
+
# mostly rank by the logarithm of `keyword_similarity_score` with slight `
|
10710
|
+
# semantic_smilarity_score` adjustment. - `0.2 * exp(fill_nan(
|
10711
|
+
# semantic_similarity_score, 0)) + 0.3 * is_nan(keyword_similarity_score)` --
|
10712
|
+
# rank by the exponent of `semantic_similarity_score` filling the value with 0
|
10713
|
+
# if it's NaN, also add constant 0.3 adjustment to the final score if `
|
10714
|
+
# semantic_similarity_score` is NaN. - `0.2 * rr(semantic_similarity_score, 16) +
|
10715
|
+
# 0.8 * rr(keyword_similarity_score, 16)` -- mostly rank by the reciprocal rank
|
10716
|
+
# of `keyword_similarity_score` with slight adjustment of reciprocal rank of `
|
10717
|
+
# semantic_smilarity_score`. The following signals are supported: * `
|
10718
|
+
# semantic_similarity_score`: semantic similarity adjustment that is calculated
|
10719
|
+
# using the embeddings generated by a proprietary Google model. This score
|
10720
|
+
# determines how semantically similar a search query is to a document. * `
|
10721
|
+
# keyword_similarity_score`: keyword match adjustment uses the Best Match 25 (
|
10722
|
+
# BM25) ranking function. This score is calculated using a probabilistic model
|
10723
|
+
# to estimate the probability that a document is relevant to a given query. * `
|
10724
|
+
# relevance_score`: semantic relevance adjustment that uses a proprietary Google
|
10725
|
+
# model to determine the meaning and intent behind a user's query in context
|
10726
|
+
# with the content in the documents. * `pctr_rank`: predicted conversion rate
|
10727
|
+
# adjustment as a rank use predicted Click-through rate (pCTR) to gauge the
|
10728
|
+
# relevance and attractiveness of a search result from a user's perspective. A
|
10729
|
+
# higher pCTR suggests that the result is more likely to satisfy the user's
|
10730
|
+
# query and intent, making it a valuable signal for ranking. * `freshness_rank`:
|
10731
|
+
# freshness adjustment as a rank * `document_age`: The time in hours elapsed
|
10732
|
+
# since the document was last updated, a floating-point number (e.g., 0.25 means
|
10733
|
+
# 15 minutes). * `topicality_rank`: topicality adjustment as a rank. Uses
|
10734
|
+
# proprietary Google model to determine the keyword-based overlap between the
|
10735
|
+
# query and the document. * `base_rank`: the default rank of the result
|
10736
|
+
# Corresponds to the JSON property `rankingExpression`
|
10737
|
+
# @return [String]
|
10738
|
+
attr_accessor :ranking_expression
|
10739
|
+
|
10740
|
+
# Optional. The backend to use for the ranking expression evaluation.
|
10741
|
+
# Corresponds to the JSON property `rankingExpressionBackend`
|
10742
|
+
# @return [String]
|
10743
|
+
attr_accessor :ranking_expression_backend
|
10744
|
+
|
10686
10745
|
# The specification for returning the document relevance score.
|
10687
10746
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
10688
10747
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec]
|
@@ -10792,6 +10851,8 @@ module Google
|
|
10792
10851
|
@params = args[:params] if args.key?(:params)
|
10793
10852
|
@query = args[:query] if args.key?(:query)
|
10794
10853
|
@query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
|
10854
|
+
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
10855
|
+
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
10795
10856
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
10796
10857
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
10797
10858
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
@@ -11314,6 +11375,8 @@ module Google
|
|
11314
11375
|
|
11315
11376
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
11316
11377
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
11378
|
+
# The path must include the project number, project id is not supported for this
|
11379
|
+
# field.
|
11317
11380
|
# Corresponds to the JSON property `dataStore`
|
11318
11381
|
# @return [String]
|
11319
11382
|
attr_accessor :data_store
|
@@ -11864,6 +11927,11 @@ module Google
|
|
11864
11927
|
# @return [Hash<String,Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList>]
|
11865
11928
|
attr_accessor :model_scores
|
11866
11929
|
|
11930
|
+
# A set of ranking signals.
|
11931
|
+
# Corresponds to the JSON property `rankSignals`
|
11932
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals]
|
11933
|
+
attr_accessor :rank_signals
|
11934
|
+
|
11867
11935
|
def initialize(**args)
|
11868
11936
|
update!(**args)
|
11869
11937
|
end
|
@@ -11874,6 +11942,99 @@ module Google
|
|
11874
11942
|
@document = args[:document] if args.key?(:document)
|
11875
11943
|
@id = args[:id] if args.key?(:id)
|
11876
11944
|
@model_scores = args[:model_scores] if args.key?(:model_scores)
|
11945
|
+
@rank_signals = args[:rank_signals] if args.key?(:rank_signals)
|
11946
|
+
end
|
11947
|
+
end
|
11948
|
+
|
11949
|
+
# A set of ranking signals.
|
11950
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
11951
|
+
include Google::Apis::Core::Hashable
|
11952
|
+
|
11953
|
+
# Optional. Combined custom boosts for a doc.
|
11954
|
+
# Corresponds to the JSON property `boostingFactor`
|
11955
|
+
# @return [Float]
|
11956
|
+
attr_accessor :boosting_factor
|
11957
|
+
|
11958
|
+
# Optional. A list of custom clearbox signals.
|
11959
|
+
# Corresponds to the JSON property `customSignals`
|
11960
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal>]
|
11961
|
+
attr_accessor :custom_signals
|
11962
|
+
|
11963
|
+
# Optional. The default rank of the result.
|
11964
|
+
# Corresponds to the JSON property `defaultRank`
|
11965
|
+
# @return [Float]
|
11966
|
+
attr_accessor :default_rank
|
11967
|
+
|
11968
|
+
# Optional. Age of the document in hours.
|
11969
|
+
# Corresponds to the JSON property `documentAge`
|
11970
|
+
# @return [Float]
|
11971
|
+
attr_accessor :document_age
|
11972
|
+
|
11973
|
+
# Optional. Keyword matching adjustment.
|
11974
|
+
# Corresponds to the JSON property `keywordSimilarityScore`
|
11975
|
+
# @return [Float]
|
11976
|
+
attr_accessor :keyword_similarity_score
|
11977
|
+
|
11978
|
+
# Optional. Predicted conversion rate adjustment as a rank.
|
11979
|
+
# Corresponds to the JSON property `pctrRank`
|
11980
|
+
# @return [Float]
|
11981
|
+
attr_accessor :pctr_rank
|
11982
|
+
|
11983
|
+
# Optional. Semantic relevance adjustment.
|
11984
|
+
# Corresponds to the JSON property `relevanceScore`
|
11985
|
+
# @return [Float]
|
11986
|
+
attr_accessor :relevance_score
|
11987
|
+
|
11988
|
+
# Optional. Semantic similarity adjustment.
|
11989
|
+
# Corresponds to the JSON property `semanticSimilarityScore`
|
11990
|
+
# @return [Float]
|
11991
|
+
attr_accessor :semantic_similarity_score
|
11992
|
+
|
11993
|
+
# Optional. Topicality adjustment as a rank.
|
11994
|
+
# Corresponds to the JSON property `topicalityRank`
|
11995
|
+
# @return [Float]
|
11996
|
+
attr_accessor :topicality_rank
|
11997
|
+
|
11998
|
+
def initialize(**args)
|
11999
|
+
update!(**args)
|
12000
|
+
end
|
12001
|
+
|
12002
|
+
# Update properties of this object
|
12003
|
+
def update!(**args)
|
12004
|
+
@boosting_factor = args[:boosting_factor] if args.key?(:boosting_factor)
|
12005
|
+
@custom_signals = args[:custom_signals] if args.key?(:custom_signals)
|
12006
|
+
@default_rank = args[:default_rank] if args.key?(:default_rank)
|
12007
|
+
@document_age = args[:document_age] if args.key?(:document_age)
|
12008
|
+
@keyword_similarity_score = args[:keyword_similarity_score] if args.key?(:keyword_similarity_score)
|
12009
|
+
@pctr_rank = args[:pctr_rank] if args.key?(:pctr_rank)
|
12010
|
+
@relevance_score = args[:relevance_score] if args.key?(:relevance_score)
|
12011
|
+
@semantic_similarity_score = args[:semantic_similarity_score] if args.key?(:semantic_similarity_score)
|
12012
|
+
@topicality_rank = args[:topicality_rank] if args.key?(:topicality_rank)
|
12013
|
+
end
|
12014
|
+
end
|
12015
|
+
|
12016
|
+
# Custom clearbox signal represented by name and value pair.
|
12017
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
12018
|
+
include Google::Apis::Core::Hashable
|
12019
|
+
|
12020
|
+
# Optional. Name of the signal.
|
12021
|
+
# Corresponds to the JSON property `name`
|
12022
|
+
# @return [String]
|
12023
|
+
attr_accessor :name
|
12024
|
+
|
12025
|
+
# Optional. Float value representing the ranking signal (e.g. 1.25 for BM25).
|
12026
|
+
# Corresponds to the JSON property `value`
|
12027
|
+
# @return [Float]
|
12028
|
+
attr_accessor :value
|
12029
|
+
|
12030
|
+
def initialize(**args)
|
12031
|
+
update!(**args)
|
12032
|
+
end
|
12033
|
+
|
12034
|
+
# Update properties of this object
|
12035
|
+
def update!(**args)
|
12036
|
+
@name = args[:name] if args.key?(:name)
|
12037
|
+
@value = args[:value] if args.key?(:value)
|
11877
12038
|
end
|
11878
12039
|
end
|
11879
12040
|
|
@@ -13809,6 +13970,13 @@ module Google
|
|
13809
13970
|
# @return [String]
|
13810
13971
|
attr_accessor :service_name
|
13811
13972
|
|
13973
|
+
# Optional. Whether to use static secrets for the connector. If true, the
|
13974
|
+
# secrets provided in the action_params will be ignored.
|
13975
|
+
# Corresponds to the JSON property `useStaticSecrets`
|
13976
|
+
# @return [Boolean]
|
13977
|
+
attr_accessor :use_static_secrets
|
13978
|
+
alias_method :use_static_secrets?, :use_static_secrets
|
13979
|
+
|
13812
13980
|
def initialize(**args)
|
13813
13981
|
update!(**args)
|
13814
13982
|
end
|
@@ -13818,6 +13986,7 @@ module Google
|
|
13818
13986
|
@action_params = args[:action_params] if args.key?(:action_params)
|
13819
13987
|
@is_action_configured = args[:is_action_configured] if args.key?(:is_action_configured)
|
13820
13988
|
@service_name = args[:service_name] if args.key?(:service_name)
|
13989
|
+
@use_static_secrets = args[:use_static_secrets] if args.key?(:use_static_secrets)
|
13821
13990
|
end
|
13822
13991
|
end
|
13823
13992
|
|
@@ -15808,6 +15977,14 @@ module Google
|
|
15808
15977
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleRpcStatus>]
|
15809
15978
|
attr_accessor :errors
|
15810
15979
|
|
15980
|
+
# Optional. If the connector is a hybrid connector, determines whether ingestion
|
15981
|
+
# is enabled and appropriate resources are provisioned during connector creation.
|
15982
|
+
# If the connector is not a hybrid connector, this field is ignored.
|
15983
|
+
# Corresponds to the JSON property `hybridIngestionDisabled`
|
15984
|
+
# @return [Boolean]
|
15985
|
+
attr_accessor :hybrid_ingestion_disabled
|
15986
|
+
alias_method :hybrid_ingestion_disabled?, :hybrid_ingestion_disabled
|
15987
|
+
|
15811
15988
|
# The refresh interval to sync the Access Control List information for the
|
15812
15989
|
# documents ingested by this connector. If not set, the access control list will
|
15813
15990
|
# be refreshed at the default interval of 30 minutes. The identity refresh
|
@@ -15987,6 +16164,7 @@ module Google
|
|
15987
16164
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
15988
16165
|
@entities = args[:entities] if args.key?(:entities)
|
15989
16166
|
@errors = args[:errors] if args.key?(:errors)
|
16167
|
+
@hybrid_ingestion_disabled = args[:hybrid_ingestion_disabled] if args.key?(:hybrid_ingestion_disabled)
|
15990
16168
|
@identity_refresh_interval = args[:identity_refresh_interval] if args.key?(:identity_refresh_interval)
|
15991
16169
|
@identity_schedule_config = args[:identity_schedule_config] if args.key?(:identity_schedule_config)
|
15992
16170
|
@incremental_refresh_interval = args[:incremental_refresh_interval] if args.key?(:incremental_refresh_interval)
|
@@ -18594,8 +18772,8 @@ module Google
|
|
18594
18772
|
|
18595
18773
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
18596
18774
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
18597
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
18598
|
-
# create_time
|
18775
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
18776
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
18599
18777
|
# first, then by update_time.
|
18600
18778
|
# Corresponds to the JSON property `orderBy`
|
18601
18779
|
# @return [String]
|
@@ -20496,6 +20674,8 @@ module Google
|
|
20496
20674
|
|
20497
20675
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
20498
20676
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
20677
|
+
# The path must include the project number, project id is not supported for this
|
20678
|
+
# field.
|
20499
20679
|
# Corresponds to the JSON property `dataStore`
|
20500
20680
|
# @return [String]
|
20501
20681
|
attr_accessor :data_store
|
@@ -25865,6 +26045,8 @@ module Google
|
|
25865
26045
|
|
25866
26046
|
# Required. Full resource name of DataStore, such as `projects/`project`/
|
25867
26047
|
# locations/`location`/collections/`collection_id`/dataStores/`data_store_id``.
|
26048
|
+
# The path must include the project number, project id is not supported for this
|
26049
|
+
# field.
|
25868
26050
|
# Corresponds to the JSON property `dataStore`
|
25869
26051
|
# @return [String]
|
25870
26052
|
attr_accessor :data_store
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1
|
18
18
|
# Version of the google-apis-discoveryengine_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250816"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1912,6 +1912,18 @@ module Google
|
|
1912
1912
|
include Google::Apis::Core::JsonObjectSupport
|
1913
1913
|
end
|
1914
1914
|
|
1915
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
1916
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1917
|
+
|
1918
|
+
include Google::Apis::Core::JsonObjectSupport
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
1922
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1923
|
+
|
1924
|
+
include Google::Apis::Core::JsonObjectSupport
|
1925
|
+
end
|
1926
|
+
|
1915
1927
|
class GoogleCloudDiscoveryengineV1SearchResponseSessionInfo
|
1916
1928
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1917
1929
|
|
@@ -7244,6 +7256,8 @@ module Google
|
|
7244
7256
|
property :query, as: 'query'
|
7245
7257
|
property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestQueryExpansionSpec::Representation
|
7246
7258
|
|
7259
|
+
property :ranking_expression, as: 'rankingExpression'
|
7260
|
+
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
7247
7261
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec::Representation
|
7248
7262
|
|
7249
7263
|
property :relevance_threshold, as: 'relevanceThreshold'
|
@@ -7522,6 +7536,32 @@ module Google
|
|
7522
7536
|
property :id, as: 'id'
|
7523
7537
|
hash :model_scores, as: 'modelScores', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DoubleList::Representation
|
7524
7538
|
|
7539
|
+
property :rank_signals, as: 'rankSignals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals::Representation
|
7540
|
+
|
7541
|
+
end
|
7542
|
+
end
|
7543
|
+
|
7544
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignals
|
7545
|
+
# @private
|
7546
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7547
|
+
property :boosting_factor, as: 'boostingFactor'
|
7548
|
+
collection :custom_signals, as: 'customSignals', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal::Representation
|
7549
|
+
|
7550
|
+
property :default_rank, as: 'defaultRank'
|
7551
|
+
property :document_age, as: 'documentAge'
|
7552
|
+
property :keyword_similarity_score, as: 'keywordSimilarityScore'
|
7553
|
+
property :pctr_rank, as: 'pctrRank'
|
7554
|
+
property :relevance_score, as: 'relevanceScore'
|
7555
|
+
property :semantic_similarity_score, as: 'semanticSimilarityScore'
|
7556
|
+
property :topicality_rank, as: 'topicalityRank'
|
7557
|
+
end
|
7558
|
+
end
|
7559
|
+
|
7560
|
+
class GoogleCloudDiscoveryengineV1SearchResponseSearchResultRankSignalsCustomSignal
|
7561
|
+
# @private
|
7562
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7563
|
+
property :name, as: 'name'
|
7564
|
+
property :value, as: 'value'
|
7525
7565
|
end
|
7526
7566
|
end
|
7527
7567
|
|
@@ -8020,6 +8060,7 @@ module Google
|
|
8020
8060
|
hash :action_params, as: 'actionParams'
|
8021
8061
|
property :is_action_configured, as: 'isActionConfigured'
|
8022
8062
|
property :service_name, as: 'serviceName'
|
8063
|
+
property :use_static_secrets, as: 'useStaticSecrets'
|
8023
8064
|
end
|
8024
8065
|
end
|
8025
8066
|
|
@@ -8587,6 +8628,7 @@ module Google
|
|
8587
8628
|
|
8588
8629
|
collection :errors, as: 'errors', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
|
8589
8630
|
|
8631
|
+
property :hybrid_ingestion_disabled, as: 'hybridIngestionDisabled'
|
8590
8632
|
property :identity_refresh_interval, as: 'identityRefreshInterval'
|
8591
8633
|
property :identity_schedule_config, as: 'identityScheduleConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig::Representation
|
8592
8634
|
|
@@ -2515,8 +2515,8 @@ module Google
|
|
2515
2515
|
# @param [String] order_by
|
2516
2516
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
2517
2517
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
2518
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
2519
|
-
# create_time
|
2518
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
2519
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
2520
2520
|
# first, then by update_time.
|
2521
2521
|
# @param [Fixnum] page_size
|
2522
2522
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -4734,8 +4734,8 @@ module Google
|
|
4734
4734
|
# @param [String] order_by
|
4735
4735
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
4736
4736
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
4737
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
4738
|
-
# create_time
|
4737
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
4738
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
4739
4739
|
# first, then by update_time.
|
4740
4740
|
# @param [Fixnum] page_size
|
4741
4741
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
@@ -6878,8 +6878,8 @@ module Google
|
|
6878
6878
|
# @param [String] order_by
|
6879
6879
|
# A comma-separated list of fields to order by, sorted in ascending order. Use "
|
6880
6880
|
# desc" after a field name for descending. Supported fields: * `update_time` * `
|
6881
|
-
# create_time` * `session_name` * `is_pinned` Example: *
|
6882
|
-
# create_time
|
6881
|
+
# create_time` * `session_name` * `is_pinned` Example: * `update_time desc` * `
|
6882
|
+
# create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned
|
6883
6883
|
# first, then by update_time.
|
6884
6884
|
# @param [Fixnum] page_size
|
6885
6885
|
# Maximum number of results to return. If unspecified, defaults to 50. Max
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.48.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|