Struct google_api_proto::google::cloud::domains::v1alpha2::ConfigureDnsSettingsRequest
source · pub struct ConfigureDnsSettingsRequest {
pub registration: String,
pub dns_settings: Option<DnsSettings>,
pub update_mask: Option<FieldMask>,
pub validate_only: bool,
}
Expand description
Request for the ConfigureDnsSettings
method.
Fields§
§registration: String
Required. The name of the Registration
whose DNS settings are being updated,
in the format projects/*/locations/*/registrations/*
.
dns_settings: Option<DnsSettings>
Fields of the DnsSettings
to update.
update_mask: Option<FieldMask>
Required. The field mask describing which fields to update as a comma-separated list.
For example, if only the name servers are being updated for an existing
Custom DNS configuration, the update_mask
is
"custom_dns.name_servers"
.
When changing the DNS provider from one type to another, pass the new
provider’s field name as part of the field mask. For example, when changing
from a Google Domains DNS configuration to a Custom DNS configuration, the
update_mask
is "custom_dns"
. //
validate_only: bool
Validate the request without actually updating the DNS settings.
Trait Implementations§
source§impl Clone for ConfigureDnsSettingsRequest
impl Clone for ConfigureDnsSettingsRequest
source§fn clone(&self) -> ConfigureDnsSettingsRequest
fn clone(&self) -> ConfigureDnsSettingsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigureDnsSettingsRequest
impl Debug for ConfigureDnsSettingsRequest
source§impl Message for ConfigureDnsSettingsRequest
impl Message for ConfigureDnsSettingsRequest
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 ConfigureDnsSettingsRequest
impl PartialEq for ConfigureDnsSettingsRequest
source§fn eq(&self, other: &ConfigureDnsSettingsRequest) -> bool
fn eq(&self, other: &ConfigureDnsSettingsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigureDnsSettingsRequest
Auto Trait Implementations§
impl Freeze for ConfigureDnsSettingsRequest
impl RefUnwindSafe for ConfigureDnsSettingsRequest
impl Send for ConfigureDnsSettingsRequest
impl Sync for ConfigureDnsSettingsRequest
impl Unpin for ConfigureDnsSettingsRequest
impl UnwindSafe for ConfigureDnsSettingsRequest
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