Show / Hide Table of Contents

Class AccountsResource.ListRequest

Lists accounts accessible to the calling user and matching the constraints of the request such as page size or filters. This is not just listing the sub-accounts of an MCA, but all accounts the calling user has access to including other MCAs, linked accounts, standalone accounts and so on. If no filter is provided, then it returns all the accounts the user has access to. This method is eventually consistent, meaning changes such as creating, updating an account or a change of relationships between accounts may not show up in the results immediately. Instead, these changes propagate over a short period, after which the updated information can match the associated predicates. That means, that searching by account name might not return a recently changed account even though it satisfies the predicate.

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

Constructors

ListRequest(IClientService)

Constructs a new List request.

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

Properties

Filter

Optional. Returns only accounts that match the filter. For more details, see the filter syntax reference.

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<ListAccountsResponse>.HttpMethod

MethodName

Gets the method name.

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

PageSize

Optional. The maximum number of accounts to return. The service may return fewer than this value. If unspecified, at most 250 accounts are returned. The maximum value is 500; values above 500 are coerced to 500.

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

PageToken

Optional. A page token, received from a previous ListAccounts call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAccounts must match the call that provided the page token.

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

RestPath

Gets the REST path.

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

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
MerchantBaseServiceRequest<ListAccountsResponse>.InitParameters()

Implements

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