Class: Google::Apis::ServicenetworkingV1::DnsZonePair

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 a pair of private and peering DNS zone resources. *

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsZonePair

Returns a new instance of DnsZonePair.



1563
1564
1565
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1563

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



1556
1557
1558
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1556

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



1561
1562
1563
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1561

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1568
1569
1570
1571
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1568

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