class Google::Apis::ServicenetworkingV1::AddDnsZoneResponse
Represents managed DNS zones created in the shared producer host and consumer projects.
Attributes
consumer_peering_zone[RW]
Represents a DNS zone resource. Corresponds to the JSON property `consumerPeeringZone` @return [Google::Apis::ServicenetworkingV1::DnsZone]
producer_private_zone[RW]
Represents a DNS zone resource. Corresponds to the JSON property `producerPrivateZone` @return [Google::Apis::ServicenetworkingV1::DnsZone]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicenetworking_v1/classes.rb, line 141 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 146 def update!(**args) @consumer_peering_zone = args[:consumer_peering_zone] if args.key?(:consumer_peering_zone) @producer_private_zone = args[:producer_private_zone] if args.key?(:producer_private_zone) end