Class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dns_v1beta2/classes.rb,
lib/google/apis/dns_v1beta2/representations.rb,
lib/google/apis/dns_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZonePeeringConfig

Returns a new instance of ManagedZonePeeringConfig.



1111
1112
1113
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1111

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1104
1105
1106
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1104

def kind
  @kind
end

#target_networkGoogle::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork

The network with which to peer. Corresponds to the JSON property targetNetwork



1109
1110
1111
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1109

def target_network
  @target_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1116
1117
1118
1119
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1116

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @target_network = args[:target_network] if args.key?(:target_network)
end