Google Cloud Billing V1 Client - Class ListServicesResponse (1.8.0)

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

Response message for ListServices.

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

Namespace

Google \ Cloud \ Billing \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ services array<Google\Cloud\Billing\V1\Service>

A list of services.

↳ next_page_token string

A token to retrieve the next page of results. To retrieve the next page, call ListServices again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

getServices

A list of services.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setServices

A list of services.

Parameter
NameDescription
var array<Google\Cloud\Billing\V1\Service>
Returns
TypeDescription
$this

getNextPageToken

A token to retrieve the next page of results. To retrieve the next page, call ListServices again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

Returns
TypeDescription
string

setNextPageToken

A token to retrieve the next page of results. To retrieve the next page, call ListServices again with the page_token field set to this value. This field is empty if there are no more results to retrieve.

Parameter
NameDescription
var string
Returns
TypeDescription
$this