Class: Google::Apis::GkeonpremV1::VmwareDhcpIpConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::VmwareDhcpIpConfig
- 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 DHCP IP configurations.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
enabled is a flag to mark if DHCP IP allocation is used for VMware user clusters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VmwareDhcpIpConfig
constructor
A new instance of VmwareDhcpIpConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VmwareDhcpIpConfig
Returns a new instance of VmwareDhcpIpConfig.
4887 4888 4889 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean 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
4884 4885 4886 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4884 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4892 4893 4894 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 4892 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |