Class BillingAccountsResource.ListRequest
Lists the billing accounts that the current authenticated user has permission to view.
Inheritance
Inherited Members
Namespace: Google.Apis.Cloudbilling.v1
Assembly: Google.Apis.Cloudbilling.v1.dll
Syntax
public class BillingAccountsResource.ListRequest : CloudbillingBaseServiceRequest<ListBillingAccountsResponse>, IClientServiceRequest<ListBillingAccountsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Filter
Options for how to filter the returned billing accounts. This only supports filtering for
subaccounts under a single provided parent billing
account. (for example, master_billing_account=billingAccounts/012345-678901-ABCDEF
). Boolean algebra
and other fields are not currently supported.
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
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Requested page size. The maximum page size is 100; this is also the default.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
A token identifying a page of results to return. This should be a next_page_token
value returned from
a previous ListBillingAccounts
call. If unspecified, the first page of results is returned.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Optional. The parent resource to list billing accounts from. Format: -
organizations/{organization_id}
, for example, organizations/12345678
-
billingAccounts/{billing_account_id}
, for example, billingAccounts/012345-567890-ABCDEF
Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { get; set; }
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()