Class: Google::Apis::ServicenetworkingV1::DnsZonePair
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::DnsZonePair
- 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
-
#consumer_peering_zone ⇒ Google::Apis::ServicenetworkingV1::DnsZone
Represents a DNS zone resource.
-
#producer_private_zone ⇒ Google::Apis::ServicenetworkingV1::DnsZone
Represents a DNS zone resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsZonePair
constructor
A new instance of DnsZonePair.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DnsZonePair
Returns a new instance of DnsZonePair.
1561 1562 1563 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1561 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumer_peering_zone ⇒ Google::Apis::ServicenetworkingV1::DnsZone
Represents a DNS zone resource.
Corresponds to the JSON property consumerPeeringZone
1554 1555 1556 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1554 def consumer_peering_zone @consumer_peering_zone end |
#producer_private_zone ⇒ Google::Apis::ServicenetworkingV1::DnsZone
Represents a DNS zone resource.
Corresponds to the JSON property producerPrivateZone
1559 1560 1561 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1559 def producer_private_zone @producer_private_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1566 1567 1568 1569 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 1566 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 |