Class: Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig
- 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) ⇒ BareMetalAdminMultipleNetworkInterfacesConfig
constructor
A new instance of BareMetalAdminMultipleNetworkInterfacesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminMultipleNetworkInterfacesConfig
Returns a new instance of BareMetalAdminMultipleNetworkInterfacesConfig.
721 722 723 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 721 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
718 719 720 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 718 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
726 727 728 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 726 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) end |