Show / Hide Table of Contents

Class Assignment

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

Inheritance
object
Assignment
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.BigQueryReservation.v1.Data
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class Assignment : IDirectResponseSchema

Properties

Assignee

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

Declaration
[JsonProperty("assignee")]
public virtual string Assignee { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableGeminiInBigquery

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.

Declaration
[JsonProperty("enableGeminiInBigquery")]
public virtual bool? EnableGeminiInBigquery { get; set; }
Property Value
Type Description
bool?

JobType

Optional. Which type of jobs will use the reservation.

Declaration
[JsonProperty("jobType")]
public virtual string JobType { get; set; }
Property Value
Type Description
string

Name

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.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Principal

Optional. Represents the principal for this assignment. If not empty, jobs run by this principal will utilize the associated reservation. Otherwise, jobs will fall back to using the reservation assigned to the project, folder, or organization (in that order). If no reservation is assigned at any of these levels, on-demand capacity will be used. The supported formats are: * principal://goog/subject/USER_EMAIL_ADDRESS for users, * principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS for service accounts, * principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID for workload identity pool identities.

Declaration
[JsonProperty("principal")]
public virtual string Principal { get; set; }
Property Value
Type Description
string

SchedulingPolicy

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.

Declaration
[JsonProperty("schedulingPolicy")]
public virtual SchedulingPolicy SchedulingPolicy { get; set; }
Property Value
Type Description
SchedulingPolicy

State

Output only. State of the assignment.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX