Reference documentation and code samples for the Google Cloud Billing Budgets V1beta1 Client class ListBudgetsRequest.
Request for ListBudgets
Generated from protobuf message google.cloud.billing.budgets.v1beta1.ListBudgetsRequest
Namespace
Google \ Cloud \ Billing \ Budgets \ V1beta1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}
.
↳ scope
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.
↳ page_size
int
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
↳ page_token
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.
getParent
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string
setParent
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
var
string
$this
getScope
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.
string
setScope
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.
var
string
$this
getPageSize
Optional. The maximum number of budgets to return per page.
The default and maximum value are 100.
int
setPageSize
Optional. The maximum number of budgets to return per page.
The default and maximum value are 100.
var
int
$this
getPageToken
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.
string
setPageToken
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.
var
string
$this