Class: Google::Apis::ServicenetworkingV1::GetDnsZoneResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicenetworking_v1/classes.rb,
lib/google/apis/servicenetworking_v1/representations.rb,
lib/google/apis/servicenetworking_v1/representations.rb

Overview

Represents managed DNS zones created in the shared Producer host and consumer projects.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetDnsZoneResponse

Returns a new instance of GetDnsZoneResponse.



2120
2121
2122
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 2120

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#consumer_peering_zoneGoogle::Apis::ServicenetworkingV1::DnsZone

Represents a DNS zone resource. Corresponds to the JSON property consumerPeeringZone



2113
2114
2115
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 2113

def consumer_peering_zone
  @consumer_peering_zone
end

#producer_private_zoneGoogle::Apis::ServicenetworkingV1::DnsZone

Represents a DNS zone resource. Corresponds to the JSON property producerPrivateZone



2118
2119
2120
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 2118

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2125
2126
2127
2128
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 2125

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