Show / Hide Table of Contents

Class LocationsResource.QuestionsResource.AnswersResource

The "answers" collection of methods.

Inheritance
object
LocationsResource.QuestionsResource.AnswersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.MyBusinessQA.v1
Assembly: Google.Apis.MyBusinessQA.v1.dll
Syntax
public class LocationsResource.QuestionsResource.AnswersResource

Constructors

AnswersResource(IClientService)

Constructs a new resource.

Declaration
public AnswersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(string)

Deletes the answer written by the current user to a question.

Declaration
public virtual LocationsResource.QuestionsResource.AnswersResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the question to delete an answer for.

Returns
Type Description
LocationsResource.QuestionsResource.AnswersResource.DeleteRequest

List(string)

Returns the paginated list of answers for a specified question.

Declaration
public virtual LocationsResource.QuestionsResource.AnswersResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The name of the question to fetch answers for.

Returns
Type Description
LocationsResource.QuestionsResource.AnswersResource.ListRequest

Upsert(UpsertAnswerRequest, string)

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.

Declaration
public virtual LocationsResource.QuestionsResource.AnswersResource.UpsertRequest Upsert(UpsertAnswerRequest body, string parent)
Parameters
Type Name Description
UpsertAnswerRequest body

The body of the request.

string parent

Required. The name of the question to write an answer for.

Returns
Type Description
LocationsResource.QuestionsResource.AnswersResource.UpsertRequest
In this article
Back to top Generated by DocFX