Class: Google::Apis::ServicenetworkingV1::AddDnsZoneResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/servicenetworking_v1/classes.rb,
generated/google/apis/servicenetworking_v1/representations.rb,
generated/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) ⇒ AddDnsZoneResponse

Returns a new instance of AddDnsZoneResponse.



141
142
143
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 141

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



134
135
136
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 134

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



139
140
141
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 139

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



146
147
148
149
# File 'generated/google/apis/servicenetworking_v1/classes.rb', line 146

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