Class AccountsResource.ListChildAccountsRequest
Lists all accounts directly managed by the given AdSense account.
Inheritance
AccountsResource.ListChildAccountsRequest
Inherited Members
Namespace: Google.Apis.Adsense.v2
Assembly: Google.Apis.Adsense.v2.dll
Syntax
public class AccountsResource.ListChildAccountsRequest : AdsenseBaseServiceRequest<ListChildAccountsResponse>, IClientServiceRequest<ListChildAccountsResponse>, IClientServiceRequest
Constructors
ListChildAccountsRequest(IClientService, string)
Constructs a new ListChildAccounts request.
Declaration
public ListChildAccountsRequest(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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListChildAccountsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListChildAccountsResponse>.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 |
---|---|
int? |
PageToken
A page token, received from a previous ListChildAccounts
call. Provide this to retrieve the subsequent
page. When paginating, all other parameters provided to ListChildAccounts
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 parent account, which owns the child accounts. Format: 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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Adsense.v2.Data.ListChildAccountsResponse>.RestPath
Methods
InitParameters()
Initializes ListChildAccounts parameter list.
Declaration
protected override void InitParameters()