google-apis-discoveryengine_v1beta 0.21.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 +4 -0
- data/lib/google/apis/discoveryengine_v1beta/classes.rb +139 -9
- data/lib/google/apis/discoveryengine_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1beta/representations.rb +63 -1
- 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
@@ -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
|
@@ -3252,13 +3389,6 @@ module Google
|
|
3252
3389
|
# @return [Fixnum]
|
3253
3390
|
attr_accessor :num_previous_segments
|
3254
3391
|
|
3255
|
-
# Specifies whether to return the confidence score from the extractive segments
|
3256
|
-
# in each search result. The default value is `false`.
|
3257
|
-
# Corresponds to the JSON property `returnExtractiveSegmentScore`
|
3258
|
-
# @return [Boolean]
|
3259
|
-
attr_accessor :return_extractive_segment_score
|
3260
|
-
alias_method :return_extractive_segment_score?, :return_extractive_segment_score
|
3261
|
-
|
3262
3392
|
def initialize(**args)
|
3263
3393
|
update!(**args)
|
3264
3394
|
end
|
@@ -3269,7 +3399,6 @@ module Google
|
|
3269
3399
|
@max_extractive_segment_count = args[:max_extractive_segment_count] if args.key?(:max_extractive_segment_count)
|
3270
3400
|
@num_next_segments = args[:num_next_segments] if args.key?(:num_next_segments)
|
3271
3401
|
@num_previous_segments = args[:num_previous_segments] if args.key?(:num_previous_segments)
|
3272
|
-
@return_extractive_segment_score = args[:return_extractive_segment_score] if args.key?(:return_extractive_segment_score)
|
3273
3402
|
end
|
3274
3403
|
end
|
3275
3404
|
|
@@ -3354,7 +3483,8 @@ module Google
|
|
3354
3483
|
attr_accessor :include_citations
|
3355
3484
|
alias_method :include_citations?, :include_citations
|
3356
3485
|
|
3357
|
-
# 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.
|
3358
3488
|
# Corresponds to the JSON property `languageCode`
|
3359
3489
|
# @return [String]
|
3360
3490
|
attr_accessor :language_code
|
@@ -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
|
|
@@ -991,6 +1015,45 @@ module Google
|
|
991
1015
|
end
|
992
1016
|
end
|
993
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
|
+
|
994
1057
|
class GoogleCloudDiscoveryengineV1alphaSchema
|
995
1058
|
# @private
|
996
1059
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1550,7 +1613,6 @@ module Google
|
|
1550
1613
|
property :max_extractive_segment_count, as: 'maxExtractiveSegmentCount'
|
1551
1614
|
property :num_next_segments, as: 'numNextSegments'
|
1552
1615
|
property :num_previous_segments, as: 'numPreviousSegments'
|
1553
|
-
property :return_extractive_segment_score, as: 'returnExtractiveSegmentScore'
|
1554
1616
|
end
|
1555
1617
|
end
|
1556
1618
|
|
@@ -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: []
|