Class BillingAccountsResource.BudgetsResource.ListRequest
Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudBillingBudget.v1
Assembly: Google.Apis.CloudBillingBudget.v1.dll
Syntax
public class BillingAccountsResource.BudgetsResource.ListRequest : CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>, IClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>, 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
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The value returned by the last ListBudgetsResponse
which indicates that this is a
continuation of a prior ListBudgets
call, and that the system should return the next page of data.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Name of billing account to list budgets under. Values are of the form
billingAccounts/{billingAccountId}
.
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
Scope
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
Declaration
[RequestParameter("scope", RequestParameterType.Query)]
public virtual string Scope { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()