Show / Hide Table of Contents

Class AccountsResource.LocationsResource.ListRequest

Lists the locations for the specified account.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<ListLocationsResponse>
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>
AccountsResource.LocationsResource.ListRequest
Implements
IClientServiceRequest<ListLocationsResponse>
IClientServiceRequest
Inherited Members
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.Xgafv
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.AccessToken
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.Alt
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.Callback
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.Fields
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.Key
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.OauthToken
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.PrettyPrint
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.QuotaUser
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.UploadType
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.UploadProtocol
ClientServiceRequest<ListLocationsResponse>.Execute()
ClientServiceRequest<ListLocationsResponse>.ExecuteAsStream()
ClientServiceRequest<ListLocationsResponse>.ExecuteAsync()
ClientServiceRequest<ListLocationsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListLocationsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListLocationsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListLocationsResponse>.CreateRequest(bool?)
ClientServiceRequest<ListLocationsResponse>.GenerateRequestUri()
ClientServiceRequest<ListLocationsResponse>.GetBody()
ClientServiceRequest<ListLocationsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<ListLocationsResponse>.ETagAction
ClientServiceRequest<ListLocationsResponse>.ModifyRequest
ClientServiceRequest<ListLocationsResponse>.ValidateParameters
ClientServiceRequest<ListLocationsResponse>.ApiVersion
ClientServiceRequest<ListLocationsResponse>.RequestParameters
ClientServiceRequest<ListLocationsResponse>.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.MyBusinessBusinessInformation.v1
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class AccountsResource.LocationsResource.ListRequest : MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>, IClientServiceRequest<ListLocationsResponse>, 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

Filter

Optional. A filter constraining the locations to return. The response includes only entries that match the filter. If filter is empty, then constraints are applied and all locations (paginated) are retrieved for the requested account. For more information about valid fields and example usage, see Work with Location Data Guide.

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
ClientServiceRequest<ListLocationsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListLocationsResponse>.MethodName

OrderBy

Optional. Sorting order for the request. Multiple fields should be comma-separated, following SQL syntax. The default sorting order is ascending. To specify descending order, a suffix " desc" should be added. Valid fields to order_by are title and store_code. For example: "title, store_code desc" or "title" or "store_code desc"

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

PageSize

Optional. How many locations to fetch per page. Default value is 10 if not set. Minimum is 1, and maximum page size is 100.

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

PageToken

Optional. If specified, it fetches the next page of locations. The page token is returned by previous calls to ListLocations when there were more locations than could fit in the requested page size.

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

Parent

Required. The name of the account to fetch locations from. If the parent Account is of AccountType PERSONAL, only Locations that are directly owned by the Account are returned, otherwise it will return all accessible locations from the Account, either directly or indirectly.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

ReadMask

Required. Read mask to specify what fields will be returned in the response.

Declaration
[RequestParameter("readMask", RequestParameterType.Query)]
public virtual object ReadMask { get; set; }
Property Value
Type Description
object

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<ListLocationsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
MyBusinessBusinessInformationBaseServiceRequest<ListLocationsResponse>.InitParameters()

Implements

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