Class: Google::Apis::DnsV1::ManagedZonePeeringConfig

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedZonePeeringConfig

Returns a new instance of ManagedZonePeeringConfig.



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

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1097
1098
1099
# File 'lib/google/apis/dns_v1/classes.rb', line 1097

def kind
  @kind
end

#target_networkGoogle::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork

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



1102
1103
1104
# File 'lib/google/apis/dns_v1/classes.rb', line 1102

def target_network
  @target_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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