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.



1092
1093
1094
# File 'lib/google/apis/dns_v1/classes.rb', line 1092

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

Instance Attribute Details

#kindString

Corresponds to the JSON property kind

Returns:

  • (String)


1085
1086
1087
# File 'lib/google/apis/dns_v1/classes.rb', line 1085

def kind
  @kind
end

#target_networkGoogle::Apis::DnsV1::ManagedZonePeeringConfigTargetNetwork

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



1090
1091
1092
# File 'lib/google/apis/dns_v1/classes.rb', line 1090

def target_network
  @target_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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