google-apis-cloudsearch_v1 0.11.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b61396846744188b5aeda7f0da5dcfa5d62f789d331c77ea94c9b3aa57e1e1fa
4
- data.tar.gz: b757c6b5edc7a786f3561c6b7eba2d405c3650b1a7592e9ac658c1259ac6710f
3
+ metadata.gz: ff6aee5f93ac83d68dfa946d10ac03a111670409eb67efa1d08c219e617c74d6
4
+ data.tar.gz: 51876950934e3a23c7ec1e8bb000f5d64ffadf6a7fe218be6b81b87d18c0ca59
5
5
  SHA512:
6
- metadata.gz: b39ae5223e61b8afd8fe03cc052aee5833bf4e5efffd5ea912317c5fb4fd7c4ddc9e5b4f9772558692873ee94a50814268ac9ab1c44352cca2d20ac5a07f2a5f
7
- data.tar.gz: e49e1fa6b922a6e85dde59b878f1acda53dfa01161b0dc00de901b7326c0b5b76d44b9626fa110b07546f85987ca6532915b1aa3d66e8c41f6a24d57e118b813
6
+ metadata.gz: 6e9d59b9ce824e937d43a8f583031c55df062d1529246bc3eabdc128227d60543aa6c5e263d1b0db131a10247cbbf0f4cc9be7d883f7d52b03596e86c0d1b768
7
+ data.tar.gz: d56f4c47f783b364f774a77f38f1008f6e5077bf1faec795ecdcd55b5f1d438451a615a108041956c3f3798728ab10459665a4bdfe0a7c492bdb3f5b42a0aa1f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudsearch_v1
2
2
 
3
+ ### v0.12.0 (2021-10-11)
4
+
5
+ * Regenerated from discovery document revision 20211005
6
+
3
7
  ### v0.11.0 (2021-10-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20210927
@@ -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.
@@ -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.11.0"
19
+ GEM_VERSION = "0.12.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 = "20210927"
25
+ REVISION = "20211005"
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
+ # Initializes the customer. **Note:** This API requires an admin account to
1835
+ # 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.11.0
4
+ version: 0.12.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-10-11 00:00:00.000000000 Z
11
+ date: 2021-10-18 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/master/generated/google-apis-cloudsearch_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudsearch_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudsearch_v1
63
63
  post_install_message:
64
64
  rdoc_options: []