class Google::Apis::DnsV1::ManagedZone
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.
Attributes
Cloud Logging configurations for publicly visible zones. Corresponds to the JSON property `cloudLoggingConfig` @return [Google::Apis::DnsV1::ManagedZoneCloudLoggingConfig]
The time that this resource was created on the server. This is in RFC3339 text format. Output only. Corresponds to the JSON property `creationTime` @return [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. Corresponds to the JSON property `description` @return [String]
The DNS name of this managed zone, for instance “example.com.”. Corresponds to the JSON property `dnsName` @return [String]
DNSSEC configuration. Corresponds to the JSON property `dnssecConfig` @return [Google::Apis::DnsV1::ManagedZoneDnsSecConfig]
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. Corresponds to the JSON property `forwardingConfig` @return [Google::Apis::DnsV1::ManagedZoneForwardingConfig]
Unique identifier for the resource; defined by the server (output only) Corresponds to the JSON property `id` @return [Fixnum]
Corresponds to the JSON property `kind` @return [String]
User labels. Corresponds to the JSON property `labels` @return [Hash<String,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. Corresponds to the JSON property `name` @return [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. Corresponds to the JSON property `nameServerSet` @return [String]
Delegate your managed_zone to these virtual name servers; defined by the server (output only) Corresponds to the JSON property `nameServers` @return [Array<String>]
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. Corresponds to the JSON property `peeringConfig` @return [Google::Apis::DnsV1::ManagedZonePeeringConfig]
For privately visible zones, the set of Virtual Private Cloud resources that the zone is visible from. Corresponds to the JSON property `privateVisibilityConfig` @return [Google::Apis::DnsV1::ManagedZonePrivateVisibilityConfig]
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. Corresponds to the JSON property `reverseLookupConfig` @return [Google::Apis::DnsV1::ManagedZoneReverseLookupConfig]
Contains information about Service Directory-backed zones. Corresponds to the JSON property `serviceDirectoryConfig` @return [Google::Apis::DnsV1::ManagedZoneServiceDirectoryConfig]
The zone's visibility: public zones are exposed to the Internet, while private zones are visible only to Virtual Private Cloud resources. Corresponds to the JSON property `visibility` @return [String]
Public Class Methods
# File lib/google/apis/dns_v1/classes.rb, line 886 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dns_v1/classes.rb, line 891 def update!(**args) @cloud_logging_config = args[:cloud_logging_config] if args.key?(:cloud_logging_config) @creation_time = args[:creation_time] if args.key?(:creation_time) @description = args[:description] if args.key?(:description) @dns_name = args[:dns_name] if args.key?(:dns_name) @dnssec_config = args[:dnssec_config] if args.key?(:dnssec_config) @forwarding_config = args[:forwarding_config] if args.key?(:forwarding_config) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @labels = args[:labels] if args.key?(:labels) @name = args[:name] if args.key?(:name) @name_server_set = args[:name_server_set] if args.key?(:name_server_set) @name_servers = args[:name_servers] if args.key?(:name_servers) @peering_config = args[:peering_config] if args.key?(:peering_config) @private_visibility_config = args[:private_visibility_config] if args.key?(:private_visibility_config) @reverse_lookup_config = args[:reverse_lookup_config] if args.key?(:reverse_lookup_config) @service_directory_config = args[:service_directory_config] if args.key?(:service_directory_config) @visibility = args[:visibility] if args.key?(:visibility) end