Billing Budgets V1 API - Class Google::Cloud::Billing::Budgets::V1::ListBudgetsRequest (v1.0.1)

Reference documentation and code samples for the Billing Budgets V1 API class Google::Cloud::Billing::Budgets::V1::ListBudgetsRequest.

Request for ListBudgets

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#page_size

def page_size() -> ::Integer
Returns
  • (::Integer) — Optional. The maximum number of budgets to return per page. The default and maximum value are 100.

#page_size=

def page_size=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
Returns
  • (::Integer) — Optional. The maximum number of budgets to return per page. The default and maximum value are 100.

#page_token

def page_token() -> ::String
Returns
  • (::String) — 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.

#page_token=

def page_token=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}.
Returns
  • (::String) — Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}.

#scope

def scope() -> ::String
Returns
  • (::String) — 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.

#scope=

def scope=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.