Google Cloud Billing Budgets V1 Client - Class ListBudgetsRequest (1.2.2)

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

Request for ListBudgets

Generated from protobuf message google.cloud.billing.budgets.v1.ListBudgetsRequest

Namespace

Google \ Cloud \ Billing \ Budgets \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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}.

↳ 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}.

Returns
TypeDescription
string

setParent

Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional. The maximum number of budgets to return per page.

The default and maximum value are 100.

Returns
TypeDescription
int

setPageSize

Optional. The maximum number of budgets to return per page.

The default and maximum value are 100.

Parameter
NameDescription
var int
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}. Please see Google\Cloud\Billing\Budgets\V1\BudgetServiceClient::billingAccountName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Billing\Budgets\V1\ListBudgetsRequest