Google Cloud Billing V1 Client - Class ListProjectBillingInfoRequest (2.0.0-RC1)

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

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getPageSize

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

Returns
Type Description
int

setPageSize

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

Parameter
Name Description
var int
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
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. Please see Google\Cloud\Billing\V1\CloudBillingClient::billingAccountName() for help formatting this field.

Returns
Type Description
Google\Cloud\Billing\V1\ListProjectBillingInfoRequest