Google BigQuery Reservation V1 Client - Class ListCapacityCommitmentsResponse (2.0.0)

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
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setCapacityCommitments

List of capacity commitments visible to the user.

Parameter
Name Description
var array<Google\Cloud\BigQuery\Reservation\V1\CapacityCommitment>
Returns
Type Description
$this

getNextPageToken

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

Returns
Type Description
string

setNextPageToken

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

Parameter
Name Description
var string
Returns
Type Description
$this