class Google::Apis::BigqueryreservationV1::Assignment
A Assignment
allows a project to submit jobs of a certain type using slots from the specified reservation.
Attributes
assignee[RW]
The resource which will use the reservation. E.g. `projects/myproject`, ` folders/123`, or `organizations/456`. Corresponds to the JSON property `assignee` @return [String]
job_type[RW]
Which type of jobs will use the reservation. Corresponds to the JSON property `jobType` @return [String]
name[RW]
Output only. Name of the resource. E.g.: `projects/myproject/locations/US/ reservations/team1-prod/assignments/123`. Corresponds to the JSON property `name` @return [String]
state[RW]
Output only. State of the assignment. Corresponds to the JSON property `state` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/bigqueryreservation_v1/classes.rb, line 52 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/bigqueryreservation_v1/classes.rb, line 57 def update!(**args) @assignee = args[:assignee] if args.key?(:assignee) @job_type = args[:job_type] if args.key?(:job_type) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end