BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::Assignment (v0.5.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) — The resource which will use the reservation. E.g. projects/myproject, folders/123, or organizations/456.

#assignee=

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

#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.

#state

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