Google Cloud Billing V1 Client - Class ListProjectBillingInfoRequest (1.5.6)

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

Request message for ListProjectBillingInfo.

Generated from protobuf message google.cloud.billing.v1.ListProjectBillingInfoRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

↳ page_size int

Requested page size. The maximum page size is 100; this is also the default.

↳ page_token string

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

getName

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

Returns
TypeDescription
string

setName

Required. The resource name of the billing account associated with the projects that you want to list. For example, billingAccounts/012345-567890-ABCDEF.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Requested page size. The maximum page size is 100; this is also the default.

Returns
TypeDescription
int

setPageSize

Requested page size. The maximum page size is 100; this is also the default.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

Returns
TypeDescription
string

setPageToken

A token identifying a page of results to be returned. This should be a next_page_token value returned from a previous ListProjectBillingInfo call. If unspecified, the first page of results is returned.

Parameter
NameDescription
var string
Returns
TypeDescription
$this