google-apis-discoveryengine_v1 0.61.0 → 0.62.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 +130 -12
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +64 -0
- data/lib/google/apis/discoveryengine_v1/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: cb53aa14eb58b19049f0ca604f7810eab07a50a4815976f90f382a3bb56b9d44
|
|
4
|
+
data.tar.gz: 00364ae1e9f32498569b35670ec66b9b68a501d52f935fce92798868e83cd9ac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61ce5983010f4dc58f73a8ab72c0943686418369fea2bc8d2d689cb1edd641c7f763cb07a432f7d226ee8a50a360857abd3074086bfb29ba7fc2468da038f0b7
|
|
7
|
+
data.tar.gz: daefe29e8918121e987fc51697f20569ed840d728feae8d565dfb96c3518984e79b79faf9c863a481a759433881baafa75ce9e0a6ccc7fb38800371747e4dd14
|
data/CHANGELOG.md
CHANGED
|
@@ -11684,10 +11684,12 @@ module Google
|
|
|
11684
11684
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec]
|
|
11685
11685
|
attr_accessor :relevance_score_spec
|
|
11686
11686
|
|
|
11687
|
-
# The relevance threshold of the search results.
|
|
11688
|
-
# threshold, leveraging a balance of precision and recall to deliver
|
|
11689
|
-
# accurate results and comprehensive coverage of relevant
|
|
11690
|
-
#
|
|
11687
|
+
# The global relevance threshold of the search results. Defaults to Google
|
|
11688
|
+
# defined threshold, leveraging a balance of precision and recall to deliver
|
|
11689
|
+
# both highly accurate results and comprehensive coverage of relevant
|
|
11690
|
+
# information. If more granular relevance filtering is required, use the `
|
|
11691
|
+
# relevance_filter_spec` instead. This feature is not supported for healthcare
|
|
11692
|
+
# search.
|
|
11691
11693
|
# Corresponds to the JSON property `relevanceThreshold`
|
|
11692
11694
|
# @return [String]
|
|
11693
11695
|
attr_accessor :relevance_threshold
|
|
@@ -23222,15 +23224,22 @@ module Google
|
|
|
23222
23224
|
# @return [String]
|
|
23223
23225
|
attr_accessor :region_code
|
|
23224
23226
|
|
|
23227
|
+
# Relevance filtering specification.
|
|
23228
|
+
# Corresponds to the JSON property `relevanceFilterSpec`
|
|
23229
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
|
|
23230
|
+
attr_accessor :relevance_filter_spec
|
|
23231
|
+
|
|
23225
23232
|
# The specification for returning the document relevance score.
|
|
23226
23233
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
|
23227
23234
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
|
|
23228
23235
|
attr_accessor :relevance_score_spec
|
|
23229
23236
|
|
|
23230
|
-
# The relevance threshold of the search results.
|
|
23231
|
-
# threshold, leveraging a balance of precision and recall to deliver
|
|
23232
|
-
# accurate results and comprehensive coverage of relevant
|
|
23233
|
-
#
|
|
23237
|
+
# The global relevance threshold of the search results. Defaults to Google
|
|
23238
|
+
# defined threshold, leveraging a balance of precision and recall to deliver
|
|
23239
|
+
# both highly accurate results and comprehensive coverage of relevant
|
|
23240
|
+
# information. If more granular relevance filtering is required, use the `
|
|
23241
|
+
# relevance_filter_spec` instead. This feature is not supported for healthcare
|
|
23242
|
+
# search.
|
|
23234
23243
|
# Corresponds to the JSON property `relevanceThreshold`
|
|
23235
23244
|
# @return [String]
|
|
23236
23245
|
attr_accessor :relevance_threshold
|
|
@@ -23366,6 +23375,7 @@ module Google
|
|
|
23366
23375
|
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
|
23367
23376
|
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
|
23368
23377
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
23378
|
+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
|
|
23369
23379
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
|
23370
23380
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
23371
23381
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
|
@@ -24319,6 +24329,56 @@ module Google
|
|
|
24319
24329
|
end
|
|
24320
24330
|
end
|
|
24321
24331
|
|
|
24332
|
+
# Relevance filtering specification.
|
|
24333
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
24334
|
+
include Google::Apis::Core::Hashable
|
|
24335
|
+
|
|
24336
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
24337
|
+
# Corresponds to the JSON property `keywordSearchThreshold`
|
|
24338
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
24339
|
+
attr_accessor :keyword_search_threshold
|
|
24340
|
+
|
|
24341
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
24342
|
+
# Corresponds to the JSON property `semanticSearchThreshold`
|
|
24343
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
24344
|
+
attr_accessor :semantic_search_threshold
|
|
24345
|
+
|
|
24346
|
+
def initialize(**args)
|
|
24347
|
+
update!(**args)
|
|
24348
|
+
end
|
|
24349
|
+
|
|
24350
|
+
# Update properties of this object
|
|
24351
|
+
def update!(**args)
|
|
24352
|
+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
|
|
24353
|
+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
|
|
24354
|
+
end
|
|
24355
|
+
end
|
|
24356
|
+
|
|
24357
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
24358
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
24359
|
+
include Google::Apis::Core::Hashable
|
|
24360
|
+
|
|
24361
|
+
# Pre-defined relevance threshold for the sub-search.
|
|
24362
|
+
# Corresponds to the JSON property `relevanceThreshold`
|
|
24363
|
+
# @return [String]
|
|
24364
|
+
attr_accessor :relevance_threshold
|
|
24365
|
+
|
|
24366
|
+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
24367
|
+
# Corresponds to the JSON property `semanticRelevanceThreshold`
|
|
24368
|
+
# @return [Float]
|
|
24369
|
+
attr_accessor :semantic_relevance_threshold
|
|
24370
|
+
|
|
24371
|
+
def initialize(**args)
|
|
24372
|
+
update!(**args)
|
|
24373
|
+
end
|
|
24374
|
+
|
|
24375
|
+
# Update properties of this object
|
|
24376
|
+
def update!(**args)
|
|
24377
|
+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
24378
|
+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
|
|
24379
|
+
end
|
|
24380
|
+
end
|
|
24381
|
+
|
|
24322
24382
|
# The specification for returning the document relevance score.
|
|
24323
24383
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
24324
24384
|
include Google::Apis::Core::Hashable
|
|
@@ -29107,15 +29167,22 @@ module Google
|
|
|
29107
29167
|
# @return [String]
|
|
29108
29168
|
attr_accessor :region_code
|
|
29109
29169
|
|
|
29170
|
+
# Relevance filtering specification.
|
|
29171
|
+
# Corresponds to the JSON property `relevanceFilterSpec`
|
|
29172
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
|
|
29173
|
+
attr_accessor :relevance_filter_spec
|
|
29174
|
+
|
|
29110
29175
|
# The specification for returning the document relevance score.
|
|
29111
29176
|
# Corresponds to the JSON property `relevanceScoreSpec`
|
|
29112
29177
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
|
|
29113
29178
|
attr_accessor :relevance_score_spec
|
|
29114
29179
|
|
|
29115
|
-
# The relevance threshold of the search results.
|
|
29116
|
-
# threshold, leveraging a balance of precision and recall to deliver
|
|
29117
|
-
# accurate results and comprehensive coverage of relevant
|
|
29118
|
-
#
|
|
29180
|
+
# The global relevance threshold of the search results. Defaults to Google
|
|
29181
|
+
# defined threshold, leveraging a balance of precision and recall to deliver
|
|
29182
|
+
# both highly accurate results and comprehensive coverage of relevant
|
|
29183
|
+
# information. If more granular relevance filtering is required, use the `
|
|
29184
|
+
# relevance_filter_spec` instead. This feature is not supported for healthcare
|
|
29185
|
+
# search.
|
|
29119
29186
|
# Corresponds to the JSON property `relevanceThreshold`
|
|
29120
29187
|
# @return [String]
|
|
29121
29188
|
attr_accessor :relevance_threshold
|
|
@@ -29241,6 +29308,7 @@ module Google
|
|
|
29241
29308
|
@ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
|
|
29242
29309
|
@ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
|
|
29243
29310
|
@region_code = args[:region_code] if args.key?(:region_code)
|
|
29311
|
+
@relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
|
|
29244
29312
|
@relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
|
|
29245
29313
|
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
29246
29314
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
|
@@ -30193,6 +30261,56 @@ module Google
|
|
|
30193
30261
|
end
|
|
30194
30262
|
end
|
|
30195
30263
|
|
|
30264
|
+
# Relevance filtering specification.
|
|
30265
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
30266
|
+
include Google::Apis::Core::Hashable
|
|
30267
|
+
|
|
30268
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
30269
|
+
# Corresponds to the JSON property `keywordSearchThreshold`
|
|
30270
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
30271
|
+
attr_accessor :keyword_search_threshold
|
|
30272
|
+
|
|
30273
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
30274
|
+
# Corresponds to the JSON property `semanticSearchThreshold`
|
|
30275
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
|
|
30276
|
+
attr_accessor :semantic_search_threshold
|
|
30277
|
+
|
|
30278
|
+
def initialize(**args)
|
|
30279
|
+
update!(**args)
|
|
30280
|
+
end
|
|
30281
|
+
|
|
30282
|
+
# Update properties of this object
|
|
30283
|
+
def update!(**args)
|
|
30284
|
+
@keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
|
|
30285
|
+
@semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
|
|
30286
|
+
end
|
|
30287
|
+
end
|
|
30288
|
+
|
|
30289
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
30290
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
30291
|
+
include Google::Apis::Core::Hashable
|
|
30292
|
+
|
|
30293
|
+
# Pre-defined relevance threshold for the sub-search.
|
|
30294
|
+
# Corresponds to the JSON property `relevanceThreshold`
|
|
30295
|
+
# @return [String]
|
|
30296
|
+
attr_accessor :relevance_threshold
|
|
30297
|
+
|
|
30298
|
+
# Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
30299
|
+
# Corresponds to the JSON property `semanticRelevanceThreshold`
|
|
30300
|
+
# @return [Float]
|
|
30301
|
+
attr_accessor :semantic_relevance_threshold
|
|
30302
|
+
|
|
30303
|
+
def initialize(**args)
|
|
30304
|
+
update!(**args)
|
|
30305
|
+
end
|
|
30306
|
+
|
|
30307
|
+
# Update properties of this object
|
|
30308
|
+
def update!(**args)
|
|
30309
|
+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
|
|
30310
|
+
@semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
|
|
30311
|
+
end
|
|
30312
|
+
end
|
|
30313
|
+
|
|
30196
30314
|
# The specification for returning the document relevance score.
|
|
30197
30315
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
30198
30316
|
include Google::Apis::Core::Hashable
|
|
@@ -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.62.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 = "20251217"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -3718,6 +3718,18 @@ module Google
|
|
|
3718
3718
|
include Google::Apis::Core::JsonObjectSupport
|
|
3719
3719
|
end
|
|
3720
3720
|
|
|
3721
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
3722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3723
|
+
|
|
3724
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3725
|
+
end
|
|
3726
|
+
|
|
3727
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
3728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3729
|
+
|
|
3730
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3731
|
+
end
|
|
3732
|
+
|
|
3721
3733
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
3722
3734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3723
3735
|
|
|
@@ -4642,6 +4654,18 @@ module Google
|
|
|
4642
4654
|
include Google::Apis::Core::JsonObjectSupport
|
|
4643
4655
|
end
|
|
4644
4656
|
|
|
4657
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
4658
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4659
|
+
|
|
4660
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4661
|
+
end
|
|
4662
|
+
|
|
4663
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
4664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4665
|
+
|
|
4666
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4667
|
+
end
|
|
4668
|
+
|
|
4645
4669
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
4646
4670
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4647
4671
|
|
|
@@ -11035,6 +11059,8 @@ module Google
|
|
|
11035
11059
|
property :ranking_expression, as: 'rankingExpression'
|
|
11036
11060
|
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
|
11037
11061
|
property :region_code, as: 'regionCode'
|
|
11062
|
+
property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
|
|
11063
|
+
|
|
11038
11064
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
|
|
11039
11065
|
|
|
11040
11066
|
property :relevance_threshold, as: 'relevanceThreshold'
|
|
@@ -11278,6 +11304,24 @@ module Google
|
|
|
11278
11304
|
end
|
|
11279
11305
|
end
|
|
11280
11306
|
|
|
11307
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
|
|
11308
|
+
# @private
|
|
11309
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11310
|
+
property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
11311
|
+
|
|
11312
|
+
property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
11313
|
+
|
|
11314
|
+
end
|
|
11315
|
+
end
|
|
11316
|
+
|
|
11317
|
+
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
11318
|
+
# @private
|
|
11319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11320
|
+
property :relevance_threshold, as: 'relevanceThreshold'
|
|
11321
|
+
property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
|
|
11322
|
+
end
|
|
11323
|
+
end
|
|
11324
|
+
|
|
11281
11325
|
class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
|
|
11282
11326
|
# @private
|
|
11283
11327
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12584,6 +12628,8 @@ module Google
|
|
|
12584
12628
|
property :ranking_expression, as: 'rankingExpression'
|
|
12585
12629
|
property :ranking_expression_backend, as: 'rankingExpressionBackend'
|
|
12586
12630
|
property :region_code, as: 'regionCode'
|
|
12631
|
+
property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
|
|
12632
|
+
|
|
12587
12633
|
property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
|
|
12588
12634
|
|
|
12589
12635
|
property :relevance_threshold, as: 'relevanceThreshold'
|
|
@@ -12826,6 +12872,24 @@ module Google
|
|
|
12826
12872
|
end
|
|
12827
12873
|
end
|
|
12828
12874
|
|
|
12875
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
|
|
12876
|
+
# @private
|
|
12877
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12878
|
+
property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
12879
|
+
|
|
12880
|
+
property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
|
|
12881
|
+
|
|
12882
|
+
end
|
|
12883
|
+
end
|
|
12884
|
+
|
|
12885
|
+
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
|
|
12886
|
+
# @private
|
|
12887
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12888
|
+
property :relevance_threshold, as: 'relevanceThreshold'
|
|
12889
|
+
property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
|
|
12890
|
+
end
|
|
12891
|
+
end
|
|
12892
|
+
|
|
12829
12893
|
class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
|
|
12830
12894
|
# @private
|
|
12831
12895
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2456,6 +2456,48 @@ module Google
|
|
|
2456
2456
|
execute_or_queue_command(command, &block)
|
|
2457
2457
|
end
|
|
2458
2458
|
|
|
2459
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
2460
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
2461
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
2462
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
2463
|
+
# @param [String] parent
|
|
2464
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
2465
|
+
# location`/collections/`collection`/engines/`engine``
|
|
2466
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
|
|
2467
|
+
# @param [String] serving_config_id
|
|
2468
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
2469
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
2470
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
2471
|
+
# @param [String] fields
|
|
2472
|
+
# Selector specifying which fields to include in a partial response.
|
|
2473
|
+
# @param [String] quota_user
|
|
2474
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
2475
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
2476
|
+
# @param [Google::Apis::RequestOptions] options
|
|
2477
|
+
# Request-specific options
|
|
2478
|
+
#
|
|
2479
|
+
# @yield [result, err] Result & error if block supplied
|
|
2480
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
2481
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
2482
|
+
#
|
|
2483
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
2484
|
+
#
|
|
2485
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2486
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2487
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2488
|
+
def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2489
|
+
command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
|
|
2490
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
2491
|
+
command.request_object = google_cloud_discoveryengine_v1_serving_config_object
|
|
2492
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
2493
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
2494
|
+
command.params['parent'] = parent unless parent.nil?
|
|
2495
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
2496
|
+
command.query['fields'] = fields unless fields.nil?
|
|
2497
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2498
|
+
execute_or_queue_command(command, &block)
|
|
2499
|
+
end
|
|
2500
|
+
|
|
2459
2501
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
2460
2502
|
# not exist.
|
|
2461
2503
|
# @param [String] name
|
|
@@ -5038,6 +5080,48 @@ module Google
|
|
|
5038
5080
|
execute_or_queue_command(command, &block)
|
|
5039
5081
|
end
|
|
5040
5082
|
|
|
5083
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
5084
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
5085
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
5086
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
5087
|
+
# @param [String] parent
|
|
5088
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
5089
|
+
# location`/collections/`collection`/engines/`engine``
|
|
5090
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
|
|
5091
|
+
# @param [String] serving_config_id
|
|
5092
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
5093
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
5094
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
5095
|
+
# @param [String] fields
|
|
5096
|
+
# Selector specifying which fields to include in a partial response.
|
|
5097
|
+
# @param [String] quota_user
|
|
5098
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
5099
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
5100
|
+
# @param [Google::Apis::RequestOptions] options
|
|
5101
|
+
# Request-specific options
|
|
5102
|
+
#
|
|
5103
|
+
# @yield [result, err] Result & error if block supplied
|
|
5104
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
5105
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
5106
|
+
#
|
|
5107
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
5108
|
+
#
|
|
5109
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
5110
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
5111
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
5112
|
+
def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
5113
|
+
command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
|
|
5114
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
5115
|
+
command.request_object = google_cloud_discoveryengine_v1_serving_config_object
|
|
5116
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
5117
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
5118
|
+
command.params['parent'] = parent unless parent.nil?
|
|
5119
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
5120
|
+
command.query['fields'] = fields unless fields.nil?
|
|
5121
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
5122
|
+
execute_or_queue_command(command, &block)
|
|
5123
|
+
end
|
|
5124
|
+
|
|
5041
5125
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
5042
5126
|
# not exist.
|
|
5043
5127
|
# @param [String] name
|
|
@@ -7407,6 +7491,48 @@ module Google
|
|
|
7407
7491
|
execute_or_queue_command(command, &block)
|
|
7408
7492
|
end
|
|
7409
7493
|
|
|
7494
|
+
# Creates a ServingConfig. Note: The Google Cloud console works only with the
|
|
7495
|
+
# default serving config. Additional ServingConfigs can be created and managed
|
|
7496
|
+
# only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
|
|
7497
|
+
# otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
7498
|
+
# @param [String] parent
|
|
7499
|
+
# Required. Full resource name of parent. Format: `projects/`project`/locations/`
|
|
7500
|
+
# location`/collections/`collection`/engines/`engine``
|
|
7501
|
+
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] google_cloud_discoveryengine_v1_serving_config_object
|
|
7502
|
+
# @param [String] serving_config_id
|
|
7503
|
+
# Required. The ID to use for the ServingConfig, which will become the final
|
|
7504
|
+
# component of the ServingConfig's resource name. This value should be 4-63
|
|
7505
|
+
# characters, and valid characters are /a-zA-Z0-9+/.
|
|
7506
|
+
# @param [String] fields
|
|
7507
|
+
# Selector specifying which fields to include in a partial response.
|
|
7508
|
+
# @param [String] quota_user
|
|
7509
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7510
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7511
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7512
|
+
# Request-specific options
|
|
7513
|
+
#
|
|
7514
|
+
# @yield [result, err] Result & error if block supplied
|
|
7515
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
|
|
7516
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7517
|
+
#
|
|
7518
|
+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
|
|
7519
|
+
#
|
|
7520
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7521
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7522
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7523
|
+
def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7524
|
+
command = make_simple_command(:post, 'v1/{+parent}/servingConfigs', options)
|
|
7525
|
+
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
7526
|
+
command.request_object = google_cloud_discoveryengine_v1_serving_config_object
|
|
7527
|
+
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
|
|
7528
|
+
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
|
|
7529
|
+
command.params['parent'] = parent unless parent.nil?
|
|
7530
|
+
command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
|
|
7531
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7532
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7533
|
+
execute_or_queue_command(command, &block)
|
|
7534
|
+
end
|
|
7535
|
+
|
|
7410
7536
|
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
7411
7537
|
# not exist.
|
|
7412
7538
|
# @param [String] name
|
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.62.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.62.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:
|