google-apis-mybusinessqanda_v1 0.1.0 → 0.4.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: d0860314f2f7b85920a51fa7fbec64ff9ffd6c9366a14b9cca81d55a171dd3d5
4
- data.tar.gz: 56d30c2013f7403ebb431efda2a09115cb68694043bbd5e84a3910f257bb41cd
3
+ metadata.gz: fb33befa1f921e4c107dcf2995eee1aeaa32f15422ad5297405b30d6418a762e
4
+ data.tar.gz: d665d6f9e256e9b911c6fb797a97bd24b9599827940285ccd423bd242f0ad672
5
5
  SHA512:
6
- metadata.gz: c7efa6b5e9484613bf5e9e5df090caf907794acfcc671a2883bdfe56df8c50506a7b3437f88c7baa50be479eb2d697d87736ce9279d591f14e0db9b8cec9a9ab
7
- data.tar.gz: cfad808706d81b73772ad5d92587f7fa792b51a971694503560b9209c52a0206871148453dc934f63b21516e97838cce0b9822bf7717526db0e8d3b9baa422f6
6
+ metadata.gz: b98defd47a367f3076a3383d0cdc14b9e07c2f07cbc25b9f7064851c16a3a48c5e070a6d47966c6136a1aa3e2282634e141f73caef05e5a4c9a0d0efec61c8bc
7
+ data.tar.gz: f25ce5c3c99d1546364676ede536f1a11cecbe301861210a1f62407dccf76199e736078662f27edd7cac104ba4a47ed21db0a79d0eee835043a46ecdd3edb751
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-mybusinessqanda_v1
2
2
 
3
+ ### v0.4.0 (2022-06-05)
4
+
5
+ * Regenerated using generator version 0.5.0
6
+
7
+ ### v0.3.0 (2022-04-08)
8
+
9
+ * Regenerated from discovery document revision 20220407
10
+
11
+ ### v0.2.0 (2022-03-22)
12
+
13
+ * Regenerated from discovery document revision 20220319
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.1.0 (2021-12-30)
4
17
 
5
18
  * Regenerated from discovery document revision 20211211
@@ -107,8 +107,7 @@ module Google
107
107
  # A generic empty message that you can re-use to avoid defining duplicated empty
108
108
  # messages in your APIs. A typical example is to use it as the request or the
109
109
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
110
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
111
- # `Empty` is empty JSON object ````.
110
+ # protobuf.Empty) returns (google.protobuf.Empty); `
112
111
  class Empty
113
112
  include Google::Apis::Core::Hashable
114
113
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module MybusinessqandaV1
18
18
  # Version of the google-apis-mybusinessqanda_v1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211211"
25
+ REVISION = "20220407"
26
26
  end
27
27
  end
28
28
  end
@@ -113,36 +113,6 @@ module Google
113
113
  execute_or_queue_command(command, &block)
114
114
  end
115
115
 
116
- # Deletes the answer written by the current user to a question.
117
- # @param [String] name
118
- # Required. The name of the question to delete an answer for.
119
- # @param [String] fields
120
- # Selector specifying which fields to include in a partial response.
121
- # @param [String] quota_user
122
- # Available to use for quota purposes for server-side applications. Can be any
123
- # arbitrary string assigned to a user, but should not exceed 40 characters.
124
- # @param [Google::Apis::RequestOptions] options
125
- # Request-specific options
126
- #
127
- # @yield [result, err] Result & error if block supplied
128
- # @yieldparam result [Google::Apis::MybusinessqandaV1::Empty] parsed result object
129
- # @yieldparam err [StandardError] error object if request failed
130
- #
131
- # @return [Google::Apis::MybusinessqandaV1::Empty]
132
- #
133
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
134
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
135
- # @raise [Google::Apis::AuthorizationError] Authorization is required
136
- def delete_location_question_answers(name, fields: nil, quota_user: nil, options: nil, &block)
137
- command = make_simple_command(:delete, 'v1/{+name}/answers', options)
138
- command.response_representation = Google::Apis::MybusinessqandaV1::Empty::Representation
139
- command.response_class = Google::Apis::MybusinessqandaV1::Empty
140
- command.params['name'] = name unless name.nil?
141
- command.query['fields'] = fields unless fields.nil?
142
- command.query['quotaUser'] = quota_user unless quota_user.nil?
143
- execute_or_queue_command(command, &block)
144
- end
145
-
146
116
  # Returns the paginated list of questions and some of its answers for a
147
117
  # specified location. This operation is only valid if the specified location is
148
118
  # verified.
@@ -233,6 +203,36 @@ module Google
233
203
  execute_or_queue_command(command, &block)
234
204
  end
235
205
 
206
+ # Deletes the answer written by the current user to a question.
207
+ # @param [String] name
208
+ # Required. The name of the question to delete an answer for.
209
+ # @param [String] fields
210
+ # Selector specifying which fields to include in a partial response.
211
+ # @param [String] quota_user
212
+ # Available to use for quota purposes for server-side applications. Can be any
213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
214
+ # @param [Google::Apis::RequestOptions] options
215
+ # Request-specific options
216
+ #
217
+ # @yield [result, err] Result & error if block supplied
218
+ # @yieldparam result [Google::Apis::MybusinessqandaV1::Empty] parsed result object
219
+ # @yieldparam err [StandardError] error object if request failed
220
+ #
221
+ # @return [Google::Apis::MybusinessqandaV1::Empty]
222
+ #
223
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
226
+ def delete_location_question_answer(name, fields: nil, quota_user: nil, options: nil, &block)
227
+ command = make_simple_command(:delete, 'v1/{+name}/answers:delete', options)
228
+ command.response_representation = Google::Apis::MybusinessqandaV1::Empty::Representation
229
+ command.response_class = Google::Apis::MybusinessqandaV1::Empty
230
+ command.params['name'] = name unless name.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
236
236
  # Returns the paginated list of answers for a specified question.
237
237
  # @param [String] parent
238
238
  # Required. The name of the question to fetch answers for.
@@ -264,7 +264,7 @@ module Google
264
264
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
265
265
  # @raise [Google::Apis::AuthorizationError] Authorization is required
266
266
  def list_location_question_answers(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
267
- command = make_simple_command(:get, 'v1/{+parent}', options)
267
+ command = make_simple_command(:get, 'v1/{+parent}/answers', options)
268
268
  command.response_representation = Google::Apis::MybusinessqandaV1::ListAnswersResponse::Representation
269
269
  command.response_class = Google::Apis::MybusinessqandaV1::ListAnswersResponse
270
270
  command.params['parent'] = parent unless parent.nil?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-mybusinessqanda_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.4.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.4'
19
+ version: '0.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.4'
29
+ version: '0.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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-mybusinessqanda_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessqanda_v1/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessqanda_v1/v0.4.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-mybusinessqanda_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.3.4
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for My Business Q&A API V1