Class: Google::Apis::GkeonpremV1::BareMetalMultipleNetworkInterfacesConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalMultipleNetworkInterfacesConfig
- 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
Specifies the multiple networking interfaces cluster configuration.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether to enable multiple network interfaces for your pods.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalMultipleNetworkInterfacesConfig
constructor
A new instance of BareMetalMultipleNetworkInterfacesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalMultipleNetworkInterfacesConfig
Returns a new instance of BareMetalMultipleNetworkInterfacesConfig.
1584 1585 1586 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1584 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Whether to enable multiple network interfaces for your pods. When set
network_config.advanced_networking is automatically set to true.
Corresponds to the JSON property enabled
1581 1582 1583 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1581 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1589 1590 1591 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1589 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |