Show / Hide Table of Contents

Class AccountsResource.SitesResource.ListRequest

Lists all the sites available in an account.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<ListSitesResponse>
AdsenseBaseServiceRequest<ListSitesResponse>
AccountsResource.SitesResource.ListRequest
Implements
IClientServiceRequest<ListSitesResponse>
IClientServiceRequest
Inherited Members
AdsenseBaseServiceRequest<ListSitesResponse>.Xgafv
AdsenseBaseServiceRequest<ListSitesResponse>.AccessToken
AdsenseBaseServiceRequest<ListSitesResponse>.Alt
AdsenseBaseServiceRequest<ListSitesResponse>.Callback
AdsenseBaseServiceRequest<ListSitesResponse>.Fields
AdsenseBaseServiceRequest<ListSitesResponse>.Key
AdsenseBaseServiceRequest<ListSitesResponse>.OauthToken
AdsenseBaseServiceRequest<ListSitesResponse>.PrettyPrint
AdsenseBaseServiceRequest<ListSitesResponse>.QuotaUser
AdsenseBaseServiceRequest<ListSitesResponse>.UploadType
AdsenseBaseServiceRequest<ListSitesResponse>.UploadProtocol
ClientServiceRequest<ListSitesResponse>.Execute()
ClientServiceRequest<ListSitesResponse>.ExecuteAsStream()
ClientServiceRequest<ListSitesResponse>.ExecuteAsync()
ClientServiceRequest<ListSitesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<ListSitesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<ListSitesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<ListSitesResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<ListSitesResponse>.GenerateRequestUri()
ClientServiceRequest<ListSitesResponse>.GetBody()
ClientServiceRequest<ListSitesResponse>.GetDefaultETagAction(String)
ClientServiceRequest<ListSitesResponse>.ETagAction
ClientServiceRequest<ListSitesResponse>.ModifyRequest
ClientServiceRequest<ListSitesResponse>.ValidateParameters
ClientServiceRequest<ListSitesResponse>.RequestParameters
ClientServiceRequest<ListSitesResponse>.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<ListSitesResponse>, IClientServiceRequest<ListSitesResponse>, IClientServiceRequest

Constructors

ListRequest(IClientService, String)

Constructs a new List request.

Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type Name Description
IClientService service
System.String parent

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

PageSize

The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites 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 ListSites call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListSites 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

Parent

Required. The account which owns the collection of sites. Format: accounts/{account}

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
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.ListSitesResponse>.RestPath

Methods

InitParameters()

Initializes List parameter list.

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

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top