Show / Hide Table of Contents

Class LocationsResource.QuestionsResource.AnswersResource.ListRequest

Returns the paginated list of answers for a specified question.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListAnswersResponse>
MyBusinessQABaseServiceRequest<ListAnswersResponse>
LocationsResource.QuestionsResource.AnswersResource.ListRequest
Implements
IClientServiceRequest<ListAnswersResponse>
IClientServiceRequest
Inherited Members
MyBusinessQABaseServiceRequest<ListAnswersResponse>.Xgafv
MyBusinessQABaseServiceRequest<ListAnswersResponse>.AccessToken
MyBusinessQABaseServiceRequest<ListAnswersResponse>.Alt
MyBusinessQABaseServiceRequest<ListAnswersResponse>.Callback
MyBusinessQABaseServiceRequest<ListAnswersResponse>.Fields
MyBusinessQABaseServiceRequest<ListAnswersResponse>.Key
MyBusinessQABaseServiceRequest<ListAnswersResponse>.OauthToken
MyBusinessQABaseServiceRequest<ListAnswersResponse>.PrettyPrint
MyBusinessQABaseServiceRequest<ListAnswersResponse>.QuotaUser
MyBusinessQABaseServiceRequest<ListAnswersResponse>.UploadType
MyBusinessQABaseServiceRequest<ListAnswersResponse>.UploadProtocol
ClientServiceRequest<ListAnswersResponse>.Execute()
ClientServiceRequest<ListAnswersResponse>.ExecuteAsStream()
ClientServiceRequest<ListAnswersResponse>.ExecuteAsync()
ClientServiceRequest<ListAnswersResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListAnswersResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListAnswersResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListAnswersResponse>.CreateRequest(bool?)
ClientServiceRequest<ListAnswersResponse>.GenerateRequestUri()
ClientServiceRequest<ListAnswersResponse>.GetBody()
ClientServiceRequest<ListAnswersResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListAnswersResponse>.ETagAction
ClientServiceRequest<ListAnswersResponse>.ModifyRequest
ClientServiceRequest<ListAnswersResponse>.ValidateParameters
ClientServiceRequest<ListAnswersResponse>.ApiVersion
ClientServiceRequest<ListAnswersResponse>.RequestParameters
ClientServiceRequest<ListAnswersResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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.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()
Overrides
MyBusinessQABaseServiceRequest<ListAnswersResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX