Google BigQuery Reservation V1 Client - Class SearchAssignmentsRequest (2.2.0)

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

The request for ReservationService.SearchAssignments.

Note: "bigquery.reservationAssignments.search" permission is required on the related assignee.

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

Namespace

Google \ Cloud \ BigQuery \ Reservation \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US.

↳ querystring

Please specify resource name as assignee in the query. Examples: * * assignee=projects/myproject * * assignee=folders/123 * * assignee=organizations/456

↳ page_sizeint

The maximum number of items to return per page.

↳ page_tokenstring

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

getParent

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US.

Returns
TypeDescription
string

setParent

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getQuery

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456
Returns
TypeDescription
string

setQuery

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456
Parameter
NameDescription
varstring
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
varint
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
varstring
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US. Please see ReservationServiceClient::locationName() for help formatting this field.

querystring

Please specify resource name as assignee in the query.

Examples:

    • assignee=projects/myproject
    • assignee=folders/123
    • assignee=organizations/456
Returns
TypeDescription
SearchAssignmentsRequest