pub struct ManagedZone {
Show 17 fields pub cloud_logging_config: Option<ManagedZoneCloudLoggingConfig>, pub creation_time: Option<String>, pub description: Option<String>, pub dns_name: Option<String>, pub dnssec_config: Option<ManagedZoneDnsSecConfig>, pub forwarding_config: Option<ManagedZoneForwardingConfig>, pub id: Option<u64>, pub kind: Option<String>, pub labels: Option<HashMap<String, String>>, pub name: Option<String>, pub name_server_set: Option<String>, pub name_servers: Option<Vec<String>>, pub peering_config: Option<ManagedZonePeeringConfig>, pub private_visibility_config: Option<ManagedZonePrivateVisibilityConfig>, pub reverse_lookup_config: Option<ManagedZoneReverseLookupConfig>, pub service_directory_config: Option<ManagedZoneServiceDirectoryConfig>, pub visibility: Option<String>,
}
Expand description

A zone is a subtree of the DNS namespace under one administrative responsibility. A ManagedZone is a resource that represents a DNS zone hosted by the Cloud DNS service.

§Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§cloud_logging_config: Option<ManagedZoneCloudLoggingConfig>

no description provided

§creation_time: Option<String>

The time that this resource was created on the server. This is in RFC3339 text format. Output only.

§description: Option<String>

A mutable string of at most 1024 characters associated with this resource for the user’s convenience. Has no effect on the managed zone’s function.

§dns_name: Option<String>

The DNS name of this managed zone, for instance “example.com.”.

§dnssec_config: Option<ManagedZoneDnsSecConfig>

DNSSEC configuration.

§forwarding_config: Option<ManagedZoneForwardingConfig>

The presence for this field indicates that outbound forwarding is enabled for this zone. The value of this field contains the set of destinations to forward to.

§id: Option<u64>

Unique identifier for the resource; defined by the server (output only)

§kind: Option<String>

no description provided

§labels: Option<HashMap<String, String>>

User labels.

§name: Option<String>

User assigned name for this resource. Must be unique within the project. The name must be 1-63 characters long, must begin with a letter, end with a letter or digit, and only contain lowercase letters, digits or dashes.

§name_server_set: Option<String>

Optionally specifies the NameServerSet for this ManagedZone. A NameServerSet is a set of DNS name servers that all host the same ManagedZones. Most users leave this field unset. If you need to use this field, contact your account team.

§name_servers: Option<Vec<String>>

Delegate your managed_zone to these virtual name servers; defined by the server (output only)

§peering_config: Option<ManagedZonePeeringConfig>

The presence of this field indicates that DNS Peering is enabled for this zone. The value of this field contains the network to peer with.

§private_visibility_config: Option<ManagedZonePrivateVisibilityConfig>

For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from.

§reverse_lookup_config: Option<ManagedZoneReverseLookupConfig>

The presence of this field indicates that this is a managed reverse lookup zone and Cloud DNS resolves reverse lookup queries using automatically configured records for VPC resources. This only applies to networks listed under private_visibility_config.

§service_directory_config: Option<ManagedZoneServiceDirectoryConfig>

This field links to the associated service directory namespace. Do not set this field for public zones or forwarding zones.

§visibility: Option<String>

The zone’s visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources.

Trait Implementations§

source§

impl Clone for ManagedZone

source§

fn clone(&self) -> ManagedZone

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ManagedZone

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ManagedZone

source§

fn default() -> ManagedZone

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for ManagedZone

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for ManagedZone

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for ManagedZone

source§

impl Resource for ManagedZone

source§

impl ResponseResult for ManagedZone

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,