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. This field controls if "Gemini in BigQuery" (https://cloud.google.com/gemini/docs/bigquery/overview) features should be enabled for this reservation assignment, which is not on by default. "Gemini in BigQuery" has a distinct compliance posture from BigQuery. If this field is set to true, the assignment job type is QUERY, and the parent reservation edition is ENTERPRISE_PLUS, then the assignment will give the grantee project/organization access to "Gemini in BigQuery" features.

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

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