Google BigQuery Reservation V1 Client - Class SearchAllAssignmentsRequest (1.1.2)

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

The request for ReservationService.SearchAllAssignments.

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

↳ query string

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

↳ 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 resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

Returns
TypeDescription
string

setParent

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

Parameter
NameDescription
var string
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
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