2021-12-30
▼ ▲ mybusinessqanda.locations.questions.answers.list
Description : Returns the paginated list of answers for a specified question.
Path : v1/{+parent}
HTTP Method : GET
Parameter Order : parent
Parameters :
orderBy
Location : query
Type : string
Description : 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'.
pageToken
Location : query
Type : string
Description : Optional. If specified, the next page of answers is retrieved.
pageSize
Description : Optional. How many answers to fetch per page. The default and maximum `page_size` values are 10.
Location : query
Format : int32
Type : integer
parent
Description : Required. The name of the question to fetch answers for.
Pattern : ^locations/[^/]+/questions/[^/]+/answers$
Required : Yes
Location : path
Type : string
Flat Path : v1/locations/{locationsId}/questions/{questionsId}/answers
▼ ▲ mybusinessqanda.locations.questions.answers.upsert
HTTP Method : POST
Parameters :
parent
Description : Required. The name of the question to write an answer for.
Location : path
Type : string
Pattern : ^locations/[^/]+/questions/[^/]+$
Required : Yes
Path : v1/{+parent}/answers:upsert
Parameter Order : parent
Flat Path : v1/locations/{locationsId}/questions/{questionsId}/answers:upsert
Description : 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.
▼ ▲ mybusinessqanda.locations.questions.deleteAnswers
HTTP Method : DELETE
Parameters :
name
Type : string
Location : path
Description : Required. The name of the question to delete an answer for.
Pattern : ^locations/[^/]+/questions/[^/]+$
Required : Yes
Path : v1/{+name}/answers
Flat Path : v1/locations/{locationsId}/questions/{questionsId}/answers
Parameter Order : name
Description : Deletes the answer written by the current user to a question.
▼ ▲ mybusinessqanda.locations.questions.list
Path : v1/{+parent}
Description : 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.
HTTP Method : GET
Parameter Order : parent
Flat Path : v1/locations/{locationsId}/questions
Parameters :
orderBy
Description : 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'.
Location : query
Type : string
pageSize
Type : integer
Location : query
Format : int32
Description : Optional. How many questions to fetch per page. The default and maximum `page_size` values are 10.
answersPerQuestion
Description : Optional. How many answers to fetch per question. The default and maximum `answers_per_question` values are 10.
Format : int32
Location : query
Type : integer
parent
Type : string
Pattern : ^locations/[^/]+/questions$
Description : Required. The name of the location to fetch questions for.
Required : Yes
Location : path
pageToken
Description : Optional. If specified, the next page of questions is retrieved.
Type : string
Location : query
filter
Location : query
Description : Optional. A filter constraining the questions to return. The only filter currently supported is "ignore_answered=true"
Type : string
▼ ▲ mybusinessqanda.locations.questions.delete
HTTP Method : DELETE
Parameter Order : name
Description : Deletes a specific question written by the current user.
Parameters :
name
Location : path
Description : Required. The name of the question to delete.
Required : Yes
Pattern : ^locations/[^/]+/questions/[^/]+$
Type : string
Flat Path : v1/locations/{locationsId}/questions/{questionsId}
Path : v1/{+name}
▼ ▲ mybusinessqanda.locations.questions.patch
Parameters :
name
Required : Yes
Location : path
Type : string
Pattern : ^locations/[^/]+/questions/[^/]+$
Description : Immutable. The unique name for the question. locations/*/questions/* This field will be ignored if set during question creation.
updateMask
Description : Required. The specific fields to update. Only question text can be updated.
Type : string
Format : google-fieldmask
Location : query
HTTP Method : PATCH
Description : Updates a specific question written by the current user.
Path : v1/{+name}
Parameter Order : name
Flat Path : v1/locations/{locationsId}/questions/{questionsId}
▼ ▲ mybusinessqanda.locations.questions.create
HTTP Method : POST
Description : Adds a question for the specified location.
Flat Path : v1/locations/{locationsId}/questions
Path : v1/{+parent}
Parameter Order : parent
Parameters :
parent
Location : path
Required : Yes
Description : Required. The name of the location to write a question for.
Type : string
Pattern : ^locations/[^/]+/questions$