class Google::Apis::ServicenetworkingV1::DnsZone
Represents a DNS zone resource.
Attributes
dns_suffix[RW]
The DNS name suffix of this zone e.g. `example.com.`. Corresponds to the JSON property `dnsSuffix` @return [String]
name[RW]
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]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 1266 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicenetworking_v1/classes.rb, line 1271 def update!(**args) @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix) @name = args[:name] if args.key?(:name) end