google-apis-cloudsearch_v1 0.14.0 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/cloudsearch_v1/classes.rb +115 -6
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +3 -3
- data/lib/google/apis/cloudsearch_v1/representations.rb +38 -0
- data/lib/google/apis/cloudsearch_v1/service.rb +52 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5cff3291c662548ca94546242f0e5cad047ac71f79bf4d7ab5cdd8bd76771a0
|
4
|
+
data.tar.gz: dd516c049cb24a6e4a3df96359dc5a48c0839aa490a0580efe5ad2f965da1706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a81885fccdd511f2b36041d152de4ca04c8e9f3ed7a838da95107c2249a888120be444c88990114c972c1a4ce41e4b5ea37a2de78953f922f4f412145c2d61cc
|
7
|
+
data.tar.gz: 850616363c82e2cf5b28dce78d12c281e65abf64f307c6086b0c93da96e86d1bf3860dd00a2ca2e965a6a94c4e5ac14a4e403f95df19fc0509bd836dc6ee28ce
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudsearch_v1
|
2
2
|
|
3
|
+
### v0.18.0 (2022-01-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220125
|
6
|
+
|
7
|
+
### v0.17.0 (2022-01-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220118
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.16.0 (2021-12-16)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211208
|
15
|
+
|
16
|
+
### v0.15.0 (2021-12-01)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211123
|
19
|
+
|
3
20
|
### v0.14.0 (2021-10-26)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211018
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudsearch_v1"
|
|
51
51
|
client = Google::Apis::CloudsearchV1::CloudSearchService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -250,6 +250,35 @@ module Google
|
|
250
250
|
end
|
251
251
|
end
|
252
252
|
|
253
|
+
# Search application stats for a customer for the given date.
|
254
|
+
class CustomerSearchApplicationStats
|
255
|
+
include Google::Apis::Core::Hashable
|
256
|
+
|
257
|
+
# The count of search applications for the date.
|
258
|
+
# Corresponds to the JSON property `count`
|
259
|
+
# @return [Fixnum]
|
260
|
+
attr_accessor :count
|
261
|
+
|
262
|
+
# Represents a whole calendar date, for example a date of birth. The time of day
|
263
|
+
# and time zone are either specified elsewhere or are not significant. The date
|
264
|
+
# is relative to the [Proleptic Gregorian Calendar](https://en.wikipedia.org/
|
265
|
+
# wiki/Proleptic_Gregorian_calendar). The date must be a valid calendar date
|
266
|
+
# between the year 1 and 9999.
|
267
|
+
# Corresponds to the JSON property `date`
|
268
|
+
# @return [Google::Apis::CloudsearchV1::Date]
|
269
|
+
attr_accessor :date
|
270
|
+
|
271
|
+
def initialize(**args)
|
272
|
+
update!(**args)
|
273
|
+
end
|
274
|
+
|
275
|
+
# Update properties of this object
|
276
|
+
def update!(**args)
|
277
|
+
@count = args[:count] if args.key?(:count)
|
278
|
+
@date = args[:date] if args.key?(:date)
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
253
282
|
#
|
254
283
|
class CustomerSessionStats
|
255
284
|
include Google::Apis::Core::Hashable
|
@@ -398,6 +427,12 @@ module Google
|
|
398
427
|
# @return [Array<String>]
|
399
428
|
attr_accessor :operation_ids
|
400
429
|
|
430
|
+
# Can a user request to get thumbnail URI for Items indexed in this data source.
|
431
|
+
# Corresponds to the JSON property `returnThumbnailUrls`
|
432
|
+
# @return [Boolean]
|
433
|
+
attr_accessor :return_thumbnail_urls
|
434
|
+
alias_method :return_thumbnail_urls?, :return_thumbnail_urls
|
435
|
+
|
401
436
|
# A short name or alias for the source. This value will be used to match the '
|
402
437
|
# source' operator. For example, if the short name is *<value>* then queries
|
403
438
|
# like *source:<value>* will only return results for this source. The value must
|
@@ -422,6 +457,7 @@ module Google
|
|
422
457
|
@items_visibility = args[:items_visibility] if args.key?(:items_visibility)
|
423
458
|
@name = args[:name] if args.key?(:name)
|
424
459
|
@operation_ids = args[:operation_ids] if args.key?(:operation_ids)
|
460
|
+
@return_thumbnail_urls = args[:return_thumbnail_urls] if args.key?(:return_thumbnail_urls)
|
425
461
|
@short_name = args[:short_name] if args.key?(:short_name)
|
426
462
|
end
|
427
463
|
end
|
@@ -1319,6 +1355,11 @@ module Google
|
|
1319
1355
|
class GetCustomerIndexStatsResponse
|
1320
1356
|
include Google::Apis::Core::Hashable
|
1321
1357
|
|
1358
|
+
# Average item count for the given date range for which billing is done.
|
1359
|
+
# Corresponds to the JSON property `averageIndexedItemCount`
|
1360
|
+
# @return [Fixnum]
|
1361
|
+
attr_accessor :average_indexed_item_count
|
1362
|
+
|
1322
1363
|
# Summary of indexed item counts, one for each day in the requested range.
|
1323
1364
|
# Corresponds to the JSON property `stats`
|
1324
1365
|
# @return [Array<Google::Apis::CloudsearchV1::CustomerIndexStats>]
|
@@ -1330,6 +1371,7 @@ module Google
|
|
1330
1371
|
|
1331
1372
|
# Update properties of this object
|
1332
1373
|
def update!(**args)
|
1374
|
+
@average_indexed_item_count = args[:average_indexed_item_count] if args.key?(:average_indexed_item_count)
|
1333
1375
|
@stats = args[:stats] if args.key?(:stats)
|
1334
1376
|
end
|
1335
1377
|
end
|
@@ -1343,6 +1385,11 @@ module Google
|
|
1343
1385
|
# @return [Array<Google::Apis::CloudsearchV1::CustomerQueryStats>]
|
1344
1386
|
attr_accessor :stats
|
1345
1387
|
|
1388
|
+
# Total successful query count (status code 200) for the given date range.
|
1389
|
+
# Corresponds to the JSON property `totalQueryCount`
|
1390
|
+
# @return [Fixnum]
|
1391
|
+
attr_accessor :total_query_count
|
1392
|
+
|
1346
1393
|
def initialize(**args)
|
1347
1394
|
update!(**args)
|
1348
1395
|
end
|
@@ -1350,6 +1397,32 @@ module Google
|
|
1350
1397
|
# Update properties of this object
|
1351
1398
|
def update!(**args)
|
1352
1399
|
@stats = args[:stats] if args.key?(:stats)
|
1400
|
+
@total_query_count = args[:total_query_count] if args.key?(:total_query_count)
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
# Response format for search application stats for a customer.
|
1405
|
+
class GetCustomerSearchApplicationStatsResponse
|
1406
|
+
include Google::Apis::Core::Hashable
|
1407
|
+
|
1408
|
+
# Average search application count for the given date range.
|
1409
|
+
# Corresponds to the JSON property `averageSearchApplicationCount`
|
1410
|
+
# @return [Fixnum]
|
1411
|
+
attr_accessor :average_search_application_count
|
1412
|
+
|
1413
|
+
# Search application stats by date.
|
1414
|
+
# Corresponds to the JSON property `stats`
|
1415
|
+
# @return [Array<Google::Apis::CloudsearchV1::CustomerSearchApplicationStats>]
|
1416
|
+
attr_accessor :stats
|
1417
|
+
|
1418
|
+
def initialize(**args)
|
1419
|
+
update!(**args)
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# Update properties of this object
|
1423
|
+
def update!(**args)
|
1424
|
+
@average_search_application_count = args[:average_search_application_count] if args.key?(:average_search_application_count)
|
1425
|
+
@stats = args[:stats] if args.key?(:stats)
|
1353
1426
|
end
|
1354
1427
|
end
|
1355
1428
|
|
@@ -1395,6 +1468,11 @@ module Google
|
|
1395
1468
|
class GetDataSourceIndexStatsResponse
|
1396
1469
|
include Google::Apis::Core::Hashable
|
1397
1470
|
|
1471
|
+
# Average item count for the given date range for which billing is done.
|
1472
|
+
# Corresponds to the JSON property `averageIndexedItemCount`
|
1473
|
+
# @return [Fixnum]
|
1474
|
+
attr_accessor :average_indexed_item_count
|
1475
|
+
|
1398
1476
|
# Summary of indexed item counts, one for each day in the requested range.
|
1399
1477
|
# Corresponds to the JSON property `stats`
|
1400
1478
|
# @return [Array<Google::Apis::CloudsearchV1::DataSourceIndexStats>]
|
@@ -1406,6 +1484,7 @@ module Google
|
|
1406
1484
|
|
1407
1485
|
# Update properties of this object
|
1408
1486
|
def update!(**args)
|
1487
|
+
@average_indexed_item_count = args[:average_indexed_item_count] if args.key?(:average_indexed_item_count)
|
1409
1488
|
@stats = args[:stats] if args.key?(:stats)
|
1410
1489
|
end
|
1411
1490
|
end
|
@@ -1420,6 +1499,11 @@ module Google
|
|
1420
1499
|
# @return [Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>]
|
1421
1500
|
attr_accessor :stats
|
1422
1501
|
|
1502
|
+
# Total successful query count (status code 200) for the given date range.
|
1503
|
+
# Corresponds to the JSON property `totalQueryCount`
|
1504
|
+
# @return [Fixnum]
|
1505
|
+
attr_accessor :total_query_count
|
1506
|
+
|
1423
1507
|
def initialize(**args)
|
1424
1508
|
update!(**args)
|
1425
1509
|
end
|
@@ -1427,6 +1511,7 @@ module Google
|
|
1427
1511
|
# Update properties of this object
|
1428
1512
|
def update!(**args)
|
1429
1513
|
@stats = args[:stats] if args.key?(:stats)
|
1514
|
+
@total_query_count = args[:total_query_count] if args.key?(:total_query_count)
|
1430
1515
|
end
|
1431
1516
|
end
|
1432
1517
|
|
@@ -1832,6 +1917,9 @@ module Google
|
|
1832
1917
|
# Item using lexical ordering. Cloud Search Indexing won't index or delete any
|
1833
1918
|
# queued item with a version value that is less than or equal to the version of
|
1834
1919
|
# the currently indexed item. The maximum length for this field is 1024 bytes.
|
1920
|
+
# See [this guide](https://developers.devsite.corp.google.com/cloud-search/docs/
|
1921
|
+
# guides/operations) to understand how item version affects reindexing after
|
1922
|
+
# delete item.
|
1835
1923
|
# Corresponds to the JSON property `version`
|
1836
1924
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1837
1925
|
# @return [String]
|
@@ -1925,8 +2013,8 @@ module Google
|
|
1925
2013
|
include Google::Apis::Core::Hashable
|
1926
2014
|
|
1927
2015
|
# Represents an upload session reference. This reference is created via upload
|
1928
|
-
# method.
|
1929
|
-
# contentDataRef.
|
2016
|
+
# method. This reference is valid for 30 days after its creation. Updating of
|
2017
|
+
# item content may refer to this uploaded content via contentDataRef.
|
1930
2018
|
# Corresponds to the JSON property `contentDataRef`
|
1931
2019
|
# @return [Google::Apis::CloudsearchV1::UploadItemRef]
|
1932
2020
|
attr_accessor :content_data_ref
|
@@ -1972,6 +2060,13 @@ module Google
|
|
1972
2060
|
# @return [Fixnum]
|
1973
2061
|
attr_accessor :count
|
1974
2062
|
|
2063
|
+
# Number of items matching the status code for which billing is done. This
|
2064
|
+
# excludes virtual container items from the total count. This count would not be
|
2065
|
+
# applicable for items with ERROR or NEW_ITEM status code.
|
2066
|
+
# Corresponds to the JSON property `indexedItemsCount`
|
2067
|
+
# @return [Fixnum]
|
2068
|
+
attr_accessor :indexed_items_count
|
2069
|
+
|
1975
2070
|
# Status of the items.
|
1976
2071
|
# Corresponds to the JSON property `statusCode`
|
1977
2072
|
# @return [String]
|
@@ -1984,6 +2079,7 @@ module Google
|
|
1984
2079
|
# Update properties of this object
|
1985
2080
|
def update!(**args)
|
1986
2081
|
@count = args[:count] if args.key?(:count)
|
2082
|
+
@indexed_items_count = args[:indexed_items_count] if args.key?(:indexed_items_count)
|
1987
2083
|
@status_code = args[:status_code] if args.key?(:status_code)
|
1988
2084
|
end
|
1989
2085
|
end
|
@@ -2059,8 +2155,8 @@ module Google
|
|
2059
2155
|
# @return [Google::Apis::CloudsearchV1::SearchQualityMetadata]
|
2060
2156
|
attr_accessor :search_quality_metadata
|
2061
2157
|
|
2062
|
-
# Link to the source repository serving the data.
|
2063
|
-
# to the title. Whitespace or special characters may cause Cloud
|
2158
|
+
# Link to the source repository serving the data. Seach results apply this link
|
2159
|
+
# to the title. Whitespace or special characters may cause Cloud Seach result
|
2064
2160
|
# links to trigger a redirect notice; to avoid this, encode the URL. The maximum
|
2065
2161
|
# length is 2048 characters.
|
2066
2162
|
# Corresponds to the JSON property `sourceRepositoryUrl`
|
@@ -2420,6 +2516,11 @@ module Google
|
|
2420
2516
|
# @return [Google::Apis::CloudsearchV1::Source]
|
2421
2517
|
attr_accessor :source
|
2422
2518
|
|
2519
|
+
# The thumbnail URL of the result.
|
2520
|
+
# Corresponds to the JSON property `thumbnailUrl`
|
2521
|
+
# @return [String]
|
2522
|
+
attr_accessor :thumbnail_url
|
2523
|
+
|
2423
2524
|
# The last modified date for the object in the search result. If not set in the
|
2424
2525
|
# item, the value returned here is empty. When `updateTime` is used for
|
2425
2526
|
# calculating freshness and is not set, this value defaults to 2 years from the
|
@@ -2441,6 +2542,7 @@ module Google
|
|
2441
2542
|
@object_type = args[:object_type] if args.key?(:object_type)
|
2442
2543
|
@owner = args[:owner] if args.key?(:owner)
|
2443
2544
|
@source = args[:source] if args.key?(:source)
|
2545
|
+
@thumbnail_url = args[:thumbnail_url] if args.key?(:thumbnail_url)
|
2444
2546
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2445
2547
|
end
|
2446
2548
|
end
|
@@ -3969,6 +4071,12 @@ module Google
|
|
3969
4071
|
# @return [Google::Apis::CloudsearchV1::QueryInterpretationConfig]
|
3970
4072
|
attr_accessor :query_interpretation_config
|
3971
4073
|
|
4074
|
+
# With each result we should return the URI for its thumbnail (when applicable)
|
4075
|
+
# Corresponds to the JSON property `returnResultThumbnailUrls`
|
4076
|
+
# @return [Boolean]
|
4077
|
+
attr_accessor :return_result_thumbnail_urls
|
4078
|
+
alias_method :return_result_thumbnail_urls?, :return_result_thumbnail_urls
|
4079
|
+
|
3972
4080
|
# Scoring configurations for a source while processing a Search or Suggest
|
3973
4081
|
# request.
|
3974
4082
|
# Corresponds to the JSON property `scoringConfig`
|
@@ -3994,6 +4102,7 @@ module Google
|
|
3994
4102
|
@name = args[:name] if args.key?(:name)
|
3995
4103
|
@operation_ids = args[:operation_ids] if args.key?(:operation_ids)
|
3996
4104
|
@query_interpretation_config = args[:query_interpretation_config] if args.key?(:query_interpretation_config)
|
4105
|
+
@return_result_thumbnail_urls = args[:return_result_thumbnail_urls] if args.key?(:return_result_thumbnail_urls)
|
3997
4106
|
@scoring_config = args[:scoring_config] if args.key?(:scoring_config)
|
3998
4107
|
@source_config = args[:source_config] if args.key?(:source_config)
|
3999
4108
|
end
|
@@ -5101,8 +5210,8 @@ module Google
|
|
5101
5210
|
end
|
5102
5211
|
|
5103
5212
|
# Represents an upload session reference. This reference is created via upload
|
5104
|
-
# method.
|
5105
|
-
# contentDataRef.
|
5213
|
+
# method. This reference is valid for 30 days after its creation. Updating of
|
5214
|
+
# item content may refer to this uploaded content via contentDataRef.
|
5106
5215
|
class UploadItemRef
|
5107
5216
|
include Google::Apis::Core::Hashable
|
5108
5217
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudsearchV1
|
18
18
|
# Version of the google-apis-cloudsearch_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.18.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220125"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class CustomerSearchApplicationStats
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class CustomerSessionStats
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -292,6 +298,12 @@ module Google
|
|
292
298
|
include Google::Apis::Core::JsonObjectSupport
|
293
299
|
end
|
294
300
|
|
301
|
+
class GetCustomerSearchApplicationStatsResponse
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
295
307
|
class GetCustomerSessionStatsResponse
|
296
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
309
|
|
@@ -1039,6 +1051,15 @@ module Google
|
|
1039
1051
|
end
|
1040
1052
|
end
|
1041
1053
|
|
1054
|
+
class CustomerSearchApplicationStats
|
1055
|
+
# @private
|
1056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1057
|
+
property :count, :numeric_string => true, as: 'count'
|
1058
|
+
property :date, as: 'date', class: Google::Apis::CloudsearchV1::Date, decorator: Google::Apis::CloudsearchV1::Date::Representation
|
1059
|
+
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1042
1063
|
class CustomerSessionStats
|
1043
1064
|
# @private
|
1044
1065
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1080,6 +1101,7 @@ module Google
|
|
1080
1101
|
|
1081
1102
|
property :name, as: 'name'
|
1082
1103
|
collection :operation_ids, as: 'operationIds'
|
1104
|
+
property :return_thumbnail_urls, as: 'returnThumbnailUrls'
|
1083
1105
|
property :short_name, as: 'shortName'
|
1084
1106
|
end
|
1085
1107
|
end
|
@@ -1347,6 +1369,7 @@ module Google
|
|
1347
1369
|
class GetCustomerIndexStatsResponse
|
1348
1370
|
# @private
|
1349
1371
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1372
|
+
property :average_indexed_item_count, :numeric_string => true, as: 'averageIndexedItemCount'
|
1350
1373
|
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerIndexStats, decorator: Google::Apis::CloudsearchV1::CustomerIndexStats::Representation
|
1351
1374
|
|
1352
1375
|
end
|
@@ -1357,6 +1380,16 @@ module Google
|
|
1357
1380
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1358
1381
|
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerQueryStats, decorator: Google::Apis::CloudsearchV1::CustomerQueryStats::Representation
|
1359
1382
|
|
1383
|
+
property :total_query_count, :numeric_string => true, as: 'totalQueryCount'
|
1384
|
+
end
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
class GetCustomerSearchApplicationStatsResponse
|
1388
|
+
# @private
|
1389
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1390
|
+
property :average_search_application_count, :numeric_string => true, as: 'averageSearchApplicationCount'
|
1391
|
+
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::CustomerSearchApplicationStats, decorator: Google::Apis::CloudsearchV1::CustomerSearchApplicationStats::Representation
|
1392
|
+
|
1360
1393
|
end
|
1361
1394
|
end
|
1362
1395
|
|
@@ -1379,6 +1412,7 @@ module Google
|
|
1379
1412
|
class GetDataSourceIndexStatsResponse
|
1380
1413
|
# @private
|
1381
1414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1415
|
+
property :average_indexed_item_count, :numeric_string => true, as: 'averageIndexedItemCount'
|
1382
1416
|
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::DataSourceIndexStats, decorator: Google::Apis::CloudsearchV1::DataSourceIndexStats::Representation
|
1383
1417
|
|
1384
1418
|
end
|
@@ -1389,6 +1423,7 @@ module Google
|
|
1389
1423
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1390
1424
|
collection :stats, as: 'stats', class: Google::Apis::CloudsearchV1::SearchApplicationQueryStats, decorator: Google::Apis::CloudsearchV1::SearchApplicationQueryStats::Representation
|
1391
1425
|
|
1426
|
+
property :total_query_count, :numeric_string => true, as: 'totalQueryCount'
|
1392
1427
|
end
|
1393
1428
|
end
|
1394
1429
|
|
@@ -1546,6 +1581,7 @@ module Google
|
|
1546
1581
|
# @private
|
1547
1582
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1548
1583
|
property :count, :numeric_string => true, as: 'count'
|
1584
|
+
property :indexed_items_count, :numeric_string => true, as: 'indexedItemsCount'
|
1549
1585
|
property :status_code, as: 'statusCode'
|
1550
1586
|
end
|
1551
1587
|
end
|
@@ -1683,6 +1719,7 @@ module Google
|
|
1683
1719
|
|
1684
1720
|
property :source, as: 'source', class: Google::Apis::CloudsearchV1::Source, decorator: Google::Apis::CloudsearchV1::Source::Representation
|
1685
1721
|
|
1722
|
+
property :thumbnail_url, as: 'thumbnailUrl'
|
1686
1723
|
property :update_time, as: 'updateTime'
|
1687
1724
|
end
|
1688
1725
|
end
|
@@ -2126,6 +2163,7 @@ module Google
|
|
2126
2163
|
collection :operation_ids, as: 'operationIds'
|
2127
2164
|
property :query_interpretation_config, as: 'queryInterpretationConfig', class: Google::Apis::CloudsearchV1::QueryInterpretationConfig, decorator: Google::Apis::CloudsearchV1::QueryInterpretationConfig::Representation
|
2128
2165
|
|
2166
|
+
property :return_result_thumbnail_urls, as: 'returnResultThumbnailUrls'
|
2129
2167
|
property :scoring_config, as: 'scoringConfig', class: Google::Apis::CloudsearchV1::ScoringConfig, decorator: Google::Apis::CloudsearchV1::ScoringConfig::Representation
|
2130
2168
|
|
2131
2169
|
collection :source_config, as: 'sourceConfig', class: Google::Apis::CloudsearchV1::SourceConfig, decorator: Google::Apis::CloudsearchV1::SourceConfig::Representation
|
@@ -382,7 +382,10 @@ module Google
|
|
382
382
|
# compares the Item version in the index to the version of the queued Item using
|
383
383
|
# lexical ordering. Cloud Search Indexing won't delete any queued item with a
|
384
384
|
# version value that is less than or equal to the version of the currently
|
385
|
-
# indexed item. The maximum length for this field is 1024 bytes.
|
385
|
+
# indexed item. The maximum length for this field is 1024 bytes. See [this guide]
|
386
|
+
# (https://developers.devsite.corp.google.com/cloud-search/docs/guides/
|
387
|
+
# operations) to understand how item version affects reindexing after delete
|
388
|
+
# item.
|
386
389
|
# @param [String] fields
|
387
390
|
# Selector specifying which fields to include in a partial response.
|
388
391
|
# @param [String] quota_user
|
@@ -1537,6 +1540,52 @@ module Google
|
|
1537
1540
|
execute_or_queue_command(command, &block)
|
1538
1541
|
end
|
1539
1542
|
|
1543
|
+
# Get search application stats for customer. **Note:** This API requires a
|
1544
|
+
# standard end user account to execute.
|
1545
|
+
# @param [Fixnum] end_date_day
|
1546
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1547
|
+
# @param [Fixnum] end_date_month
|
1548
|
+
# Month of date. Must be from 1 to 12.
|
1549
|
+
# @param [Fixnum] end_date_year
|
1550
|
+
# Year of date. Must be from 1 to 9999.
|
1551
|
+
# @param [Fixnum] start_date_day
|
1552
|
+
# Day of month. Must be from 1 to 31 and valid for the year and month.
|
1553
|
+
# @param [Fixnum] start_date_month
|
1554
|
+
# Month of date. Must be from 1 to 12.
|
1555
|
+
# @param [Fixnum] start_date_year
|
1556
|
+
# Year of date. Must be from 1 to 9999.
|
1557
|
+
# @param [String] fields
|
1558
|
+
# Selector specifying which fields to include in a partial response.
|
1559
|
+
# @param [String] quota_user
|
1560
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1561
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1562
|
+
# @param [Google::Apis::RequestOptions] options
|
1563
|
+
# Request-specific options
|
1564
|
+
#
|
1565
|
+
# @yield [result, err] Result & error if block supplied
|
1566
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::GetCustomerSearchApplicationStatsResponse] parsed result object
|
1567
|
+
# @yieldparam err [StandardError] error object if request failed
|
1568
|
+
#
|
1569
|
+
# @return [Google::Apis::CloudsearchV1::GetCustomerSearchApplicationStatsResponse]
|
1570
|
+
#
|
1571
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1572
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1573
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1574
|
+
def get_stat_searchapplication(end_date_day: nil, end_date_month: nil, end_date_year: nil, start_date_day: nil, start_date_month: nil, start_date_year: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1575
|
+
command = make_simple_command(:get, 'v1/stats/searchapplication', options)
|
1576
|
+
command.response_representation = Google::Apis::CloudsearchV1::GetCustomerSearchApplicationStatsResponse::Representation
|
1577
|
+
command.response_class = Google::Apis::CloudsearchV1::GetCustomerSearchApplicationStatsResponse
|
1578
|
+
command.query['endDate.day'] = end_date_day unless end_date_day.nil?
|
1579
|
+
command.query['endDate.month'] = end_date_month unless end_date_month.nil?
|
1580
|
+
command.query['endDate.year'] = end_date_year unless end_date_year.nil?
|
1581
|
+
command.query['startDate.day'] = start_date_day unless start_date_day.nil?
|
1582
|
+
command.query['startDate.month'] = start_date_month unless start_date_month.nil?
|
1583
|
+
command.query['startDate.year'] = start_date_year unless start_date_year.nil?
|
1584
|
+
command.query['fields'] = fields unless fields.nil?
|
1585
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1586
|
+
execute_or_queue_command(command, &block)
|
1587
|
+
end
|
1588
|
+
|
1540
1589
|
# Get the # of search sessions, % of successful sessions with a click query
|
1541
1590
|
# statistics for customer. **Note:** This API requires a standard end user
|
1542
1591
|
# account to execute.
|
@@ -1831,8 +1880,8 @@ module Google
|
|
1831
1880
|
execute_or_queue_command(command, &block)
|
1832
1881
|
end
|
1833
1882
|
|
1834
|
-
#
|
1835
|
-
# execute.
|
1883
|
+
# Enables `third party` support in Google Cloud Search. **Note:** This API
|
1884
|
+
# requires an admin account to execute.
|
1836
1885
|
# @param [Google::Apis::CloudsearchV1::InitializeCustomerRequest] initialize_customer_request_object
|
1837
1886
|
# @param [String] fields
|
1838
1887
|
# Selector specifying which fields to include in a partial response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudsearch_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.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:
|
11
|
+
date: 2022-02-07 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-cloudsearch_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.18.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudsearch_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Search API V1
|