Class: Google::Apis::GkeonpremV1::BareMetalAdminNetworkConfig

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

BareMetalAdminNetworkConfig specifies the cluster network configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminNetworkConfig

Returns a new instance of BareMetalAdminNetworkConfig.



571
572
573
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 571

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#island_mode_cidrGoogle::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig

BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode. Corresponds to the JSON property islandModeCidr



569
570
571
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 569

def island_mode_cidr
  @island_mode_cidr
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



576
577
578
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 576

def update!(**args)
  @island_mode_cidr = args[:island_mode_cidr] if args.key?(:island_mode_cidr)
end