Struct google_api_proto::google::cloud::bigquery::reservation::v1::MoveAssignmentRequest
source · pub struct MoveAssignmentRequest {
pub name: String,
pub destination_id: String,
pub assignment_id: String,
}
Expand description
The request for [ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.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.
Fields§
§name: String
Required. The resource name of the assignment,
e.g.
projects/myproject/locations/US/reservations/team1-prod/assignments/123
destination_id: String
The new reservation ID, e.g.:
projects/myotherproject/locations/US/reservations/team2-prod
assignment_id: 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.
Trait Implementations§
source§impl Clone for MoveAssignmentRequest
impl Clone for MoveAssignmentRequest
source§fn clone(&self) -> MoveAssignmentRequest
fn clone(&self) -> MoveAssignmentRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MoveAssignmentRequest
impl Debug for MoveAssignmentRequest
source§impl Default for MoveAssignmentRequest
impl Default for MoveAssignmentRequest
source§impl Message for MoveAssignmentRequest
impl Message for MoveAssignmentRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for MoveAssignmentRequest
impl PartialEq for MoveAssignmentRequest
source§fn eq(&self, other: &MoveAssignmentRequest) -> bool
fn eq(&self, other: &MoveAssignmentRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MoveAssignmentRequest
Auto Trait Implementations§
impl Freeze for MoveAssignmentRequest
impl RefUnwindSafe for MoveAssignmentRequest
impl Send for MoveAssignmentRequest
impl Sync for MoveAssignmentRequest
impl Unpin for MoveAssignmentRequest
impl UnwindSafe for MoveAssignmentRequest
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request