Class: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig

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 DHCP IP configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareDhcpIpConfig

Returns a new instance of VmwareDhcpIpConfig.



5176
5177
5178
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5176

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

Instance Attribute Details

#enabledBoolean Also known as: enabled?

enabled is a flag to mark if DHCP IP allocation is used for VMware user clusters. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


5173
5174
5175
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5173

def enabled
  @enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5181
5182
5183
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 5181

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