Class: Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1beta1::MoveAssignmentRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigqueryreservation_v1beta1/classes.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb,
generated/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 is required on the related assignee.
Instance Attribute Summary collapse
-
#destination_id ⇒ String
The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod Corresponds to the JSON property
destinationId
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MoveAssignmentRequest
constructor
A new instance of MoveAssignmentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MoveAssignmentRequest
Returns a new instance of MoveAssignmentRequest.
275 276 277 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination_id ⇒ String
The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
Corresponds to the JSON property destinationId
273 274 275 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 273 def destination_id @destination_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
280 281 282 |
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 280 def update!(**args) @destination_id = args[:destination_id] if args.key?(:destination_id) end |