Google BigQuery Reservation V1 Client - Class ListReservationsResponse (1.1.2)

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

The response for ReservationService.ListReservations.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ reservations array<Google\Cloud\BigQuery\Reservation\V1\Reservation>

List of reservations 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.

getReservations

List of reservations visible to the user.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setReservations

List of reservations visible to the user.

Parameter
NameDescription
var array<Google\Cloud\BigQuery\Reservation\V1\Reservation>
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