Google BigQuery Reservation V1 Client - Class ListCapacityCommitmentsRequest (2.0.0)

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

The request for ReservationService.ListCapacityCommitments.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

↳ page_size int

The maximum number of items to return.

↳ page_token string

The next_page_token value returned from a previous List request, if any.

getParent

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

Returns
Type Description
string

setParent

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of items to return.

Returns
Type Description
int

setPageSize

The maximum number of items to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The next_page_token value returned from a previous List request, if any.

Returns
Type Description
string

setPageToken

The next_page_token value returned from a previous List request, if any.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US Please see Google\Cloud\BigQuery\Reservation\V1\ReservationServiceClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\BigQuery\Reservation\V1\ListCapacityCommitmentsRequest