Class: Google::Apis::ConnectorsV1::NodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::NodeConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb
Overview
Node configuration for the connection.
Instance Attribute Summary collapse
-
#max_node_count ⇒ Fixnum
Optional.
-
#min_node_count ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeConfig
constructor
A new instance of NodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeConfig
Returns a new instance of NodeConfig.
5194 5195 5196 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_node_count ⇒ Fixnum
Optional. Maximum number of nodes in the runtime nodes.
Corresponds to the JSON property maxNodeCount
5187 5188 5189 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5187 def max_node_count @max_node_count end |
#min_node_count ⇒ Fixnum
Optional. Minimum number of nodes in the runtime nodes.
Corresponds to the JSON property minNodeCount
5192 5193 5194 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5192 def min_node_count @min_node_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5199 5200 5201 5202 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5199 def update!(**args) @max_node_count = args[:max_node_count] if args.key?(:max_node_count) @min_node_count = args[:min_node_count] if args.key?(:min_node_count) end |