Struct google_api_proto::google::cloud::domains::v1::TransferDomainRequest
source · pub struct TransferDomainRequest {
pub parent: String,
pub registration: Option<Registration>,
pub contact_notices: Vec<i32>,
pub yearly_price: Option<Money>,
pub authorization_code: Option<AuthorizationCode>,
pub validate_only: bool,
}
Expand description
Request for the TransferDomain
method.
Fields§
§parent: String
Required. The parent resource of the Registration
. Must be in the
format projects/*/locations/*
.
registration: Option<Registration>
Required. The complete Registration
resource to be created.
You can leave registration.dns_settings
unset to import the
domain’s current DNS configuration from its current registrar. Use this
option only if you are sure that the domain’s current DNS service
does not cease upon transfer, as is often the case for DNS services
provided for free by the registrar.
contact_notices: Vec<i32>
The list of contact notices that you acknowledge. The notices
needed here depend on the values specified in
registration.contact_settings
.
yearly_price: Option<Money>
Required. Acknowledgement of the price to transfer or renew the domain for one year.
Call RetrieveTransferParameters
to obtain the price, which you must
acknowledge.
The domain’s transfer authorization code. You can obtain this from the domain’s current registrar.
validate_only: bool
Validate the request without actually transferring the domain.
Implementations§
source§impl TransferDomainRequest
impl TransferDomainRequest
sourcepub fn contact_notices(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactNotice>>
pub fn contact_notices( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactNotice>>
Returns an iterator which yields the valid enum values contained in contact_notices
.
sourcepub fn push_contact_notices(&mut self, value: ContactNotice)
pub fn push_contact_notices(&mut self, value: ContactNotice)
Appends the provided enum value to contact_notices
.
Trait Implementations§
source§impl Clone for TransferDomainRequest
impl Clone for TransferDomainRequest
source§fn clone(&self) -> TransferDomainRequest
fn clone(&self) -> TransferDomainRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferDomainRequest
impl Debug for TransferDomainRequest
source§impl Default for TransferDomainRequest
impl Default for TransferDomainRequest
source§impl Message for TransferDomainRequest
impl Message for TransferDomainRequest
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 TransferDomainRequest
impl PartialEq for TransferDomainRequest
source§fn eq(&self, other: &TransferDomainRequest) -> bool
fn eq(&self, other: &TransferDomainRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransferDomainRequest
Auto Trait Implementations§
impl Freeze for TransferDomainRequest
impl RefUnwindSafe for TransferDomainRequest
impl Send for TransferDomainRequest
impl Sync for TransferDomainRequest
impl Unpin for TransferDomainRequest
impl UnwindSafe for TransferDomainRequest
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