google-apis-mybusinessqanda_v1 0.2.0 → 0.5.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: ef0b8252e9c287b90a259d96e8c26ab09068cb159e87ccc9dcb627d5b6ef0c40
4
- data.tar.gz: 327a554c3804d7eaf829f6e6a591f7c134513532a282a8f419bbec10799aedac
3
+ metadata.gz: 4d03a02652a4375c0f79a5b1c48c30343c0598b938141adede053f91475b4ad5
4
+ data.tar.gz: b42dfabd8f16e049ff73ec5798826382a4708c6b7a029d40eef990a9dc0d8364
5
5
  SHA512:
6
- metadata.gz: 3137764a16aefbd46c998b70da9ceaed49c3cdd04b77e16b333f521cf3804288962c14eab5f05dc91141f28f2473edaae90395347f9c21115f6fbc9b3d9bac9f
7
- data.tar.gz: 1c552c73ad8aca030dd38e60303240d0e344e489b0dbff4567fc8f888d9dfb7392e0e9dacfcfdbddc32f36e2c2a2368c99098328a718d4ed6db4903e037657f1
6
+ metadata.gz: 919dbeaaa79802529381be4f2e9a08356e49e3591a5bf4bf3074c18b639f18eef282bb00a1b0887b54cf6e3d06256b8e817f764022dbe177cae68fb081c1dfd7
7
+ data.tar.gz: a5317d19fd9fcd6a5836de44615fc9811f5ea22849a58befb99ffa1e93f1770120568e29cdbcf9febf700e4c0f4be4d606806dea2a807be012e2bfbc35824d3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-mybusinessqanda_v1
2
2
 
3
+ ### v0.5.0 (2022-06-19)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+
7
+ ### v0.4.0 (2022-06-05)
8
+
9
+ * Regenerated using generator version 0.5.0
10
+
11
+ ### v0.3.0 (2022-04-08)
12
+
13
+ * Regenerated from discovery document revision 20220407
14
+
3
15
  ### v0.2.0 (2022-03-22)
4
16
 
5
17
  * Regenerated from discovery document revision 20220319
@@ -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.2.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
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.2.0
4
+ version: 0.5.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-06-20 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.6'
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.6'
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.2.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessqanda_v1/v0.5.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.5
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