google-apis-discoveryengine_v1beta 0.20.0 → 0.22.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 +181 -19
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +82 -3
- data/lib/google/apis/discoveryengine_v1beta/service.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be813845d5d32a7e2cbca0854542fdd8174a53579e9de1a79e9f0764874cb6fc
|
4
|
+
data.tar.gz: 71eb1d3ccc7fbdd8510366e50ef2c4a20ddd3769dbb9e903910e139e26ede3c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cae9a2da17593a613dcd643af4f36be90a40e87a3679bf6c5e2291edc2490f5bf9dde13cef4f20da4eb9ac8350d35e85e0895f47bdcb3ce429a5785114ec4e19
|
7
|
+
data.tar.gz: ecb5df29d11b27f728b6728153db14883846573d36940b03a3e9f291023d082e1e71faf101df829a0e83dc1bc8ea5d1cf74ae4644dd6dc57a455915bf50a954f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.22.0 (2023-10-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230925
|
6
|
+
|
7
|
+
### v0.21.0 (2023-09-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230905
|
10
|
+
|
3
11
|
### v0.20.0 (2023-08-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230817
|
@@ -1104,6 +1104,143 @@ module Google
|
|
1104
1104
|
end
|
1105
1105
|
end
|
1106
1106
|
|
1107
|
+
# Metadata related to the progress of the SiteSearchEngineService.RecrawlUris
|
1108
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
1109
|
+
# field.
|
1110
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
|
1111
|
+
include Google::Apis::Core::Hashable
|
1112
|
+
|
1113
|
+
# Operation create time.
|
1114
|
+
# Corresponds to the JSON property `createTime`
|
1115
|
+
# @return [String]
|
1116
|
+
attr_accessor :create_time
|
1117
|
+
|
1118
|
+
# Unique URIs in the request that don't match any TargetSite in the DataStore,
|
1119
|
+
# only match TargetSites that haven't been fully indexed, or match a TargetSite
|
1120
|
+
# with type EXCLUDE.
|
1121
|
+
# Corresponds to the JSON property `invalidUris`
|
1122
|
+
# @return [Array<String>]
|
1123
|
+
attr_accessor :invalid_uris
|
1124
|
+
|
1125
|
+
# Total number of URIs that have yet to be crawled.
|
1126
|
+
# Corresponds to the JSON property `pendingCount`
|
1127
|
+
# @return [Fixnum]
|
1128
|
+
attr_accessor :pending_count
|
1129
|
+
|
1130
|
+
# Total number of URIs that were rejected due to insufficient indexing resources.
|
1131
|
+
# Corresponds to the JSON property `quotaExceededCount`
|
1132
|
+
# @return [Fixnum]
|
1133
|
+
attr_accessor :quota_exceeded_count
|
1134
|
+
|
1135
|
+
# Total number of URIs that have been crawled so far.
|
1136
|
+
# Corresponds to the JSON property `successCount`
|
1137
|
+
# @return [Fixnum]
|
1138
|
+
attr_accessor :success_count
|
1139
|
+
|
1140
|
+
# Operation last update time. If the operation is done, this is also the finish
|
1141
|
+
# time.
|
1142
|
+
# Corresponds to the JSON property `updateTime`
|
1143
|
+
# @return [String]
|
1144
|
+
attr_accessor :update_time
|
1145
|
+
|
1146
|
+
# Total number of unique URIs in the request that are not in invalid_uris.
|
1147
|
+
# Corresponds to the JSON property `validUrisCount`
|
1148
|
+
# @return [Fixnum]
|
1149
|
+
attr_accessor :valid_uris_count
|
1150
|
+
|
1151
|
+
def initialize(**args)
|
1152
|
+
update!(**args)
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# Update properties of this object
|
1156
|
+
def update!(**args)
|
1157
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1158
|
+
@invalid_uris = args[:invalid_uris] if args.key?(:invalid_uris)
|
1159
|
+
@pending_count = args[:pending_count] if args.key?(:pending_count)
|
1160
|
+
@quota_exceeded_count = args[:quota_exceeded_count] if args.key?(:quota_exceeded_count)
|
1161
|
+
@success_count = args[:success_count] if args.key?(:success_count)
|
1162
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1163
|
+
@valid_uris_count = args[:valid_uris_count] if args.key?(:valid_uris_count)
|
1164
|
+
end
|
1165
|
+
end
|
1166
|
+
|
1167
|
+
# Response message for SiteSearchEngineService.RecrawlUris method.
|
1168
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
|
1169
|
+
include Google::Apis::Core::Hashable
|
1170
|
+
|
1171
|
+
# URIs that were not crawled before the LRO terminated.
|
1172
|
+
# Corresponds to the JSON property `failedUris`
|
1173
|
+
# @return [Array<String>]
|
1174
|
+
attr_accessor :failed_uris
|
1175
|
+
|
1176
|
+
# Details for a sample of up to 10 `failed_uris`.
|
1177
|
+
# Corresponds to the JSON property `failureSamples`
|
1178
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo>]
|
1179
|
+
attr_accessor :failure_samples
|
1180
|
+
|
1181
|
+
def initialize(**args)
|
1182
|
+
update!(**args)
|
1183
|
+
end
|
1184
|
+
|
1185
|
+
# Update properties of this object
|
1186
|
+
def update!(**args)
|
1187
|
+
@failed_uris = args[:failed_uris] if args.key?(:failed_uris)
|
1188
|
+
@failure_samples = args[:failure_samples] if args.key?(:failure_samples)
|
1189
|
+
end
|
1190
|
+
end
|
1191
|
+
|
1192
|
+
# Details about why a particular URI failed to be crawled. Each FailureInfo
|
1193
|
+
# contains one FailureReason per CorpusType.
|
1194
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
|
1195
|
+
include Google::Apis::Core::Hashable
|
1196
|
+
|
1197
|
+
# List of failure reasons by corpus type (e.g. desktop, mobile).
|
1198
|
+
# Corresponds to the JSON property `failureReasons`
|
1199
|
+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason>]
|
1200
|
+
attr_accessor :failure_reasons
|
1201
|
+
|
1202
|
+
# URI that failed to be crawled.
|
1203
|
+
# Corresponds to the JSON property `uri`
|
1204
|
+
# @return [String]
|
1205
|
+
attr_accessor :uri
|
1206
|
+
|
1207
|
+
def initialize(**args)
|
1208
|
+
update!(**args)
|
1209
|
+
end
|
1210
|
+
|
1211
|
+
# Update properties of this object
|
1212
|
+
def update!(**args)
|
1213
|
+
@failure_reasons = args[:failure_reasons] if args.key?(:failure_reasons)
|
1214
|
+
@uri = args[:uri] if args.key?(:uri)
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1218
|
+
# Details about why crawling failed for a particular CorpusType, e.g. DESKTOP
|
1219
|
+
# and MOBILE crawling may fail for different reasons.
|
1220
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
|
1221
|
+
include Google::Apis::Core::Hashable
|
1222
|
+
|
1223
|
+
# DESKTOP, MOBILE, or CORPUS_TYPE_UNSPECIFIED.
|
1224
|
+
# Corresponds to the JSON property `corpusType`
|
1225
|
+
# @return [String]
|
1226
|
+
attr_accessor :corpus_type
|
1227
|
+
|
1228
|
+
# Reason why the URI was not crawled.
|
1229
|
+
# Corresponds to the JSON property `errorMessage`
|
1230
|
+
# @return [String]
|
1231
|
+
attr_accessor :error_message
|
1232
|
+
|
1233
|
+
def initialize(**args)
|
1234
|
+
update!(**args)
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
# Update properties of this object
|
1238
|
+
def update!(**args)
|
1239
|
+
@corpus_type = args[:corpus_type] if args.key?(:corpus_type)
|
1240
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1107
1244
|
# Defines the structure and layout of a type of document data.
|
1108
1245
|
class GoogleCloudDiscoveryengineV1alphaSchema
|
1109
1246
|
include Google::Apis::Core::Hashable
|
@@ -1270,19 +1407,12 @@ module Google
|
|
1270
1407
|
class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
|
1271
1408
|
include Google::Apis::Core::Hashable
|
1272
1409
|
|
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
1410
|
def initialize(**args)
|
1280
1411
|
update!(**args)
|
1281
1412
|
end
|
1282
1413
|
|
1283
1414
|
# Update properties of this object
|
1284
1415
|
def update!(**args)
|
1285
|
-
@total_required_quota = args[:total_required_quota] if args.key?(:total_required_quota)
|
1286
1416
|
end
|
1287
1417
|
end
|
1288
1418
|
|
@@ -1416,9 +1546,9 @@ module Google
|
|
1416
1546
|
# The unique document field paths that serve as the source of this suggestion if
|
1417
1547
|
# it was generated from completable fields. This field is only populated for the
|
1418
1548
|
# document-completable model.
|
1419
|
-
# Corresponds to the JSON property `
|
1549
|
+
# Corresponds to the JSON property `completableFieldPaths`
|
1420
1550
|
# @return [Array<String>]
|
1421
|
-
attr_accessor :
|
1551
|
+
attr_accessor :completable_field_paths
|
1422
1552
|
|
1423
1553
|
# The suggestion for the query.
|
1424
1554
|
# Corresponds to the JSON property `suggestion`
|
@@ -1431,7 +1561,7 @@ module Google
|
|
1431
1561
|
|
1432
1562
|
# Update properties of this object
|
1433
1563
|
def update!(**args)
|
1434
|
-
@
|
1564
|
+
@completable_field_paths = args[:completable_field_paths] if args.key?(:completable_field_paths)
|
1435
1565
|
@suggestion = args[:suggestion] if args.key?(:suggestion)
|
1436
1566
|
end
|
1437
1567
|
end
|
@@ -1599,6 +1729,11 @@ module Google
|
|
1599
1729
|
# @return [String]
|
1600
1730
|
attr_accessor :serving_config
|
1601
1731
|
|
1732
|
+
# A specification for configuring a summary returned in a search response.
|
1733
|
+
# Corresponds to the JSON property `summarySpec`
|
1734
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec]
|
1735
|
+
attr_accessor :summary_spec
|
1736
|
+
|
1602
1737
|
# The user labels applied to a resource must meet the following requirements: *
|
1603
1738
|
# Each resource can have multiple labels, up to a maximum of 64. * Each label
|
1604
1739
|
# must be a key-value pair. * Keys have a minimum length of 1 character and a
|
@@ -1624,6 +1759,7 @@ module Google
|
|
1624
1759
|
@query = args[:query] if args.key?(:query)
|
1625
1760
|
@safe_search = args[:safe_search] if args.key?(:safe_search)
|
1626
1761
|
@serving_config = args[:serving_config] if args.key?(:serving_config)
|
1762
|
+
@summary_spec = args[:summary_spec] if args.key?(:summary_spec)
|
1627
1763
|
@user_labels = args[:user_labels] if args.key?(:user_labels)
|
1628
1764
|
end
|
1629
1765
|
end
|
@@ -3253,13 +3389,6 @@ module Google
|
|
3253
3389
|
# @return [Fixnum]
|
3254
3390
|
attr_accessor :num_previous_segments
|
3255
3391
|
|
3256
|
-
# Specifies whether to return the confidence score from the extractive segments
|
3257
|
-
# in each search result. The default value is `false`.
|
3258
|
-
# Corresponds to the JSON property `returnExtractiveSegmentScore`
|
3259
|
-
# @return [Boolean]
|
3260
|
-
attr_accessor :return_extractive_segment_score
|
3261
|
-
alias_method :return_extractive_segment_score?, :return_extractive_segment_score
|
3262
|
-
|
3263
3392
|
def initialize(**args)
|
3264
3393
|
update!(**args)
|
3265
3394
|
end
|
@@ -3270,7 +3399,6 @@ module Google
|
|
3270
3399
|
@max_extractive_segment_count = args[:max_extractive_segment_count] if args.key?(:max_extractive_segment_count)
|
3271
3400
|
@num_next_segments = args[:num_next_segments] if args.key?(:num_next_segments)
|
3272
3401
|
@num_previous_segments = args[:num_previous_segments] if args.key?(:num_previous_segments)
|
3273
|
-
@return_extractive_segment_score = args[:return_extractive_segment_score] if args.key?(:return_extractive_segment_score)
|
3274
3402
|
end
|
3275
3403
|
end
|
3276
3404
|
|
@@ -3355,7 +3483,8 @@ module Google
|
|
3355
3483
|
attr_accessor :include_citations
|
3356
3484
|
alias_method :include_citations?, :include_citations
|
3357
3485
|
|
3358
|
-
# Language code for Summary. Use language tags defined by BCP47.
|
3486
|
+
# Language code for Summary. Use language tags defined by [BCP47](https://www.
|
3487
|
+
# rfc-editor.org/rfc/bcp/bcp47.txt). Note: This is an experimental feature.
|
3359
3488
|
# Corresponds to the JSON property `languageCode`
|
3360
3489
|
# @return [String]
|
3361
3490
|
attr_accessor :language_code
|
@@ -3911,6 +4040,11 @@ module Google
|
|
3911
4040
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummary
|
3912
4041
|
include Google::Apis::Core::Hashable
|
3913
4042
|
|
4043
|
+
# Safety Attribute categories and their associated confidence scores.
|
4044
|
+
# Corresponds to the JSON property `safetyAttributes`
|
4045
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes]
|
4046
|
+
attr_accessor :safety_attributes
|
4047
|
+
|
3914
4048
|
# Additional summary-skipped reasons. This provides the reason for ignored cases.
|
3915
4049
|
# If nothing is skipped, this field is not set.
|
3916
4050
|
# Corresponds to the JSON property `summarySkippedReasons`
|
@@ -3928,11 +4062,39 @@ module Google
|
|
3928
4062
|
|
3929
4063
|
# Update properties of this object
|
3930
4064
|
def update!(**args)
|
4065
|
+
@safety_attributes = args[:safety_attributes] if args.key?(:safety_attributes)
|
3931
4066
|
@summary_skipped_reasons = args[:summary_skipped_reasons] if args.key?(:summary_skipped_reasons)
|
3932
4067
|
@summary_text = args[:summary_text] if args.key?(:summary_text)
|
3933
4068
|
end
|
3934
4069
|
end
|
3935
4070
|
|
4071
|
+
# Safety Attribute categories and their associated confidence scores.
|
4072
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
4073
|
+
include Google::Apis::Core::Hashable
|
4074
|
+
|
4075
|
+
# The display names of Safety Attribute categories associated with the generated
|
4076
|
+
# content. Order matches the Scores.
|
4077
|
+
# Corresponds to the JSON property `categories`
|
4078
|
+
# @return [Array<String>]
|
4079
|
+
attr_accessor :categories
|
4080
|
+
|
4081
|
+
# The confidence scores of the each category, higher value means higher
|
4082
|
+
# confidence. Order matches the Categories.
|
4083
|
+
# Corresponds to the JSON property `scores`
|
4084
|
+
# @return [Array<Float>]
|
4085
|
+
attr_accessor :scores
|
4086
|
+
|
4087
|
+
def initialize(**args)
|
4088
|
+
update!(**args)
|
4089
|
+
end
|
4090
|
+
|
4091
|
+
# Update properties of this object
|
4092
|
+
def update!(**args)
|
4093
|
+
@categories = args[:categories] if args.key?(:categories)
|
4094
|
+
@scores = args[:scores] if args.key?(:scores)
|
4095
|
+
end
|
4096
|
+
end
|
4097
|
+
|
3936
4098
|
# Defines text input.
|
3937
4099
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
3938
4100
|
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.22.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 = "20230925"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -208,6 +208,30 @@ module Google
|
|
208
208
|
include Google::Apis::Core::JsonObjectSupport
|
209
209
|
end
|
210
210
|
|
211
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
211
235
|
class GoogleCloudDiscoveryengineV1alphaSchema
|
212
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
237
|
|
@@ -634,6 +658,12 @@ module Google
|
|
634
658
|
include Google::Apis::Core::JsonObjectSupport
|
635
659
|
end
|
636
660
|
|
661
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
637
667
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
638
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
639
669
|
|
@@ -985,6 +1015,45 @@ module Google
|
|
985
1015
|
end
|
986
1016
|
end
|
987
1017
|
|
1018
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
|
1019
|
+
# @private
|
1020
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1021
|
+
property :create_time, as: 'createTime'
|
1022
|
+
collection :invalid_uris, as: 'invalidUris'
|
1023
|
+
property :pending_count, as: 'pendingCount'
|
1024
|
+
property :quota_exceeded_count, as: 'quotaExceededCount'
|
1025
|
+
property :success_count, as: 'successCount'
|
1026
|
+
property :update_time, as: 'updateTime'
|
1027
|
+
property :valid_uris_count, as: 'validUrisCount'
|
1028
|
+
end
|
1029
|
+
end
|
1030
|
+
|
1031
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
|
1032
|
+
# @private
|
1033
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1034
|
+
collection :failed_uris, as: 'failedUris'
|
1035
|
+
collection :failure_samples, as: 'failureSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo::Representation
|
1036
|
+
|
1037
|
+
end
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
|
1041
|
+
# @private
|
1042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1043
|
+
collection :failure_reasons, as: 'failureReasons', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason::Representation
|
1044
|
+
|
1045
|
+
property :uri, as: 'uri'
|
1046
|
+
end
|
1047
|
+
end
|
1048
|
+
|
1049
|
+
class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
|
1050
|
+
# @private
|
1051
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1052
|
+
property :corpus_type, as: 'corpusType'
|
1053
|
+
property :error_message, as: 'errorMessage'
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
988
1057
|
class GoogleCloudDiscoveryengineV1alphaSchema
|
989
1058
|
# @private
|
990
1059
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1032,7 +1101,6 @@ module Google
|
|
1032
1101
|
class GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure
|
1033
1102
|
# @private
|
1034
1103
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1035
|
-
property :total_required_quota, :numeric_string => true, as: 'totalRequiredQuota'
|
1036
1104
|
end
|
1037
1105
|
end
|
1038
1106
|
|
@@ -1069,7 +1137,7 @@ module Google
|
|
1069
1137
|
class GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion
|
1070
1138
|
# @private
|
1071
1139
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1072
|
-
collection :
|
1140
|
+
collection :completable_field_paths, as: 'completableFieldPaths'
|
1073
1141
|
property :suggestion, as: 'suggestion'
|
1074
1142
|
end
|
1075
1143
|
end
|
@@ -1123,6 +1191,8 @@ module Google
|
|
1123
1191
|
|
1124
1192
|
property :safe_search, as: 'safeSearch'
|
1125
1193
|
property :serving_config, as: 'servingConfig'
|
1194
|
+
property :summary_spec, as: 'summarySpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec::Representation
|
1195
|
+
|
1126
1196
|
hash :user_labels, as: 'userLabels'
|
1127
1197
|
end
|
1128
1198
|
end
|
@@ -1543,7 +1613,6 @@ module Google
|
|
1543
1613
|
property :max_extractive_segment_count, as: 'maxExtractiveSegmentCount'
|
1544
1614
|
property :num_next_segments, as: 'numNextSegments'
|
1545
1615
|
property :num_previous_segments, as: 'numPreviousSegments'
|
1546
|
-
property :return_extractive_segment_score, as: 'returnExtractiveSegmentScore'
|
1547
1616
|
end
|
1548
1617
|
end
|
1549
1618
|
|
@@ -1711,11 +1780,21 @@ module Google
|
|
1711
1780
|
class GoogleCloudDiscoveryengineV1betaSearchResponseSummary
|
1712
1781
|
# @private
|
1713
1782
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1783
|
+
property :safety_attributes, as: 'safetyAttributes', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes::Representation
|
1784
|
+
|
1714
1785
|
collection :summary_skipped_reasons, as: 'summarySkippedReasons'
|
1715
1786
|
property :summary_text, as: 'summaryText'
|
1716
1787
|
end
|
1717
1788
|
end
|
1718
1789
|
|
1790
|
+
class GoogleCloudDiscoveryengineV1betaSearchResponseSummarySafetyAttributes
|
1791
|
+
# @private
|
1792
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1793
|
+
collection :categories, as: 'categories'
|
1794
|
+
collection :scores, as: 'scores'
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
|
1719
1798
|
class GoogleCloudDiscoveryengineV1betaTextInput
|
1720
1799
|
# @private
|
1721
1800
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -70,7 +70,7 @@ module Google
|
|
70
70
|
# imported search events. * `document-completable` - Using suggestions taken
|
71
71
|
# directly from user-imported document fields marked as completable. Default
|
72
72
|
# values: * `document` is the default model for regular dataStores. * `search-
|
73
|
-
# history` is the default model for
|
73
|
+
# history` is the default model for site search dataStores.
|
74
74
|
# @param [String] user_pseudo_id
|
75
75
|
# A unique identifier for tracking visitors. For example, this could be
|
76
76
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
@@ -1582,7 +1582,7 @@ module Google
|
|
1582
1582
|
# imported search events. * `document-completable` - Using suggestions taken
|
1583
1583
|
# directly from user-imported document fields marked as completable. Default
|
1584
1584
|
# values: * `document` is the default model for regular dataStores. * `search-
|
1585
|
-
# history` is the default model for
|
1585
|
+
# history` is the default model for site search dataStores.
|
1586
1586
|
# @param [String] user_pseudo_id
|
1587
1587
|
# A unique identifier for tracking visitors. For example, this could be
|
1588
1588
|
# implemented with an HTTP cookie, which should be able to uniquely identify a
|
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.22.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-10-01 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.22.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: []
|