Class: Google::Apis::GkeonpremV1::BareMetalAdminNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminNetworkConfig
- 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
-
#island_mode_cidr ⇒ Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig
BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminNetworkConfig
constructor
A new instance of BareMetalAdminNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_cidr ⇒ Google::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 |