Class: Google::Apis::GkeonpremV1::VmwareStaticIpConfig

Inherits:
Object
  • Object
show all
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 the network configuration required for the VMware user clusters with Static IP configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareStaticIpConfig

Returns a new instance of VmwareStaticIpConfig.



5836
5837
5838
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5836

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

Instance Attribute Details

#ip_blocksArray<Google::Apis::GkeonpremV1::VmwareIpBlock>

Represents the configuration values for static IP allocation to nodes. Corresponds to the JSON property ipBlocks



5834
5835
5836
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5834

def ip_blocks
  @ip_blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5841
5842
5843
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5841

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