Class: Google::Apis::GkeonpremV1::BareMetalMultipleNetworkInterfacesConfig

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) ⇒ 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

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


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