Interface AssignmentOrBuilder (2.77.0)

public interface AssignmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAssignee()

public abstract String getAssignee()

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

string assignee = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The assignee.

getAssigneeBytes()

public abstract ByteString getAssigneeBytes()

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

string assignee = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for assignee.

getEnableGeminiInBigquery()

public abstract boolean getEnableGeminiInBigquery()

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.

bool enable_gemini_in_bigquery = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableGeminiInBigquery.

getJobType()

public abstract Assignment.JobType getJobType()

Optional. Which type of jobs will use the reservation.

.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Assignment.JobType

The jobType.

getJobTypeValue()

public abstract int getJobTypeValue()

Optional. Which type of jobs will use the reservation.

.google.cloud.bigquery.reservation.v1.Assignment.JobType job_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for jobType.

getName()

public abstract String getName()

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.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getSchedulingPolicy()

public abstract SchedulingPolicy getSchedulingPolicy()

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.

.google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchedulingPolicy

The schedulingPolicy.

getSchedulingPolicyOrBuilder()

public abstract SchedulingPolicyOrBuilder getSchedulingPolicyOrBuilder()

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.

.google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SchedulingPolicyOrBuilder

getState()

public abstract Assignment.State getState()

Output only. State of the assignment.

.google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Assignment.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. State of the assignment.

.google.cloud.bigquery.reservation.v1.Assignment.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasSchedulingPolicy()

public abstract boolean hasSchedulingPolicy()

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.

.google.cloud.bigquery.reservation.v1.SchedulingPolicy scheduling_policy = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the schedulingPolicy field is set.