public sealed class Assignment : IMessage<Assignment>, IEquatable<Assignment>, IDeepCloneable<Assignment>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Reservation v1 API class Assignment.
An assignment allows a project to submit jobs of a certain type using slots from the specified reservation.
Implements
IMessageAssignment, IEquatableAssignment, IDeepCloneableAssignment, IBufferMessage, IMessageInherited Members
Namespace
Google.Cloud.BigQuery.Reservation.V1Assembly
Google.Cloud.BigQuery.Reservation.V1.dll
Constructors
Assignment()
public Assignment()
Assignment(Assignment)
public Assignment(Assignment other)
Parameter | |
---|---|
Name | Description |
other |
Assignment |
Properties
Assignee
public string Assignee { get; set; }
The resource which will use the reservation. E.g.
projects/myproject
, folders/123
, or organizations/456
.
Property Value | |
---|---|
Type | Description |
string |
AssignmentName
public AssignmentName AssignmentName { get; set; }
AssignmentName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AssignmentName |
EnableGeminiInBigquery
public bool EnableGeminiInBigquery { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
JobType
public Assignment.Types.JobType JobType { get; set; }
Which type of jobs will use the reservation.
Property Value | |
---|---|
Type | Description |
AssignmentTypesJobType |
Name
public string Name { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
State
public Assignment.Types.State State { get; set; }
Output only. State of the assignment.
Property Value | |
---|---|
Type | Description |
AssignmentTypesState |