Struct gapi_grpc::google::cloud::domains::v1beta1::RegisterDomainRequest[][src]

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,
}

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 required 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 will be performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

Implementations

impl RegisterDomainRequest[src]

pub fn domain_notices(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<DomainNotice>>
[src]

Returns an iterator which yields the valid enum values contained in domain_notices.

pub fn push_domain_notices(&mut self, value: DomainNotice)[src]

Appends the provided enum value to domain_notices.

pub fn contact_notices(
    &self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<ContactNotice>>
[src]

Returns an iterator which yields the valid enum values contained in contact_notices.

pub fn push_contact_notices(&mut self, value: ContactNotice)[src]

Appends the provided enum value to contact_notices.

Trait Implementations

impl Clone for RegisterDomainRequest[src]

impl Debug for RegisterDomainRequest[src]

impl Default for RegisterDomainRequest[src]

impl Message for RegisterDomainRequest[src]

impl PartialEq<RegisterDomainRequest> for RegisterDomainRequest[src]

impl StructuralPartialEq for RegisterDomainRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for RegisterDomainRequest

impl Send for RegisterDomainRequest

impl Sync for RegisterDomainRequest

impl Unpin for RegisterDomainRequest

impl UnwindSafe for RegisterDomainRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]