Class: Google::Apis::ContainerV1::AdditionalNodeNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::AdditionalNodeNetworkConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message
Instance Attribute Summary collapse
-
#network ⇒ String
Name of the VPC where the additional interface belongs Corresponds to the JSON property
network
. -
#subnetwork ⇒ String
Name of the subnetwork where the additional interface belongs Corresponds to the JSON property
subnetwork
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdditionalNodeNetworkConfig
constructor
A new instance of AdditionalNodeNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdditionalNodeNetworkConfig
Returns a new instance of AdditionalNodeNetworkConfig.
88 89 90 |
# File 'lib/google/apis/container_v1/classes.rb', line 88 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network ⇒ String
Name of the VPC where the additional interface belongs
Corresponds to the JSON property network
81 82 83 |
# File 'lib/google/apis/container_v1/classes.rb', line 81 def network @network end |
#subnetwork ⇒ String
Name of the subnetwork where the additional interface belongs
Corresponds to the JSON property subnetwork
86 87 88 |
# File 'lib/google/apis/container_v1/classes.rb', line 86 def subnetwork @subnetwork end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
93 94 95 96 |
# File 'lib/google/apis/container_v1/classes.rb', line 93 def update!(**args) @network = args[:network] if args.key?(:network) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end |