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.



5540
5541
5542
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5540

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



5538
5539
5540
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5538

def ip_blocks
  @ip_blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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