REST Resource: projects.locations.reservations.assignments

Resource: Assignment

A Assignment allows a project to submit jobs of a certain type using slots from the specified reservation.

JSON representation
{
  "name": string,
  "assignee": string,
  "jobType": enum (JobType)
}
Fields
name

string

Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123.

assignee

string

The resource which will use the reservation. E.g. projects/myproject, folders/123, organizations/456.

jobType

enum (JobType)

Which type of jobs will use the reservation.

JobType

Types of job, which could be specified when using the reservation.

Enums
JOB_TYPE_UNSPECIFIED Invalid type. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT.
PIPELINE Pipeline (load/export) jobs from the project will use the reservation.
QUERY Query jobs from the project will use the reservation.

Methods

create

Returns google.rpc.Code.PERMISSION_DENIED if user does not have 'bigquery.admin' permissions on the project using the reservation and the project that owns this reservation.

delete

Deletes a assignment.

list

Lists assignments.

move

Moves a assignment under a new reservation.
Оцените, насколько информация на этой странице была вам полезна:

Оставить отзыв о...

Текущей странице
Нужна помощь? Обратитесь в службу поддержки.