Show / Hide Table of Contents

Class AccountsResource.ListRequest

Lists all accounts available to this user.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ListAccountsResponse>
AdsenseBaseServiceRequest<ListAccountsResponse>
AccountsResource.ListRequest
Implements
IClientServiceRequest<ListAccountsResponse>
IClientServiceRequest
Inherited Members
AdsenseBaseServiceRequest<ListAccountsResponse>.Xgafv
AdsenseBaseServiceRequest<ListAccountsResponse>.AccessToken
AdsenseBaseServiceRequest<ListAccountsResponse>.Alt
AdsenseBaseServiceRequest<ListAccountsResponse>.Callback
AdsenseBaseServiceRequest<ListAccountsResponse>.Fields
AdsenseBaseServiceRequest<ListAccountsResponse>.Key
AdsenseBaseServiceRequest<ListAccountsResponse>.OauthToken
AdsenseBaseServiceRequest<ListAccountsResponse>.PrettyPrint
AdsenseBaseServiceRequest<ListAccountsResponse>.QuotaUser
AdsenseBaseServiceRequest<ListAccountsResponse>.UploadType
AdsenseBaseServiceRequest<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(Nullable<Boolean>)
ClientServiceRequest<ListAccountsResponse>.GenerateRequestUri()
ClientServiceRequest<ListAccountsResponse>.GetBody()
ClientServiceRequest<ListAccountsResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListAccountsResponse>.ETagAction
ClientServiceRequest<ListAccountsResponse>.ModifyRequest
ClientServiceRequest<ListAccountsResponse>.ValidateParameters
ClientServiceRequest<ListAccountsResponse>.RequestParameters
ClientServiceRequest<ListAccountsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class ListRequest : AdsenseBaseServiceRequest<ListAccountsResponse>, IClientServiceRequest<ListAccountsResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService)

Constructs a new List request.

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

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListAccountsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListAccountsResponse>.MethodName

PageSize

The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be returned. The maximum value is 10000; values above 10000 will be coerced to 10000.

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

PageToken

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
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListAccountsResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Adsense.v2.AdsenseBaseServiceRequest<Google.Apis.Adsense.v2.Data.ListAccountsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top