google-apis-mybusinessqanda_v1 0.2.0 → 0.3.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/mybusinessqanda_v1/gem_version.rb +2 -2
- data/lib/google/apis/mybusinessqanda_v1/service.rb +31 -31
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 702720afe1845394b2f6e1a700f76d5ebd79578725c6aa4b4d554ee1e2fb4476
|
4
|
+
data.tar.gz: 50d61f03d88a47c240a326e1c16c766ec6382f071c543eb7e53431c59cba29ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dba802deff23e0382ee8a5c0b895a2bb19a45c9a8aceaf84a65192c415e5e5629ce66c27b89f4ceb8eab30eb61d3b1b326da757fef0045337babe60b2b20c867
|
7
|
+
data.tar.gz: c9cd09222b6cd9144fa99fc10e1127b67a8c2209c5b3f5a8675c3ebd43c9615a3630d0cce42d6ae0ee7383040c2f7ef013e26ec4f82a3ed19d3366069b24e2f8
|
data/CHANGELOG.md
CHANGED
@@ -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.
|
19
|
+
GEM_VERSION = "0.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2022-04-11 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-mybusinessqanda_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessqanda_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-mybusinessqanda_v1/v0.3.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: []
|