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
-
#advanced_networking ⇒ Boolean
(also: #advanced_networking?)
Enables the use of advanced Anthos networking features, such as Bundled Load Balancing with BGP or the egress NAT gateway.
-
#island_mode_cidr ⇒ Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig
BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration while running in island mode.
-
#multiple_network_interfaces_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig
Specifies the multiple networking interfaces cluster configuration.
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.
754 755 756 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_networking ⇒ Boolean Also known as: advanced_networking?
Enables the use of advanced Anthos networking features, such as Bundled Load
Balancing with BGP or the egress NAT gateway. Setting configuration for
advanced networking features will automatically set this flag.
Corresponds to the JSON property advancedNetworking
740 741 742 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 740 def advanced_networking @advanced_networking end |
#island_mode_cidr ⇒ Google::Apis::GkeonpremV1::BareMetalAdminIslandModeCidrConfig
BareMetalAdminIslandModeCidrConfig specifies the cluster CIDR configuration
while running in island mode.
Corresponds to the JSON property islandModeCidr
747 748 749 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 747 def island_mode_cidr @island_mode_cidr end |
#multiple_network_interfaces_config ⇒ Google::Apis::GkeonpremV1::BareMetalAdminMultipleNetworkInterfacesConfig
Specifies the multiple networking interfaces cluster configuration.
Corresponds to the JSON property multipleNetworkInterfacesConfig
752 753 754 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 752 def multiple_network_interfaces_config @multiple_network_interfaces_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
759 760 761 762 763 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 759 def update!(**args) @advanced_networking = args[:advanced_networking] if args.key?(:advanced_networking) @island_mode_cidr = args[:island_mode_cidr] if args.key?(:island_mode_cidr) @multiple_network_interfaces_config = args[:multiple_network_interfaces_config] if args.key?(:multiple_network_interfaces_config) end |