google-apis-cloudsearch_v1 0.11.0 → 0.15.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 +2 -2
- data/lib/google/apis/cloudsearch_v1/classes.rb +20 -5
- data/lib/google/apis/cloudsearch_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudsearch_v1/representations.rb +12 -0
- data/lib/google/apis/cloudsearch_v1/service.rb +31 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c7f4be8d6e02cd206541311fa5738c5054bba28f4a079a7cad87518ed49f2da
|
4
|
+
data.tar.gz: 5faf4550880e7e9bf868ef4556c1025e1ca26a54d8693c788ef70177a9aeb302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 130a1cd8b3c57b603886b326e0e26c2e7b8aa09b00c2eafb47bbe68056d4d53abd773e7e035c35c579ab5361c2c129a21d97634ca584d3a95226965674b79a72
|
7
|
+
data.tar.gz: bae1c843b26895122481171ae7a294fdc6267bcbbc83d0cc70f833ab9fc18f8c8af77ad1501517e73ee9eb87a2a27df6647ce5d85c9c5be0aa3001deec073ec1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-cloudsearch_v1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-12-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211123
|
6
|
+
|
7
|
+
### v0.14.0 (2021-10-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211018
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.13.0 (2021-10-18)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211012
|
15
|
+
|
16
|
+
### v0.12.0 (2021-10-11)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211005
|
19
|
+
|
3
20
|
### v0.11.0 (2021-10-05)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210927
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudsearch service in particular.)
|
67
67
|
|
@@ -1410,12 +1410,12 @@ module Google
|
|
1410
1410
|
end
|
1411
1411
|
end
|
1412
1412
|
|
1413
|
-
# Response format for getting query stats
|
1414
|
-
#
|
1413
|
+
# Response format for getting query stats for a search application between given
|
1414
|
+
# dates.
|
1415
1415
|
class GetSearchApplicationQueryStatsResponse
|
1416
1416
|
include Google::Apis::Core::Hashable
|
1417
1417
|
|
1418
|
-
#
|
1418
|
+
# Query stats per date for a search application.
|
1419
1419
|
# Corresponds to the JSON property `stats`
|
1420
1420
|
# @return [Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>]
|
1421
1421
|
attr_accessor :stats
|
@@ -1609,6 +1609,19 @@ module Google
|
|
1609
1609
|
end
|
1610
1610
|
end
|
1611
1611
|
|
1612
|
+
# Request message for `InitializeCustomer` method.
|
1613
|
+
class InitializeCustomerRequest
|
1614
|
+
include Google::Apis::Core::Hashable
|
1615
|
+
|
1616
|
+
def initialize(**args)
|
1617
|
+
update!(**args)
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
# Update properties of this object
|
1621
|
+
def update!(**args)
|
1622
|
+
end
|
1623
|
+
end
|
1624
|
+
|
1612
1625
|
# Used to provide a search operator for integer properties. This is optional.
|
1613
1626
|
# Search operators let users restrict the query to specific fields relevant to
|
1614
1627
|
# the type of item being searched.
|
@@ -4493,8 +4506,10 @@ module Google
|
|
4493
4506
|
class SourceCrowdingConfig
|
4494
4507
|
include Google::Apis::Core::Hashable
|
4495
4508
|
|
4496
|
-
# Maximum number of results allowed from a
|
4497
|
-
# results
|
4509
|
+
# Maximum number of results allowed from a datasource in a result page as long
|
4510
|
+
# as results from other sources are not exhausted. Value specified must not be
|
4511
|
+
# negative. A default value is used if this value is equal to 0. To disable
|
4512
|
+
# crowding, set the value greater than 100.
|
4498
4513
|
# Corresponds to the JSON property `numResults`
|
4499
4514
|
# @return [Fixnum]
|
4500
4515
|
attr_accessor :num_results
|
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211123"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,6 +358,12 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
+
class InitializeCustomerRequest
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
361
367
|
class IntegerOperatorOptions
|
362
368
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
369
|
|
@@ -1447,6 +1453,12 @@ module Google
|
|
1447
1453
|
end
|
1448
1454
|
end
|
1449
1455
|
|
1456
|
+
class InitializeCustomerRequest
|
1457
|
+
# @private
|
1458
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1459
|
+
end
|
1460
|
+
end
|
1461
|
+
|
1450
1462
|
class IntegerOperatorOptions
|
1451
1463
|
# @private
|
1452
1464
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1830,6 +1830,37 @@ module Google
|
|
1830
1830
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1831
1831
|
execute_or_queue_command(command, &block)
|
1832
1832
|
end
|
1833
|
+
|
1834
|
+
# Enables `third party` support in Google Cloud Search. **Note:** This API
|
1835
|
+
# requires an admin account to execute.
|
1836
|
+
# @param [Google::Apis::CloudsearchV1::InitializeCustomerRequest] initialize_customer_request_object
|
1837
|
+
# @param [String] fields
|
1838
|
+
# Selector specifying which fields to include in a partial response.
|
1839
|
+
# @param [String] quota_user
|
1840
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1841
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1842
|
+
# @param [Google::Apis::RequestOptions] options
|
1843
|
+
# Request-specific options
|
1844
|
+
#
|
1845
|
+
# @yield [result, err] Result & error if block supplied
|
1846
|
+
# @yieldparam result [Google::Apis::CloudsearchV1::Operation] parsed result object
|
1847
|
+
# @yieldparam err [StandardError] error object if request failed
|
1848
|
+
#
|
1849
|
+
# @return [Google::Apis::CloudsearchV1::Operation]
|
1850
|
+
#
|
1851
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1852
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1853
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1854
|
+
def initialize_customer(initialize_customer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1855
|
+
command = make_simple_command(:post, 'v1:initializeCustomer', options)
|
1856
|
+
command.request_representation = Google::Apis::CloudsearchV1::InitializeCustomerRequest::Representation
|
1857
|
+
command.request_object = initialize_customer_request_object
|
1858
|
+
command.response_representation = Google::Apis::CloudsearchV1::Operation::Representation
|
1859
|
+
command.response_class = Google::Apis::CloudsearchV1::Operation
|
1860
|
+
command.query['fields'] = fields unless fields.nil?
|
1861
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1862
|
+
execute_or_queue_command(command, &block)
|
1863
|
+
end
|
1833
1864
|
|
1834
1865
|
protected
|
1835
1866
|
|
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.15.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: 2021-
|
11
|
+
date: 2021-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.15.0
|
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: []
|
65
65
|
require_paths:
|