Class: Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig

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

Specifies the multiple networking interfaces cluster configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#enabledBoolean 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

Returns:

  • (Boolean)


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