Class PlatformsResource.AccountsResource.SitesResource.ListRequest
Lists sites for a specific account.
Inheritance
PlatformsResource.AccountsResource.SitesResource.ListRequest
Inherited Members
Namespace: Google.Apis.AdSensePlatform.v1alpha
Assembly: Google.Apis.AdSensePlatform.v1alpha.dll
Syntax
public class PlatformsResource.AccountsResource.SitesResource.ListRequest : AdSensePlatformBaseServiceRequest<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 | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
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 |
---|---|
int? |
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 |
---|---|
string |
Parent
Required. The account which owns the sites. Format: platforms/{platform}/accounts/{account}
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
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()