MyBusinessqanda
import { MyBusinessqanda } from "https://googleapis.deno.dev/v1/mybusinessqanda:v1.ts";
The My Business Q&A API allows questions and answers to be posted for specific listings. Note - If you have a quota of 0 after enabling the API, please request for GBP API access.
class MyBusinessqanda { }
questions;
async locationsQuestionsAnswersList(parent: string, opts?: LocationsQuestionsAnswersListOptions): Promise<ListAnswersResponse>;
async locationsQuestionsList(parent: string, opts?: LocationsQuestionsListOptions): Promise<ListQuestionsResponse>;
async locationsQuestionsPatch(
name: string,
req: Question,
opts?: LocationsQuestionsPatchOptions,
): Promise<Question>;§Properties
§Methods
§
locationsQuestionsAnswersList(parent: string, opts?: LocationsQuestionsAnswersListOptions): Promise<ListAnswersResponse>
[src]Returns the paginated list of answers for a specified question.
@param parent
Required. The name of the question to fetch answers for.
§
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.
@param parent
Required. The name of the question to write an answer for.
§
locationsQuestionsList(parent: string, opts?: LocationsQuestionsListOptions): Promise<ListQuestionsResponse>
[src]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.
@param parent
Required. The name of the location to fetch questions for.
§
locationsQuestionsPatch(name: string, req: Question, opts?: LocationsQuestionsPatchOptions): Promise<Question>
[src]