Class: Google::Apis::DnsV1beta2::ManagedZonePeeringConfig
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1beta2::ManagedZonePeeringConfig
- 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
-
#kind ⇒ String
Corresponds to the JSON property
kind
. -
#target_network ⇒ Google::Apis::DnsV1beta2::ManagedZonePeeringConfigTargetNetwork
The network with which to peer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedZonePeeringConfig
constructor
A new instance of ManagedZonePeeringConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#kind ⇒ String
Corresponds to the JSON property kind
1104 1105 1106 |
# File 'lib/google/apis/dns_v1beta2/classes.rb', line 1104 def kind @kind end |
#target_network ⇒ Google::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 |