1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="mybusinessqanda_v1.html">My Business Q&A API</a> . <a href="mybusinessqanda_v1.locations.html">locations</a> . <a href="mybusinessqanda_v1.locations.questions.html">questions</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="mybusinessqanda_v1.locations.questions.answers.html">answers()</a></code>
79</p>
80<p class="firstline">Returns the answers Resource.</p>
81
82<p class="toc_element">
83  <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
86  <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Adds a question for the specified location.</p>
88<p class="toc_element">
89  <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Deletes a specific question written by the current user.</p>
91<p class="toc_element">
92  <code><a href="#deleteAnswers">deleteAnswers(name, x__xgafv=None)</a></code></p>
93<p class="firstline">Deletes the answer written by the current user to a question.</p>
94<p class="toc_element">
95  <code><a href="#list">list(parent, answersPerQuestion=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96<p class="firstline">Returns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.</p>
97<p class="toc_element">
98  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<p class="toc_element">
101  <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102<p class="firstline">Updates a specific question written by the current user.</p>
103<h3>Method Details</h3>
104<div class="method">
105    <code class="details" id="close">close()</code>
106  <pre>Close httplib2 connections.</pre>
107</div>
108
109<div class="method">
110    <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
111  <pre>Adds a question for the specified location.
112
113Args:
114  parent: string, Required. The name of the location to write a question for. (required)
115  body: object, The request body.
116    The object takes the form of:
117
118{ # Represents a single question and some of its answers.
119  &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the question.
120    &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
121    &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
122    &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
123  },
124  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was written.
125  &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
126  &quot;text&quot;: &quot;A String&quot;, # Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
127  &quot;topAnswers&quot;: [ # Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
128    { # Represents an answer to a question
129      &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the answer. Will only be set during list operations.
130        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
131        &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
132        &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
133      },
134      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
135      &quot;name&quot;: &quot;A String&quot;, # Output only. The unique name for the answer locations/*/questions/*/answers/*
136      &quot;text&quot;: &quot;A String&quot;, # Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
137      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was last modified.
138      &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the answer.
139    },
140  ],
141  &quot;totalAnswerCount&quot;: 42, # Output only. The total number of answers posted for this question.
142  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was last modified.
143  &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the question.
144}
145
146  x__xgafv: string, V1 error format.
147    Allowed values
148      1 - v1 error format
149      2 - v2 error format
150
151Returns:
152  An object of the form:
153
154    { # Represents a single question and some of its answers.
155  &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the question.
156    &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
157    &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
158    &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
159  },
160  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was written.
161  &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
162  &quot;text&quot;: &quot;A String&quot;, # Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
163  &quot;topAnswers&quot;: [ # Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
164    { # Represents an answer to a question
165      &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the answer. Will only be set during list operations.
166        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
167        &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
168        &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
169      },
170      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
171      &quot;name&quot;: &quot;A String&quot;, # Output only. The unique name for the answer locations/*/questions/*/answers/*
172      &quot;text&quot;: &quot;A String&quot;, # Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
173      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was last modified.
174      &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the answer.
175    },
176  ],
177  &quot;totalAnswerCount&quot;: 42, # Output only. The total number of answers posted for this question.
178  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was last modified.
179  &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the question.
180}</pre>
181</div>
182
183<div class="method">
184    <code class="details" id="delete">delete(name, x__xgafv=None)</code>
185  <pre>Deletes a specific question written by the current user.
186
187Args:
188  name: string, Required. The name of the question to delete. (required)
189  x__xgafv: string, V1 error format.
190    Allowed values
191      1 - v1 error format
192      2 - v2 error format
193
194Returns:
195  An object of the form:
196
197    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
198}</pre>
199</div>
200
201<div class="method">
202    <code class="details" id="deleteAnswers">deleteAnswers(name, x__xgafv=None)</code>
203  <pre>Deletes the answer written by the current user to a question.
204
205Args:
206  name: string, Required. The name of the question to delete an answer for. (required)
207  x__xgafv: string, V1 error format.
208    Allowed values
209      1 - v1 error format
210      2 - v2 error format
211
212Returns:
213  An object of the form:
214
215    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
216}</pre>
217</div>
218
219<div class="method">
220    <code class="details" id="list">list(parent, answersPerQuestion=None, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
221  <pre>Returns the paginated list of questions and some of its answers for a specified location. This operation is only valid if the specified location is verified.
222
223Args:
224  parent: string, Required. The name of the location to fetch questions for. (required)
225  answersPerQuestion: integer, Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10.
226  filter: string, Optional. A filter constraining the questions to return. The only filter currently supported is &quot;ignore_answered=true&quot;
227  orderBy: string, Optional. The order to return the questions. Valid options include &#x27;update_time desc&#x27; and &#x27;upvote_count desc&#x27;, which will return the questions sorted descendingly by the requested field. The default sort order is &#x27;update_time desc&#x27;.
228  pageSize: integer, Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10.
229  pageToken: string, Optional. If specified, the next page of questions is retrieved.
230  x__xgafv: string, V1 error format.
231    Allowed values
232      1 - v1 error format
233      2 - v2 error format
234
235Returns:
236  An object of the form:
237
238    { # Response message for QuestionsAndAnswers.ListQuestions
239  &quot;nextPageToken&quot;: &quot;A String&quot;, # If the number of questions exceeds the requested max page size, this field is populated with a token to fetch the next page of questions on a subsequent call. If there are no more questions, this field is not present in the response.
240  &quot;questions&quot;: [ # The requested questions,
241    { # Represents a single question and some of its answers.
242      &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the question.
243        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
244        &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
245        &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
246      },
247      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was written.
248      &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
249      &quot;text&quot;: &quot;A String&quot;, # Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
250      &quot;topAnswers&quot;: [ # Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
251        { # Represents an answer to a question
252          &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the answer. Will only be set during list operations.
253            &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
254            &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
255            &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
256          },
257          &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
258          &quot;name&quot;: &quot;A String&quot;, # Output only. The unique name for the answer locations/*/questions/*/answers/*
259          &quot;text&quot;: &quot;A String&quot;, # Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
260          &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was last modified.
261          &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the answer.
262        },
263      ],
264      &quot;totalAnswerCount&quot;: 42, # Output only. The total number of answers posted for this question.
265      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was last modified.
266      &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the question.
267    },
268  ],
269  &quot;totalSize&quot;: 42, # The total number of questions posted for this location across all pages.
270}</pre>
271</div>
272
273<div class="method">
274    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
275  <pre>Retrieves the next page of results.
276
277Args:
278  previous_request: The request for the previous page. (required)
279  previous_response: The response from the request for the previous page. (required)
280
281Returns:
282  A request object that you can call &#x27;execute()&#x27; on to request the next
283  page. Returns None if there are no more items in the collection.
284    </pre>
285</div>
286
287<div class="method">
288    <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
289  <pre>Updates a specific question written by the current user.
290
291Args:
292  name: string, Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation. (required)
293  body: object, The request body.
294    The object takes the form of:
295
296{ # Represents a single question and some of its answers.
297  &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the question.
298    &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
299    &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
300    &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
301  },
302  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was written.
303  &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
304  &quot;text&quot;: &quot;A String&quot;, # Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
305  &quot;topAnswers&quot;: [ # Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
306    { # Represents an answer to a question
307      &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the answer. Will only be set during list operations.
308        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
309        &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
310        &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
311      },
312      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
313      &quot;name&quot;: &quot;A String&quot;, # Output only. The unique name for the answer locations/*/questions/*/answers/*
314      &quot;text&quot;: &quot;A String&quot;, # Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
315      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was last modified.
316      &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the answer.
317    },
318  ],
319  &quot;totalAnswerCount&quot;: 42, # Output only. The total number of answers posted for this question.
320  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was last modified.
321  &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the question.
322}
323
324  updateMask: string, Required. The specific fields to update. Only question text can be updated.
325  x__xgafv: string, V1 error format.
326    Allowed values
327      1 - v1 error format
328      2 - v2 error format
329
330Returns:
331  An object of the form:
332
333    { # Represents a single question and some of its answers.
334  &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the question.
335    &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
336    &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
337    &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
338  },
339  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was written.
340  &quot;name&quot;: &quot;A String&quot;, # Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
341  &quot;text&quot;: &quot;A String&quot;, # Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
342  &quot;topAnswers&quot;: [ # Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
343    { # Represents an answer to a question
344      &quot;author&quot;: { # Represents the author of a question or answer # Output only. The author of the answer. Will only be set during list operations.
345        &quot;displayName&quot;: &quot;A String&quot;, # The display name of the user
346        &quot;profilePhotoUri&quot;: &quot;A String&quot;, # The profile photo URI of the user.
347        &quot;type&quot;: &quot;A String&quot;, # The type of user the author is.
348      },
349      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was written. Only retrieved during ListResponse fetching.
350      &quot;name&quot;: &quot;A String&quot;, # Output only. The unique name for the answer locations/*/questions/*/answers/*
351      &quot;text&quot;: &quot;A String&quot;, # Required. The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
352      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the answer was last modified.
353      &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the answer.
354    },
355  ],
356  &quot;totalAnswerCount&quot;: 42, # Output only. The total number of answers posted for this question.
357  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp for when the question was last modified.
358  &quot;upvoteCount&quot;: 42, # Output only. The number of upvotes for the question.
359}</pre>
360</div>
361
362</body></html>