Struct google_api_proto::google::cloud::certificatemanager::v1::DnsAuthorization
source · pub struct DnsAuthorization {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub description: String,
pub domain: String,
pub dns_resource_record: Option<DnsResourceRecord>,
pub type: i32,
}
Expand description
A DnsAuthorization resource describes a way to perform domain authorization for certificate issuance.
Fields§
§name: String
A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*
.
create_time: Option<Timestamp>
Output only. The creation timestamp of a DnsAuthorization.
update_time: Option<Timestamp>
Output only. The last update timestamp of a DnsAuthorization.
labels: BTreeMap<String, String>
Set of labels associated with a DnsAuthorization.
description: String
One or more paragraphs of text description of a DnsAuthorization.
domain: String
Required. Immutable. A domain that is being authorized. A DnsAuthorization
resource covers a single domain and its wildcard, e.g. authorization for
example.com
can be used to issue certificates for example.com
and
*.example.com
.
dns_resource_record: Option<DnsResourceRecord>
Output only. DNS Resource Record that needs to be added to DNS configuration.
type: i32
Immutable. Type of DnsAuthorization. If unset during resource creation the following default will be used:
- in location global: FIXED_RECORD.
Implementations§
Trait Implementations§
source§impl Clone for DnsAuthorization
impl Clone for DnsAuthorization
source§fn clone(&self) -> DnsAuthorization
fn clone(&self) -> DnsAuthorization
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DnsAuthorization
impl Debug for DnsAuthorization
source§impl Default for DnsAuthorization
impl Default for DnsAuthorization
source§impl Message for DnsAuthorization
impl Message for DnsAuthorization
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 DnsAuthorization
impl PartialEq for DnsAuthorization
source§fn eq(&self, other: &DnsAuthorization) -> bool
fn eq(&self, other: &DnsAuthorization) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DnsAuthorization
Auto Trait Implementations§
impl Freeze for DnsAuthorization
impl RefUnwindSafe for DnsAuthorization
impl Send for DnsAuthorization
impl Sync for DnsAuthorization
impl Unpin for DnsAuthorization
impl UnwindSafe for DnsAuthorization
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