BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::Assignment (v1.9.0)

Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::Assignment.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assignee

def assignee() -> ::String
Returns
  • (::String) — Optional. The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.

#assignee=

def assignee=(value) -> ::String
Parameter
  • value (::String) — Optional. The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.
Returns
  • (::String) — Optional. The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.

#enable_gemini_in_bigquery

def enable_gemini_in_bigquery() -> ::Boolean
Returns
  • (::Boolean) — 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.

#enable_gemini_in_bigquery=

def enable_gemini_in_bigquery=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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.
Returns
  • (::Boolean) — 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.

#job_type

def job_type() -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType
Returns

#job_type=

def job_type=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — 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.

#scheduling_policy

def scheduling_policy() -> ::Google::Cloud::Bigquery::Reservation::V1::SchedulingPolicy
Returns
  • (::Google::Cloud::Bigquery::Reservation::V1::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.

#scheduling_policy=

def scheduling_policy=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::SchedulingPolicy
Parameter
  • value (::Google::Cloud::Bigquery::Reservation::V1::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.

Returns
  • (::Google::Cloud::Bigquery::Reservation::V1::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.

#state

def state() -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::State
Returns