Class: Google::Apis::GkeonpremV1::VmwareIpBlock
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareIpBlock
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
Represents a collection of IP addresses to assign to nodes.
Instance Attribute Summary collapse
-
#gateway ⇒ String
The network gateway used by the VMware user cluster.
-
#ips ⇒ Array<Google::Apis::GkeonpremV1::VmwareHostIp>
The node's network configurations used by the VMware user cluster.
-
#netmask ⇒ String
The netmask used by the VMware user cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareIpBlock
constructor
A new instance of VmwareIpBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareIpBlock
Returns a new instance of VmwareIpBlock.
5294 5295 5296 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5294 def initialize(**args) update!(**args) end |
Instance Attribute Details
#gateway ⇒ String
The network gateway used by the VMware user cluster.
Corresponds to the JSON property gateway
5282 5283 5284 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5282 def gateway @gateway end |
#ips ⇒ Array<Google::Apis::GkeonpremV1::VmwareHostIp>
The node's network configurations used by the VMware user cluster.
Corresponds to the JSON property ips
5287 5288 5289 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5287 def ips @ips end |
#netmask ⇒ String
The netmask used by the VMware user cluster.
Corresponds to the JSON property netmask
5292 5293 5294 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5292 def netmask @netmask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5299 5300 5301 5302 5303 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5299 def update!(**args) @gateway = args[:gateway] if args.key?(:gateway) @ips = args[:ips] if args.key?(:ips) @netmask = args[:netmask] if args.key?(:netmask) end |