Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Assignment

import type { Assignment } from "https://googleapis.deno.dev/v1/bigqueryreservation:v1.ts";

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

interface Assignment {
assignee?: string;
enableGeminiInBigquery?: boolean;
jobType?:
| "JOB_TYPE_UNSPECIFIED"
| "PIPELINE"
| "QUERY"
| "ML_EXTERNAL"
| "BACKGROUND"
| "CONTINUOUS"
| "BACKGROUND_CHANGE_DATA_CAPTURE"
| "BACKGROUND_COLUMN_METADATA_INDEX"
| "BACKGROUND_SEARCH_INDEX_REFRESH";
readonly name?: string;
schedulingPolicy?: SchedulingPolicy;
readonly state?: "STATE_UNSPECIFIED" | "PENDING" | "ACTIVE";
}

§Properties

§
assignee?: string
[src]

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

§
enableGeminiInBigquery?: boolean
[src]

Optional. Deprecated: "Gemini in BigQuery" is now available by default for all BigQuery editions and should not be explicitly set. Controls if "Gemini in BigQuery" (https://cloud.google.com/gemini/docs/bigquery/overview) features should be enabled for this reservation assignment.

§
jobType?: "JOB_TYPE_UNSPECIFIED" | "PIPELINE" | "QUERY" | "ML_EXTERNAL" | "BACKGROUND" | "CONTINUOUS" | "BACKGROUND_CHANGE_DATA_CAPTURE" | "BACKGROUND_COLUMN_METADATA_INDEX" | "BACKGROUND_SEARCH_INDEX_REFRESH"
[src]

Optional. Which type of jobs will use the reservation.

§
readonly name?: string
[src]

Output only. Name of the resource. E.g.: projects/myproject/locations/US/reservations/team1-prod/assignments/123. The assignment_id must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.

§
schedulingPolicy?: SchedulingPolicy
[src]

Optional. The scheduling policy to use for jobs and queries of this assignee when running under the associated reservation. The scheduling policy controls how the reservation's resources are distributed. This overrides the default scheduling policy specified on the reservation. This feature is not yet generally available.

§
readonly state?: "STATE_UNSPECIFIED" | "PENDING" | "ACTIVE"
[src]

Output only. State of the assignment.