Google BigQuery Reservation V1 Client - Class ListAssignmentsRequest (1.2.3)

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

The request for ReservationService.ListAssignments.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name e.g.: projects/myproject/locations/US/reservations/team1-prod Or: projects/myproject/locations/US/reservations/-

↳ page_size int

The maximum number of items to return per page.

↳ page_token string

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

getParent

Required. The parent resource name e.g.: projects/myproject/locations/US/reservations/team1-prod Or: projects/myproject/locations/US/reservations/-

Returns
TypeDescription
string

setParent

Required. The parent resource name e.g.: projects/myproject/locations/US/reservations/team1-prod Or: projects/myproject/locations/US/reservations/-

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return per page.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return per page.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The parent resource name e.g.:

projects/myproject/locations/US/reservations/team1-prod

Or:

projects/myproject/locations/US/reservations/- Please see Google\Cloud\BigQuery\Reservation\V1\ReservationServiceClient::reservationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\BigQuery\Reservation\V1\ListAssignmentsRequest