Class: Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigqueryreservation_v1beta1/classes.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb,
lib/google/apis/bigqueryreservation_v1beta1/representations.rb

Overview

The request for ReservationService.MoveAssignment. Note: "bigquery. reservationAssignments.create" permission is required on the destination_id. ** Note**: "bigquery.reservationAssignments.create" and "bigquery. reservationAssignments.delete" permission are required on the related assignee.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MoveAssignmentRequest

Returns a new instance of MoveAssignmentRequest.



323
324
325
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 323

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#destination_idString

The new reservation ID, e.g.: projects/myotherproject/locations/US/ reservations/team2-prod Corresponds to the JSON property destinationId

Returns:

  • (String)


321
322
323
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 321

def destination_id
  @destination_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



328
329
330
# File 'lib/google/apis/bigqueryreservation_v1beta1/classes.rb', line 328

def update!(**args)
  @destination_id = args[:destination_id] if args.key?(:destination_id)
end