Deletes a specific question written by the current user.
name(path, required) — Required. The name of the question to delete.
PATCH
/v1/{name}
Updates a specific question written by the current user.
name(path, required) — Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
updateMask(query) — Required. The specific fields to update. Only question text can be updated.
DELETE
/v1/{name}/answers:delete
Deletes the answer written by the current user to a question.
name(path, required) — Required. The name of the question to delete an answer for.
GET
/v1/{parent}
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.
parent(path, required) — Required. The name of the location to fetch questions for.
answersPerQuestion(query) — Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10.
filter(query) — Optional. A filter constraining the questions to return. The only filter currently supported is "ignore_answered=true"
orderBy(query) — Optional. The order to return the questions. Valid options include 'update_time desc' and 'upvote_count desc', which will return the questions sorted descendingly by the requested field. The default sort order is 'update_time desc'.
pageSize(query, limit) — Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10.
pageToken(query) — Optional. If specified, the next page of questions is retrieved.
POST
/v1/{parent}
Adds a question for the specified location.
parent(path, required) — Required. The name of the location to write a question for.
GET
/v1/{parent}/answers
Returns the paginated list of answers for a specified question.
parent(path, required) — Required. The name of the question to fetch answers for.
orderBy(query) — Optional. The order to return the answers. Valid options include 'update_time desc' and 'upvote_count desc', which will return the answers sorted descendingly by the requested field. The default sort order is 'update_time desc'.
pageSize(query, limit) — Optional. How many answers to fetch per page. The default and maximum `page_size` values are 10.
pageToken(query) — Optional. If specified, the next page of answers is retrieved.
POST
/v1/{parent}/answers:upsert
Creates an answer or updates the existing answer written by the user for the specified question. A user can only create one answer per question.
parent(path, required) — Required. The name of the question to write an answer for.