google-apis-discoveryengine_v1beta 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '096dc38f39311fc2c28e082e2ba5716b3f467b2b1fb7299e318633901932aca2'
|
4
|
+
data.tar.gz: 793dff2e9ce1e03d6b7dae1a41e7372d838ce6846de24746edc1f2971c1a72f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ef13ac6c1aba32836932fc2783428a5c5ff75a920203d596a186389af444da3602c01b333fea85c7b92058c163b20de473b814e54d774097482b71d3de2042d
|
7
|
+
data.tar.gz: 9679f0b36acf3a998c9cb48793c5c3af7b0658aa1e928955544c706990266732dc38aa01a86757ff3b984e7254268dc6dc83b5a68830ffefd2b99afd4f7a6229
|
data/CHANGELOG.md
CHANGED
@@ -1270,19 +1270,12 @@ module Google
|
|
1270
1270
|
class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
|
1271
1271
|
include Google::Apis::Core::Hashable
|
1272
1272
|
|
1273
|
-
# This number is an estimation on how much total quota this project needs to
|
1274
|
-
# successfully complete indexing.
|
1275
|
-
# Corresponds to the JSON property `totalRequiredQuota`
|
1276
|
-
# @return [Fixnum]
|
1277
|
-
attr_accessor :total_required_quota
|
1278
|
-
|
1279
1273
|
def initialize(**args)
|
1280
1274
|
update!(**args)
|
1281
1275
|
end
|
1282
1276
|
|
1283
1277
|
# Update properties of this object
|
1284
1278
|
def update!(**args)
|
1285
|
-
@total_required_quota = args[:total_required_quota] if args.key?(:total_required_quota)
|
1286
1279
|
end
|
1287
1280
|
end
|
1288
1281
|
|
@@ -1416,9 +1409,9 @@ module Google
|
|
1416
1409
|
# The unique document field paths that serve as the source of this suggestion if
|
1417
1410
|
# it was generated from completable fields. This field is only populated for the
|
1418
1411
|
# document-completable model.
|
1419
|
-
# Corresponds to the JSON property `
|
1412
|
+
# Corresponds to the JSON property `completableFieldPaths`
|
1420
1413
|
# @return [Array<String>]
|
1421
|
-
attr_accessor :
|
1414
|
+
attr_accessor :completable_field_paths
|
1422
1415
|
|
1423
1416
|
# The suggestion for the query.
|
1424
1417
|
# Corresponds to the JSON property `suggestion`
|
@@ -1431,7 +1424,7 @@ module Google
|
|
1431
1424
|
|
1432
1425
|
# Update properties of this object
|
1433
1426
|
def update!(**args)
|
1434
|
-
@
|
1427
|
+
@completable_field_paths = args[:completable_field_paths] if args.key?(:completable_field_paths)
|
1435
1428
|
@suggestion = args[:suggestion] if args.key?(:suggestion)
|
1436
1429
|
end
|
1437
1430
|
end
|
@@ -1599,6 +1592,11 @@ module Google
|
|
1599
1592
|
# @return [String]
|
1600
1593
|
attr_accessor :serving_config
|
1601
1594
|
|
1595
|
+
# A specification for configuring a summary returned in a search response.
|
1596
|
+
# Corresponds to the JSON property `summarySpec`
|
1597
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec]
|
1598
|
+
attr_accessor :summary_spec
|
1599
|
+
|
1602
1600
|
# The user labels applied to a resource must meet the following requirements: *
|
1603
1601
|
# Each resource can have multiple labels, up to a maximum of 64. * Each label
|
1604
1602
|
# must be a key-value pair. * Keys have a minimum length of 1 character and a
|
@@ -1624,6 +1622,7 @@ module Google
|
|
1624
1622
|
@query = args[:query] if args.key?(:query)
|
1625
1623
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
1626
1624
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
1625
|
+
@summary_spec = args[:summary_spec] if args.key?(:summary_spec)
|
1627
1626
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
1628
1627
|
end
|
1629
1628
|
end
|
@@ -3911,6 +3910,11 @@ module Google
|
|
3911
3910
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummary
|
3912
3911
|
include Google::Apis::Core::Hashable
|
3913
3912
|
|
3913
|
+
# Safety Attribute categories and their associated confidence scores.
|
3914
|
+
# Corresponds to the JSON property `safetyAttributes`
|
3915
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes]
|
3916
|
+
attr_accessor :safety_attributes
|
3917
|
+
|
3914
3918
|
# Additional summary-skipped reasons. This provides the reason for ignored cases.
|
3915
3919
|
# If nothing is skipped, this field is not set.
|
3916
3920
|
# Corresponds to the JSON property `summarySkippedReasons`
|
@@ -3928,11 +3932,39 @@ module Google
|
|
3928
3932
|
|
3929
3933
|
# Update properties of this object
|
3930
3934
|
def update!(**args)
|
3935
|
+
@safety_attributes = args[:safety_attributes] if args.key?(:safety_attributes)
|
3931
3936
|
@summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons)
|
3932
3937
|
@summary_text = args[:summary_text] if args.key?(:summary_text)
|
3933
3938
|
end
|
3934
3939
|
end
|
3935
3940
|
|
3941
|
+
# Safety Attribute categories and their associated confidence scores.
|
3942
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
3943
|
+
include Google::Apis::Core::Hashable
|
3944
|
+
|
3945
|
+
# The display names of Safety Attribute categories associated with the generated
|
3946
|
+
# content. Order matches the Scores.
|
3947
|
+
# Corresponds to the JSON property `categories`
|
3948
|
+
# @return [Array<String>]
|
3949
|
+
attr_accessor :categories
|
3950
|
+
|
3951
|
+
# The confidence scores of the each category, higher value means higher
|
3952
|
+
# confidence. Order matches the Categories.
|
3953
|
+
# Corresponds to the JSON property `scores`
|
3954
|
+
# @return [Array<Float>]
|
3955
|
+
attr_accessor :scores
|
3956
|
+
|
3957
|
+
def initialize(**args)
|
3958
|
+
update!(**args)
|
3959
|
+
end
|
3960
|
+
|
3961
|
+
# Update properties of this object
|
3962
|
+
def update!(**args)
|
3963
|
+
@categories = args[:categories] if args.key?(:categories)
|
3964
|
+
@scores = args[:scores] if args.key?(:scores)
|
3965
|
+
end
|
3966
|
+
end
|
3967
|
+
|
3936
3968
|
# Defines text input.
|
3937
3969
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
3938
3970
|
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.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230905"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -634,6 +634,12 @@ module Google
|
|
634
634
|
include Google::Apis::Core::JsonObjectSupport
|
635
635
|
end
|
636
636
|
|
637
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
638
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
|
+
|
640
|
+
include Google::Apis::Core::JsonObjectSupport
|
641
|
+
end
|
642
|
+
|
637
643
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
638
644
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
645
|
|
@@ -1032,7 +1038,6 @@ module Google
|
|
1032
1038
|
class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
|
1033
1039
|
# @private
|
1034
1040
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1035
|
-
property :total_required_quota, :numeric_string => true, as: 'totalRequiredQuota'
|
1036
1041
|
end
|
1037
1042
|
end
|
1038
1043
|
|
@@ -1069,7 +1074,7 @@ module Google
|
|
1069
1074
|
class GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion
|
1070
1075
|
# @private
|
1071
1076
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
-
collection :
|
1077
|
+
collection :completable_field_paths, as: 'completableFieldPaths'
|
1073
1078
|
property :suggestion, as: 'suggestion'
|
1074
1079
|
end
|
1075
1080
|
end
|
@@ -1123,6 +1128,8 @@ module Google
|
|
1123
1128
|
|
1124
1129
|
property :safe_search, as: 'safeSearch'
|
1125
1130
|
property :serving_config, as: 'servingConfig'
|
1131
|
+
property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec::Representation
|
1132
|
+
|
1126
1133
|
hash :user_labels, as: 'userLabels'
|
1127
1134
|
end
|
1128
1135
|
end
|
@@ -1711,11 +1718,21 @@ module Google
|
|
1711
1718
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummary
|
1712
1719
|
# @private
|
1713
1720
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1721
|
+
property :safety_attributes, as: 'safetyAttributes', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes::Representation
|
1722
|
+
|
1714
1723
|
collection :summary_skipped_reasons, as: 'summarySkippedReasons'
|
1715
1724
|
property :summary_text, as: 'summaryText'
|
1716
1725
|
end
|
1717
1726
|
end
|
1718
1727
|
|
1728
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
1729
|
+
# @private
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1731
|
+
collection :categories, as: 'categories'
|
1732
|
+
collection :scores, as: 'scores'
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
|
1719
1736
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
1720
1737
|
# @private
|
1721
1738
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|