Class: Google::Apis::ServicenetworkingV1::AddDnsZoneResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicenetworkingV1::AddDnsZoneResponse
- 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
-
#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) ⇒ AddDnsZoneResponse
constructor
A new instance of AddDnsZoneResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AddDnsZoneResponse
Returns a new instance of AddDnsZoneResponse.
142 143 144 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 142 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
135 136 137 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 135 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
140 141 142 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 140 def producer_private_zone @producer_private_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 |
# File 'lib/google/apis/servicenetworking_v1/classes.rb', line 147 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 |