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.



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

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



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

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



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

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2132
2133
2134
2135
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 2132

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