Class: Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/reservation/v1/reservation.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 Attribute Details

#assignment_id::String

Returns 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.



706
707
708
709
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 706

class MoveAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#destination_id::String

Returns 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



706
707
708
709
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 706

class MoveAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns 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



706
707
708
709
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 706

class MoveAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end