google-apis-discoveryengine_v1beta 0.21.0 → 0.23.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: '096dc38f39311fc2c28e082e2ba5716b3f467b2b1fb7299e318633901932aca2'
4
- data.tar.gz: 793dff2e9ce1e03d6b7dae1a41e7372d838ce6846de24746edc1f2971c1a72f1
3
+ metadata.gz: 2971de127b84bc2c251f59546712d6699de8ae469461d010ffe89670964a3b7b
4
+ data.tar.gz: 7b515fe9278f6417ba3d0ed155ebff0b4451b1204f0d2a2d679f3ddc1c89979d
5
5
  SHA512:
6
- metadata.gz: 8ef13ac6c1aba32836932fc2783428a5c5ff75a920203d596a186389af444da3602c01b333fea85c7b92058c163b20de473b814e54d774097482b71d3de2042d
7
- data.tar.gz: 9679f0b36acf3a998c9cb48793c5c3af7b0658aa1e928955544c706990266732dc38aa01a86757ff3b984e7254268dc6dc83b5a68830ffefd2b99afd4f7a6229
6
+ metadata.gz: 975156a53f9f553eb808d9426fc0db70f6d970b46bec2c6ea6eb3e858ce11de07b5baf6da90ad0654595b1efa99d82dbac384418bbf596387b67da56d4e8b8f0
7
+ data.tar.gz: f446c2668909dd95236f2456c663ee95d7e429d9b2caf815550001781234d8f199e974e828cdee27d74b13e5a7f4c7f89338a8129c6feb05f7802a45cd3bfb4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.23.0 (2023-10-08)
4
+
5
+ * Regenerated from discovery document revision 20230928
6
+
7
+ ### v0.22.0 (2023-10-01)
8
+
9
+ * Regenerated from discovery document revision 20230925
10
+
3
11
  ### v0.21.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230905
@@ -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
@@ -3669,6 +3799,11 @@ module Google
3669
3799
  # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseFacet>]
3670
3800
  attr_accessor :facets
3671
3801
 
3802
+ #
3803
+ # Corresponds to the JSON property `geoSearchDebugInfo`
3804
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo>]
3805
+ attr_accessor :geo_search_debug_info
3806
+
3672
3807
  # Guided search result. The guided search helps user to refine the search
3673
3808
  # results and narrow down to the real needs from a broaded search results.
3674
3809
  # Corresponds to the JSON property `guidedSearchResult`
@@ -3721,6 +3856,7 @@ module Google
3721
3856
  @attribution_token = args[:attribution_token] if args.key?(:attribution_token)
3722
3857
  @corrected_query = args[:corrected_query] if args.key?(:corrected_query)
3723
3858
  @facets = args[:facets] if args.key?(:facets)
3859
+ @geo_search_debug_info = args[:geo_search_debug_info] if args.key?(:geo_search_debug_info)
3724
3860
  @guided_search_result = args[:guided_search_result] if args.key?(:guided_search_result)
3725
3861
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3726
3862
  @query_expansion_info = args[:query_expansion_info] if args.key?(:query_expansion_info)
@@ -3795,6 +3931,32 @@ module Google
3795
3931
  end
3796
3932
  end
3797
3933
 
3934
+ # Debug information specifically related to forward geocoding issues arising
3935
+ # from Geolocation Search.
3936
+ class GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo
3937
+ include Google::Apis::Core::Hashable
3938
+
3939
+ # The error produced.
3940
+ # Corresponds to the JSON property `errorMessage`
3941
+ # @return [String]
3942
+ attr_accessor :error_message
3943
+
3944
+ # The address from which forward geocoding ingestion produced issues.
3945
+ # Corresponds to the JSON property `originalAddressQuery`
3946
+ # @return [String]
3947
+ attr_accessor :original_address_query
3948
+
3949
+ def initialize(**args)
3950
+ update!(**args)
3951
+ end
3952
+
3953
+ # Update properties of this object
3954
+ def update!(**args)
3955
+ @error_message = args[:error_message] if args.key?(:error_message)
3956
+ @original_address_query = args[:original_address_query] if args.key?(:original_address_query)
3957
+ end
3958
+ end
3959
+
3798
3960
  # Guided search result. The guided search helps user to refine the search
