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.



1583
1584
1585
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1583

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



1576
1577
1578
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1576

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



1581
1582
1583
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1581

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1588
1589
1590
1591
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1588

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