Struct gapi_grpc::google::cloud::domains::v1alpha2::Registration[][src]

pub struct Registration {
    pub name: String,
    pub domain_name: String,
    pub create_time: Option<Timestamp>,
    pub expire_time: Option<Timestamp>,
    pub state: i32,
    pub issues: Vec<i32>,
    pub labels: HashMap<String, String>,
    pub management_settings: Option<ManagementSettings>,
    pub dns_settings: Option<DnsSettings>,
    pub contact_settings: Option<ContactSettings>,
    pub pending_contact_settings: Option<ContactSettings>,
    pub supported_privacy: Vec<i32>,
}

The Registration resource facilitates managing and configuring domain name registrations.

To create a new Registration resource, find a suitable domain name by calling the SearchDomains method with a query to see available domain name options. After choosing a name, call RetrieveRegisterParameters to ensure availability and obtain information like pricing, which is needed to build a call to RegisterDomain.

Fields

name: String

Output only. Name of the Registration resource, in the format projects/*/locations/*/registrations/<domain_name>.

domain_name: String

Required. Immutable. The domain name. Unicode domain names must be expressed in Punycode format.

create_time: Option<Timestamp>

Output only. The creation timestamp of the Registration resource.

expire_time: Option<Timestamp>

Output only. The expiration timestamp of the Registration.

state: i32

Output only. The state of the Registration

issues: Vec<i32>

Output only. The set of issues with the Registration that require attention.

labels: HashMap<String, String>

Set of labels associated with the Registration.

management_settings: Option<ManagementSettings>

Settings for management of the Registration, including renewal, billing, and transfer. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureManagementSettings method.

dns_settings: Option<DnsSettings>

Settings controlling the DNS configuration of the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureDnsSettings method.

contact_settings: Option<ContactSettings>

Required. Settings for contact information linked to the Registration. You cannot update these with the UpdateRegistration method. To update these settings, use the ConfigureContactSettings method.

pending_contact_settings: Option<ContactSettings>

Output only. Pending contact settings for the Registration. Updates to the contact_settings field that change its registrant_contact or privacy fields require email confirmation by the registrant_contact before taking effect. This field is set only if there are pending updates to the contact_settings that have not yet been confirmed. To confirm the changes, the registrant_contact must follow the instructions in the email they receive.

supported_privacy: Vec<i32>

Output only. Set of options for the contact_settings.privacy field that this Registration supports.

Implementations

impl Registration[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

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

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

pub fn push_issues(&mut self, value: Issue)[src]

Appends the provided enum value to issues.

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

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

pub fn push_supported_privacy(&mut self, value: ContactPrivacy)[src]

Appends the provided enum value to supported_privacy.

Trait Implementations

impl Clone for Registration[src]

impl Debug for Registration[src]

impl Default for Registration[src]

impl Message for Registration[src]

impl PartialEq<Registration> for Registration[src]

impl StructuralPartialEq for Registration[src]

Auto Trait Implementations

impl RefUnwindSafe for Registration

impl Send for Registration

impl Sync for Registration

impl Unpin for Registration

impl UnwindSafe for Registration

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]