Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>
BillingAccountsResource.BudgetsResource.ListRequest
Implements
IClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>
IClientServiceRequest
Inherited Members
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Xgafv
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.AccessToken
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Alt
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Callback
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Fields
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Key
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.OauthToken
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.PrettyPrint
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.QuotaUser
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.UploadType
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.UploadProtocol
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Execute()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ExecuteAsync()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.GetBody()
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ETagAction
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ModifyRequest
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ValidateParameters
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.ApiVersion
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.RequestParameters
ClientServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1.Data.GoogleCloudBillingBudgetsV1ListBudgetsResponse>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1.Data.GoogleCloudBillingBudgetsV1ListBudgetsResponse>.MethodName

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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.CloudBillingBudget.v1.Data.GoogleCloudBillingBudgetsV1ListBudgetsResponse>.RestPath

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()
Overrides
CloudBillingBudgetBaseServiceRequest<GoogleCloudBillingBudgetsV1ListBudgetsResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX