Struct google_api_proto::google::cloud::domains::v1alpha2::RegisterDomainRequest
source · pub struct RegisterDomainRequest {
pub parent: String,
pub registration: Option<Registration>,
pub domain_notices: Vec<i32>,
pub contact_notices: Vec<i32>,
pub yearly_price: Option<Money>,
pub validate_only: bool,
}
Expand description
Request for the RegisterDomain
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.
domain_notices: Vec<i32>
The list of domain notices that you acknowledge. Call
RetrieveRegisterParameters
to see the notices that need acknowledgement.
contact_notices: Vec<i32>
The list of contact notices that the caller acknowledges. The notices
needed here depend on the values specified in
registration.contact_settings
.
yearly_price: Option<Money>
Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.
validate_only: bool
When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation
Implementations§
source§impl RegisterDomainRequest
impl RegisterDomainRequest
sourcepub fn domain_notices(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<DomainNotice>>
pub fn domain_notices( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<DomainNotice>>
Returns an iterator which yields the valid enum values contained in domain_notices
.
sourcepub fn push_domain_notices(&mut self, value: DomainNotice)
pub fn push_domain_notices(&mut self, value: DomainNotice)
Appends the provided enum value to domain_notices
.
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 RegisterDomainRequest
impl Clone for RegisterDomainRequest
source§fn clone(&self) -> RegisterDomainRequest
fn clone(&self) -> RegisterDomainRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RegisterDomainRequest
impl Debug for RegisterDomainRequest
source§impl Default for RegisterDomainRequest
impl Default for RegisterDomainRequest
source§impl Message for RegisterDomainRequest
impl Message for RegisterDomainRequest
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 RegisterDomainRequest
impl PartialEq for RegisterDomainRequest
source§fn eq(&self, other: &RegisterDomainRequest) -> bool
fn eq(&self, other: &RegisterDomainRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RegisterDomainRequest
Auto Trait Implementations§
impl Freeze for RegisterDomainRequest
impl RefUnwindSafe for RegisterDomainRequest
impl Send for RegisterDomainRequest
impl Sync for RegisterDomainRequest
impl Unpin for RegisterDomainRequest
impl UnwindSafe for RegisterDomainRequest
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