google-apis-discoveryengine_v1beta 0.92.0 → 0.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +152 -8
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +66 -0
- data/lib/google/apis/discoveryengine_v1beta/service.rb +126 -0
- 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: 6089cd065de1cee0c472494bb6129945236f8a7d94531974c1394f874904a87c
|
|
4
|
+
data.tar.gz: 1d370639771bf37f3ef26d578621c065b8bf338d0c49e6f09c8acb777bcdd648
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2da0fed3d6b77aa60dff80c29f939e00d141e98f14d2c61d5d5876ec4240444924102f229b4ee517df3257d584844c65b5a4e0f2ef24457eab2fc122fbc71da9
|
|
7
|
+
data.tar.gz: 68a3c5a3b55006a041c1fe0090e461b87349f9e799ffd044861e85c27457e33445ee00285f66a2844b5b91eecf667c833d8235b1ce4a96ba831eafcbd42f09ca
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
|
2
2
|
|
|
3
|
+
### v0.94.0 (2026-01-11)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260107
|
|
6
|
+
|
|
7
|
+
### v0.93.0 (2025-12-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251217
|
|
10
|
+
|
|
3
11
|
### v0.92.0 (2025-12-14)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251209
|
|
@@ -1003,6 +1003,19 @@ module Google
|
|
|
1003
1003
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy]
|
|
1004
1004
|
attr_accessor :customer_policy
|
|
1005
1005
|
|
|
1006
|
+
# Optional. This field controls the default web grounding toggle for end users
|
|
1007
|
+
# if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
|
1008
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
|
|
1009
|
+
# false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
|
1010
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
|
|
1011
|
+
# enabled by default on UI. If true, grounding toggle will be disabled by
|
|
1012
|
+
# default on UI. End users can still enable web grounding in the UI if web
|
|
1013
|
+
# grounding is enabled.
|
|
1014
|
+
# Corresponds to the JSON property `defaultWebGroundingToggleOff`
|
|
1015
|
+
# @return [Boolean]
|
|
1016
|
+
attr_accessor :default_web_grounding_toggle_off
|
|
1017
|
+
alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
|
|
1018
|
+
|
|
1006
1019
|
# Optional. Description for additional information. Expected to be shown on the
|
|
1007
1020
|
# configuration UI, not to the users of the assistant.
|
|
1008
1021
|
# Corresponds to the JSON property `description`
|
|
@@ -1052,6 +1065,7 @@ module Google
|
|
|
1052
1065
|
# Update properties of this object
|
|
1053
1066
|
def update!(**args)
|
|
1054
1067
|
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
|
1068
|
+
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
|
1055
1069
|
@description = args[:description] if args.key?(:description)
|
|
1056
1070
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1057
1071
|
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
|
@@ -13345,15 +13359,22 @@ module Google
|
|
|
13345
13359
|
# @return [String]
|
|
13346
13360
|
attr_accessor :region_code
|
|
13347
13361
|
|
|
13362
|
+
# Relevance filtering specification.
|
|
13363
|
+
# Corresponds to the JSON property `relevanceFilterSpec`
|
|
13364
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
|
|
13365
|
+
attr_accessor :relevance_filter_spec
|
|
13366
|
+
|
|
13348
13367
|
# The specification for returning the document relevance score.
|
|
13349
13368
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
|
13350
13369
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
|
|
13351
13370
|
attr_accessor :relevance_score_spec
|
|
13352
13371
|
|
|
13353
|
-
# The relevance threshold of the search results.
|
|
13354
|
-
# threshold, leveraging a balance of precision and recall to deliver
|
|
13355
|
-
# accurate results and comprehensive coverage of relevant
|
|
13356
|
-
#
|
|
13372
|
+
# The global relevance threshold of the search results. Defaults to Google
|
|
13373
|
+
# defined threshold, leveraging a balance of precision and recall to deliver
|
|
13374
|
+
# both highly accurate results and comprehensive coverage of relevant
|
|
13375
|
+
# information. If more granular relevance filtering is required, use the `
|
|
13376
|
+
# relevance_filter_spec` instead. This feature is not supported for healthcare
|
|
13377
|
+
# search.
|
|
13357
13378
|
# Corresponds to the JSON property `relevanceThreshold`
|
|
13358
13379
|
# @return [String]
|
|
13359
13380
|
attr_accessor :relevance_threshold
|
|
@@ -13489,6 +13510,7 @@ module Google
|
|
|
13489
13510
|
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
|
13490
13511
|
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
|
13491
13512
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
13513
|
+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
|
|
13492
13514
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
|
13493
13515
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
13494
13516
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
|
@@ -14442,6 +14464,56 @@ module Google
|
|
|
14442
14464
|
end
|
|
14443
14465
|
end
|
|
14444
14466
|
|
|
14467
|
+
# Relevance filtering specification.
|
|
14468
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
14469
|
+
include Google::Apis::Core::Hashable
|
|
14470
|
+
|
|
14471
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
14472
|
+
# Corresponds to the JSON property `keywordSearchThreshold`
|
|
14473
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
14474
|
+
attr_accessor :keyword_search_threshold
|
|
14475
|
+
|
|
14476
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
14477
|
+
# Corresponds to the JSON property `semanticSearchThreshold`
|
|
14478
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
14479
|
+
attr_accessor :semantic_search_threshold
|
|
14480
|
+
|
|
14481
|
+
def initialize(**args)
|
|
14482
|
+
update!(**args)
|
|
14483
|
+
end
|
|
14484
|
+
|
|
14485
|
+
# Update properties of this object
|
|
14486
|
+
def update!(**args)
|
|
14487
|
+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
|
|
14488
|
+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
|
|
14489
|
+
end
|
|
14490
|
+
end
|
|
14491
|
+
|
|
14492
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
14493
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
14494
|
+
include Google::Apis::Core::Hashable
|
|
14495
|
+
|
|
14496
|
+
# Pre-defined relevance threshold for the sub-search.
|
|
14497
|
+
# Corresponds to the JSON property `relevanceThreshold`
|
|
14498
|
+
# @return [String]
|
|
14499
|
+
attr_accessor :relevance_threshold
|
|
14500
|
+
|
|
14501
|
+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
14502
|
+
# Corresponds to the JSON property `semanticRelevanceThreshold`
|
|
14503
|
+
# @return [Float]
|
|
14504
|
+
attr_accessor :semantic_relevance_threshold
|
|
14505
|
+
|
|
14506
|
+
def initialize(**args)
|
|
14507
|
+
update!(**args)
|
|
14508
|
+
end
|
|
14509
|
+
|
|
14510
|
+
# Update properties of this object
|
|
14511
|
+
def update!(**args)
|
|
14512
|
+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
14513
|
+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
|
|
14514
|
+
end
|
|
14515
|
+
end
|
|
14516
|
+
|
|
14445
14517
|
# The specification for returning the document relevance score.
|
|
14446
14518
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
14447
14519
|
include Google::Apis::Core::Hashable
|
|
@@ -17933,6 +18005,19 @@ module Google
|
|
|
17933
18005
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy]
|
|
17934
18006
|
attr_accessor :customer_policy
|
|
17935
18007
|
|
|
18008
|
+
# Optional. This field controls the default web grounding toggle for end users
|
|
18009
|
+
# if `web_grounding_type` is set to `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
|
18010
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`. By default, this field is set to
|
|
18011
|
+
# false. If `web_grounding_type` is `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or `
|
|
18012
|
+
# WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web grounding
|
|
18013
|
+
# enabled by default on UI. If true, grounding toggle will be disabled by
|
|
18014
|
+
# default on UI. End users can still enable web grounding in the UI if web
|
|
18015
|
+
# grounding is enabled.
|
|
18016
|
+
# Corresponds to the JSON property `defaultWebGroundingToggleOff`
|
|
18017
|
+
# @return [Boolean]
|
|
18018
|
+
attr_accessor :default_web_grounding_toggle_off
|
|
18019
|
+
alias_method :default_web_grounding_toggle_off?, :default_web_grounding_toggle_off
|
|
18020
|
+
|
|
17936
18021
|
# Optional. Description for additional information. Expected to be shown on the
|
|
17937
18022
|
# configuration UI, not to the users of the assistant.
|
|
17938
18023
|
# Corresponds to the JSON property `description`
|
|
@@ -17982,6 +18067,7 @@ module Google
|
|
|
17982
18067
|
# Update properties of this object
|
|
17983
18068
|
def update!(**args)
|
|
17984
18069
|
@customer_policy = args[:customer_policy] if args.key?(:customer_policy)
|
|
18070
|
+
@default_web_grounding_toggle_off = args[:default_web_grounding_toggle_off] if args.key?(:default_web_grounding_toggle_off)
|
|
17985
18071
|
@description = args[:description] if args.key?(:description)
|
|
17986
18072
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
17987
18073
|
@enabled_tools = args[:enabled_tools] if args.key?(:enabled_tools)
|
|
@@ -26650,15 +26736,22 @@ module Google
|
|
|
26650
26736
|
# @return [String]
|
|
26651
26737
|
attr_accessor :region_code
|
|
26652
26738
|
|
|
26739
|
+
# Relevance filtering specification.
|
|
26740
|
+
# Corresponds to the JSON property `relevanceFilterSpec`
|
|
26741
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
|
|
26742
|
+
attr_accessor :relevance_filter_spec
|
|
26743
|
+
|
|
26653
26744
|
# The specification for returning the document relevance score.
|
|
26654
26745
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
|
26655
26746
|
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
|
|
26656
26747
|
attr_accessor :relevance_score_spec
|
|
26657
26748
|
|
|
26658
|
-
# The relevance threshold of the search results.
|
|
26659
|
-
# threshold, leveraging a balance of precision and recall to deliver
|
|
26660
|
-
# accurate results and comprehensive coverage of relevant
|
|
26661
|
-
#
|
|
26749
|
+
# The global relevance threshold of the search results. Defaults to Google
|
|
26750
|
+
# defined threshold, leveraging a balance of precision and recall to deliver
|
|
26751
|
+
# both highly accurate results and comprehensive coverage of relevant
|
|
26752
|
+
# information. If more granular relevance filtering is required, use the `
|
|
26753
|
+
# relevance_filter_spec` instead. This feature is not supported for healthcare
|
|
26754
|
+
# search.
|
|
26662
26755
|
# Corresponds to the JSON property `relevanceThreshold`
|
|
26663
26756
|
# @return [String]
|
|
26664
26757
|
attr_accessor :relevance_threshold
|
|
@@ -26784,6 +26877,7 @@ module Google
|
|
|
26784
26877
|
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
|
26785
26878
|
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
|
26786
26879
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
26880
|
+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
|
|
26787
26881
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
|
26788
26882
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
26789
26883
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
|
@@ -27736,6 +27830,56 @@ module Google
|
|
|
27736
27830
|
end
|
|
27737
27831
|
end
|
|
27738
27832
|
|
|
27833
|
+
# Relevance filtering specification.
|
|
27834
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
27835
|
+
include Google::Apis::Core::Hashable
|
|
27836
|
+
|
|
27837
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
27838
|
+
# Corresponds to the JSON property `keywordSearchThreshold`
|
|
27839
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
27840
|
+
attr_accessor :keyword_search_threshold
|
|
27841
|
+
|
|
27842
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
27843
|
+
# Corresponds to the JSON property `semanticSearchThreshold`
|
|
27844
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
27845
|
+
attr_accessor :semantic_search_threshold
|
|
27846
|
+
|
|
27847
|
+
def initialize(**args)
|
|
27848
|
+
update!(**args)
|
|
27849
|
+
end
|
|
27850
|
+
|
|
27851
|
+
# Update properties of this object
|
|
27852
|
+
def update!(**args)
|
|
27853
|
+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
|
|
27854
|
+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
|
|
27855
|
+
end
|
|
27856
|
+
end
|
|
27857
|
+
|
|
27858
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
27859
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
27860
|
+
include Google::Apis::Core::Hashable
|
|
27861
|
+
|
|
27862
|
+
# Pre-defined relevance threshold for the sub-search.
|
|
27863
|
+
# Corresponds to the JSON property `relevanceThreshold`
|
|
27864
|
+
# @return [String]
|
|
27865
|
+
attr_accessor :relevance_threshold
|
|
27866
|
+
|
|
27867
|
+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
27868
|
+
# Corresponds to the JSON property `semanticRelevanceThreshold`
|
|
27869
|
+
# @return [Float]
|
|
27870
|
+
attr_accessor :semantic_relevance_threshold
|
|
27871
|
+
|
|
27872
|
+
def initialize(**args)
|
|
27873
|
+
update!(**args)
|
|
27874
|
+
end
|
|
27875
|
+
|
|
27876
|
+
# Update properties of this object
|
|
27877
|
+
def update!(**args)
|
|
27878
|
+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
27879
|
+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
|
|
27880
|
+
end
|
|
27881
|
+
end
|
|
27882
|
+
|
|
27739
27883
|
# The specification for returning the document relevance score.
|
|
27740
27884
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
27741
27885
|
include Google::Apis::Core::Hashable
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DiscoveryengineV1beta
|
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.94.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 = "20260107"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2206,6 +2206,18 @@ module Google
|
|
|
2206
2206
|
include Google::Apis::Core::JsonObjectSupport
|
|
2207
2207
|
end
|
|
2208
2208
|
|
|
2209
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2211
|
+
|
|
2212
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2213
|
+
end
|
|
2214
|
+
|
|
2215
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2217
|
+
|
|
2218
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2219
|
+
end
|
|
2220
|
+
|
|
2209
2221
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
2210
2222
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2211
2223
|
|
|
@@ -4414,6 +4426,18 @@ module Google
|
|
|
4414
4426
|
include Google::Apis::Core::JsonObjectSupport
|
|
4415
4427
|
end
|
|
4416
4428
|
|
|
4429
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
4430
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4431
|
+
|
|
4432
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4433
|
+
end
|
|
4434
|
+
|
|
4435
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
4436
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4437
|
+
|
|
4438
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4439
|
+
end
|
|
4440
|
+
|
|
4417
4441
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
4418
4442
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4419
4443
|
|
|
@@ -5197,6 +5221,7 @@ module Google
|
|
|
5197
5221
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
5198
5222
|
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantCustomerPolicy::Representation
|
|
5199
5223
|
|
|
5224
|
+
property :default_web_grounding_toggle_off, as: 'defaultWebGroundingToggleOff'
|
|
5200
5225
|
property :description, as: 'description'
|
|
5201
5226
|
property :display_name, as: 'displayName'
|
|
5202
5227
|
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AssistantToolList::Representation
|
|
@@ -8478,6 +8503,8 @@ module Google
|
|
|
8478
8503
|
property :ranking_expression, as: 'rankingExpression'
|
|
8479
8504
|
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
|
8480
8505
|
property :region_code, as: 'regionCode'
|
|
8506
|
+
property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
|
|
8507
|
+
|
|
8481
8508
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
|
|
8482
8509
|
|
|
8483
8510
|
property :relevance_threshold, as: 'relevanceThreshold'
|
|
@@ -8721,6 +8748,24 @@ module Google
|
|
|
8721
8748
|
end
|
|
8722
8749
|
end
|
|
8723
8750
|
|
|
8751
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
8752
|
+
# @private
|
|
8753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8754
|
+
property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
8755
|
+
|
|
8756
|
+
property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
8757
|
+
|
|
8758
|
+
end
|
|
8759
|
+
end
|
|
8760
|
+
|
|
8761
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
8762
|
+
# @private
|
|
8763
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8764
|
+
property :relevance_threshold, as: 'relevanceThreshold'
|
|
8765
|
+
property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
|
|
8766
|
+
end
|
|
8767
|
+
end
|
|
8768
|
+
|
|
8724
8769
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
8725
8770
|
# @private
|
|
8726
8771
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9723,6 +9768,7 @@ module Google
|
|
|
9723
9768
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9724
9769
|
property :customer_policy, as: 'customerPolicy', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy::Representation
|
|
9725
9770
|
|
|
9771
|
+
property :default_web_grounding_toggle_off, as: 'defaultWebGroundingToggleOff'
|
|
9726
9772
|
property :description, as: 'description'
|
|
9727
9773
|
property :display_name, as: 'displayName'
|
|
9728
9774
|
hash :enabled_tools, as: 'enabledTools', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantToolList::Representation
|
|
@@ -12158,6 +12204,8 @@ module Google
|
|
|
12158
12204
|
property :ranking_expression, as: 'rankingExpression'
|
|
12159
12205
|
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
|
12160
12206
|
property :region_code, as: 'regionCode'
|
|
12207
|
+
property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
|
|
12208
|
+
|
|
12161
12209
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
|
|
12162
12210
|
|
|
12163
12211
|
property :relevance_threshold, as: 'relevanceThreshold'
|
|
@@ -12400,6 +12448,24 @@ module Google
|
|
|
12400
12448
|
end
|
|
12401
12449
|
end
|
|
12402
12450
|
|
|
12451
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
12452
|
+
# @private
|
|
12453
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12454
|
+
property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
12455
|
+
|
|
12456
|
+
property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
12457
|
+
|
|
12458
|
+
end
|
|
12459
|
+
end
|
|
12460
|
+
|
|
12461
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
12462
|
+
# @private
|
|
12463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12464
|
+
property :relevance_threshold, as: 'relevanceThreshold'
|
|
12465
|
+
property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
|
|
12466
|
+
end
|
|
12467
|
+
end
|
|
12468
|
+
|
|
12403
12469
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
12404
12470
|
# @private
|
|
12405
12471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2377,6 +2377,48 @@ module Google
|
|
|
2377
2377
|
execute_or_queue_command(command, &block)
|
|
2378
2378
|
end
|
|
2379
2379
|
|
|
2380
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
2381
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
2382
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
2383
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
2384
|
+
# @param [String] parent
|
|
2385
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
2386
|
+
# location`/collections/`collection`/engines/`engine``
|
|
2387
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
|
2388
|
+
# @param [String] serving_config_id
|
|
2389
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
2390
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
2391
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
2392
|
+
# @param [String] fields
|
|
2393
|
+
# Selector specifying which fields to include in a partial response.
|
|
2394
|
+
# @param [String] quota_user
|
|
2395
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2396
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2397
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2398
|
+
# Request-specific options
|
|
2399
|
+
#
|
|
2400
|
+
# @yield [result, err] Result & error if block supplied
|
|
2401
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
|
|
2402
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2403
|
+
#
|
|
2404
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
|
|
2405
|
+
#
|
|
2406
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2407
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2408
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2409
|
+
def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2410
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
|
|
2411
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
2412
|
+
command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
|
|
2413
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
2414
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
|
|
2415
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2416
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
2417
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2418
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2419
|
+
execute_or_queue_command(command, &block)
|
|
2420
|
+
end
|
|
2421
|
+
|
|
2380
2422
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
2381
2423
|
# not exist.
|
|
2382
2424
|
# @param [String] name
|
|
@@ -4979,6 +5021,48 @@ module Google
|
|
|
4979
5021
|
execute_or_queue_command(command, &block)
|
|
4980
5022
|
end
|
|
4981
5023
|
|
|
5024
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
5025
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
5026
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
5027
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
5028
|
+
# @param [String] parent
|
|
5029
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
5030
|
+
# location`/collections/`collection`/engines/`engine``
|
|
5031
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
|
5032
|
+
# @param [String] serving_config_id
|
|
5033
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
5034
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
5035
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
5036
|
+
# @param [String] fields
|
|
5037
|
+
# Selector specifying which fields to include in a partial response.
|
|
5038
|
+
# @param [String] quota_user
|
|
5039
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5040
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5041
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5042
|
+
# Request-specific options
|
|
5043
|
+
#
|
|
5044
|
+
# @yield [result, err] Result & error if block supplied
|
|
5045
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
|
|
5046
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5047
|
+
#
|
|
5048
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
|
|
5049
|
+
#
|
|
5050
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5051
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5052
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5053
|
+
def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5054
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
|
|
5055
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
5056
|
+
command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
|
|
5057
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
5058
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
|
|
5059
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5060
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
5061
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5062
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5063
|
+
execute_or_queue_command(command, &block)
|
|
5064
|
+
end
|
|
5065
|
+
|
|
4982
5066
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
4983
5067
|
# not exist.
|
|
4984
5068
|
# @param [String] name
|
|
@@ -7264,6 +7348,48 @@ module Google
|
|
|
7264
7348
|
execute_or_queue_command(command, &block)
|
|
7265
7349
|
end
|
|
7266
7350
|
|
|
7351
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
7352
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
7353
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
7354
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
7355
|
+
# @param [String] parent
|
|
7356
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
7357
|
+
# location`/collections/`collection`/engines/`engine``
|
|
7358
|
+
# @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] google_cloud_discoveryengine_v1beta_serving_config_object
|
|
7359
|
+
# @param [String] serving_config_id
|
|
7360
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
7361
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
7362
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
7363
|
+
# @param [String] fields
|
|
7364
|
+
# Selector specifying which fields to include in a partial response.
|
|
7365
|
+
# @param [String] quota_user
|
|
7366
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7367
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7368
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7369
|
+
# Request-specific options
|
|
7370
|
+
#
|
|
7371
|
+
# @yield [result, err] Result & error if block supplied
|
|
7372
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig] parsed result object
|
|
7373
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7374
|
+
#
|
|
7375
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig]
|
|
7376
|
+
#
|
|
7377
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7378
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7379
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7380
|
+
def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1beta_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7381
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/servingConfigs', options)
|
|
7382
|
+
command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
7383
|
+
command.request_object = google_cloud_discoveryengine_v1beta_serving_config_object
|
|
7384
|
+
command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig::Representation
|
|
7385
|
+
command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaServingConfig
|
|
7386
|
+
command.params['parent'] = parent unless parent.nil?
|
|
7387
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
7388
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7389
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7390
|
+
execute_or_queue_command(command, &block)
|
|
7391
|
+
end
|
|
7392
|
+
|
|
7267
7393
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
7268
7394
|
# not exist.
|
|
7269
7395
|
# @param [String] name
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.94.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_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.94.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|