Google BigQuery Reservation V1 Client - Class ListCapacityCommitmentsResponse (1.2.3)

Reference documentation and code samples for the Google BigQuery Reservation V1 Client class ListCapacityCommitmentsResponse.

The response for ReservationService.ListCapacityCommitments.

Generated from protobuf message google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ capacity_commitments array<Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment>

List of capacity commitments visible to the user.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getCapacityCommitments

List of capacity commitments visible to the user.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setCapacityCommitments

List of capacity commitments visible to the user.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment>
Returns
TypeDescription
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
TypeDescription
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
NameDescription
var string
Returns
TypeDescription
$this