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
more...

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.

[View source]

5547
5548
5549
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5547

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


5545
5546
5547
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5545

def ip_blocks
  @ip_blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

5552
5553
5554
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5552

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