Show / Hide Table of Contents

Class LocationsResource.QuestionsResource.ListRequest

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.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListQuestionsResponse>
MyBusinessQABaseServiceRequest<ListQuestionsResponse>
LocationsResource.QuestionsResource.ListRequest
Implements
IClientServiceRequest<ListQuestionsResponse>
IClientServiceRequest
Inherited Members
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.Xgafv
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.AccessToken
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.Alt
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.Callback
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.Fields
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.Key
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.OauthToken
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.PrettyPrint
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.QuotaUser
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.UploadType
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.UploadProtocol
ClientServiceRequest<ListQuestionsResponse>.Execute()
ClientServiceRequest<ListQuestionsResponse>.ExecuteAsStream()
ClientServiceRequest<ListQuestionsResponse>.ExecuteAsync()
ClientServiceRequest<ListQuestionsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListQuestionsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListQuestionsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListQuestionsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListQuestionsResponse>.GenerateRequestUri()
ClientServiceRequest<ListQuestionsResponse>.GetBody()
ClientServiceRequest<ListQuestionsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListQuestionsResponse>.ETagAction
ClientServiceRequest<ListQuestionsResponse>.ModifyRequest
ClientServiceRequest<ListQuestionsResponse>.ValidateParameters
ClientServiceRequest<ListQuestionsResponse>.ApiVersion
ClientServiceRequest<ListQuestionsResponse>.RequestParameters
ClientServiceRequest<ListQuestionsResponse>.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.ListRequest : MyBusinessQABaseServiceRequest<ListQuestionsResponse>, IClientServiceRequest<ListQuestionsResponse>, 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

AnswersPerQuestion

Optional. How many answers to fetch per question. The default and maximum answers_per_question values are 10.

Declaration
[RequestParameter("answersPerQuestion", RequestParameterType.Query)]
public virtual int? AnswersPerQuestion { get; set; }
Property Value
Type Description
int?

Filter

Optional. A filter constraining the questions to return. The only filter currently supported is "ignore_answered=true"

Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type Description
string

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.ListQuestionsResponse>.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.ListQuestionsResponse>.MethodName

OrderBy

Optional. The order to return the questions. Valid options include 'update_time desc' and 'upvote_count desc', which will return the questions 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 questions 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 questions is retrieved.

Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type Description
string

Parent

Required. The name of the location to fetch questions 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.ListQuestionsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
MyBusinessQABaseServiceRequest<ListQuestionsResponse>.InitParameters()

Implements

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