Class LocationsResource.QuestionsResource.AnswersResource.ListRequest
Returns the paginated list of answers for a specified question.
Inheritance
LocationsResource.QuestionsResource.AnswersResource.ListRequest
Inherited Members
Namespace: Google.Apis.MyBusinessQA.v1
Assembly: Google.Apis.MyBusinessQA.v1.dll
Syntax
public class LocationsResource.QuestionsResource.AnswersResource.ListRequest : MyBusinessQABaseServiceRequest<ListAnswersResponse>, IClientServiceRequest<ListAnswersResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.ListAnswersResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.ListAnswersResponse>.MethodName
OrderBy
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'.
Declaration
[RequestParameter("orderBy", RequestParameterType.Query)]
public virtual string OrderBy { get; set; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. How many answers to fetch per page. The default and maximum page_size
values are 10.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. If specified, the next page of answers is retrieved.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The name of the question to fetch answers for.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.MyBusinessQA.v1.Data.ListAnswersResponse>.RestPath
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()