BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest (v1.1.0)

Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assignment_id

def assignment_id() -> ::String
Returns
  • (::String) — The optional assignment ID. A new assignment name is generated if this field is empty.

    This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.

#assignment_id=

def assignment_id=(value) -> ::String
Parameter
  • value (::String) — The optional assignment ID. A new assignment name is generated if this field is empty.

    This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.

Returns
  • (::String) — The optional assignment ID. A new assignment name is generated if this field is empty.

    This field can contain only lowercase alphanumeric characters or dashes. Max length is 64 characters.

#destination_id

def destination_id() -> ::String
Returns
  • (::String) — The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod

#destination_id=

def destination_id=(value) -> ::String
Parameter
  • value (::String) — The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod
Returns
  • (::String) — The new reservation ID, e.g.: projects/myotherproject/locations/US/reservations/team2-prod

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the assignment, e.g. projects/myproject/locations/US/reservations/team1-prod/assignments/123

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the assignment, e.g. projects/myproject/locations/US/reservations/team1-prod/assignments/123
Returns
  • (::String) — Required. The resource name of the assignment, e.g. projects/myproject/locations/US/reservations/team1-prod/assignments/123