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.



5423
5424
5425
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5423

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



5421
5422
5423
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5421

def ip_blocks
  @ip_blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5428
5429
5430
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5428

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