LocationsQuestionsAnswers
class LocationsQuestionsAnswers extends Resource (View source)
The "answers" collection of methods.
Typical usage is:
$mybusinessqandaService = new Google\Service\MyBusinessQA(...);
$answers = $mybusinessqandaService->locations_questions_answers;
Methods
delete(string $name, array $optParams = [])
Deletes the answer written by the current user to a question.
listLocationsQuestionsAnswers(string $parent, array $optParams = [])
Returns the paginated list of answers for a specified question.
upsert(string $parent, UpsertAnswerRequest $postBody, array $optParams = [])
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.
Details
MybusinessqandaEmpty
delete(string $name, array $optParams = [])
Deletes the answer written by the current user to a question.
(answers.delete)
ListAnswersResponse
listLocationsQuestionsAnswers(string $parent, array $optParams = [])
Returns the paginated list of answers for a specified question.
(answers.listLocationsQuestionsAnswers)
Answer
upsert(string $parent, UpsertAnswerRequest $postBody, array $optParams = [])
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.
(answers.upsert)