3799
3961
  # results and narrow down to the real needs from a broaded search results.
3800
3962
  class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
@@ -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.21.0"
19
+ GEM_VERSION = "0.23.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 = "20230905"
25
+ REVISION = "20230928"
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
 
@@ -604,6 +628,12 @@ module Google
604
628
  include Google::Apis::Core::JsonObjectSupport
605
629
  end
606
630
 
631
+ class GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
607
637
  class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
608
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
639
 
@@ -991,6 +1021,45 @@ module Google
991
1021
  end
992
1022
  end
993
1023
 
1024
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisMetadata
1025
+ # @private
1026
+ class Representation < Google::Apis::Core::JsonRepresentation
1027
+ property :create_time, as: 'createTime'
1028
+ collection :invalid_uris, as: 'invalidUris'
1029
+ property :pending_count, as: 'pendingCount'
1030
+ property :quota_exceeded_count, as: 'quotaExceededCount'
1031
+ property :success_count, as: 'successCount'
1032
+ property :update_time, as: 'updateTime'
1033
+ property :valid_uris_count, as: 'validUrisCount'
1034
+ end
1035
+ end
1036
+
1037
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponse
1038
+ # @private
1039
+ class Representation < Google::Apis::Core::JsonRepresentation
1040
+ collection :failed_uris, as: 'failedUris'
1041
+ collection :failure_samples, as: 'failureSamples', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo::Representation
1042
+
1043
+ end
1044
+ end
1045
+
1046
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfo
1047
+ # @private
1048
+ class Representation < Google::Apis::Core::JsonRepresentation
1049
+ collection :failure_reasons, as: 'failureReasons', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason::Representation
1050
+
1051
+ property :uri, as: 'uri'
1052
+ end
1053
+ end
1054
+
1055
+ class GoogleCloudDiscoveryengineV1alphaRecrawlUrisResponseFailureInfoFailureReason
1056
+ # @private
1057
+ class Representation < Google::Apis::Core::JsonRepresentation
1058
+ property :corpus_type, as: 'corpusType'
1059
+ property :error_message, as: 'errorMessage'
1060
+ end
1061
+ end
1062
+
994
1063
  class GoogleCloudDiscoveryengineV1alphaSchema
995
1064
  # @private
996
1065
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1550,7 +1619,6 @@ module Google
1550
1619
  property :max_extractive_segment_count, as: 'maxExtractiveSegmentCount'
1551
1620
  property :num_next_segments, as: 'numNextSegments'
1552
1621
  property :num_previous_segments, as: 'numPreviousSegments'
1553
- property :return_extractive_segment_score, as: 'returnExtractiveSegmentScore'
1554
1622
  end
1555
1623
  end
1556
1624
 
@@ -1645,6 +1713,8 @@ module Google
1645
1713
  property :corrected_query, as: 'correctedQuery'
1646
1714
  collection :facets, as: 'facets', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseFacet, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseFacet::Representation
1647
1715
 
1716
+ collection :geo_search_debug_info, as: 'geoSearchDebugInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo::Representation
1717
+
1648
1718
  property :guided_search_result, as: 'guidedSearchResult', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult::Representation
1649
1719
 
1650
1720
  property :next_page_token, as: 'nextPageToken'
@@ -1679,6 +1749,14 @@ module Google
1679
1749
  end
1680
1750
  end
1681
1751
 
1752
+ class GoogleCloudDiscoveryengineV1betaSearchResponseGeoSearchDebugInfo
1753
+ # @private
1754
+ class Representation < Google::Apis::Core::JsonRepresentation
1755
+ property :error_message, as: 'errorMessage'
1756
+ property :original_address_query, as: 'originalAddressQuery'
1757
+ end
1758
+ end
1759
+
1682
1760
  class GoogleCloudDiscoveryengineV1betaSearchResponseGuidedSearchResult
1683
1761
  # @private
1684
1762
  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 IndustryVertical.SITE_SEARCH dataStores.
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 IndustryVertical.SITE_SEARCH dataStores.
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.21.0
4
+ version: 0.23.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-09-10 00:00:00.000000000 Z
11
+ date: 2023-10-08 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.21.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.23.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: []