Struct google_dns1::api::ManagedZone[][src]

pub struct ManagedZone {
Show 16 fields 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<String>, 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

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<String>

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

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

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

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.