Class: Google::Apis::ServicenetworkingV1beta::AddDnsZoneResponse

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



68
69
70
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 68

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#consumer_peering_zoneGoogle::Apis::ServicenetworkingV1beta::DnsZone

Represents a DNS zone resource. Corresponds to the JSON property consumerPeeringZone



61
62
63
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 61

def consumer_peering_zone
  @consumer_peering_zone
end

#producer_private_zoneGoogle::Apis::ServicenetworkingV1beta::DnsZone

Represents a DNS zone resource. Corresponds to the JSON property producerPrivateZone



66
67
68
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 66

def producer_private_zone
  @producer_private_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



73
74
75
76
# File 'generated/google/apis/servicenetworking_v1beta/classes.rb', line 73

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