A 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
, ororganizations/456
.
#assignee=
def assignee=(value) -> ::String
Parameter
-
value (::String) — The resource which will use the reservation. E.g.
projects/myproject
,folders/123
, ororganizations/456
.
Returns
-
(::String) — The resource which will use the reservation. E.g.
projects/myproject
,folders/123
, ororganizations/456
.
#job_type
def job_type() -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType) — Which type of jobs will use the reservation.
#job_type=
def job_type=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType
Parameter
- value (::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType) — Which type of jobs will use the reservation.
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment::JobType) — Which type of jobs will use the reservation.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Name of the resource. E.g.:
projects/myproject/locations/US/reservations/team1-prod/assignments/123
.
#state
def state() -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment::State
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment::State) — Output only. State of the assignment.