Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1NodeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Node configuration for the connection.
Instance Attribute Summary collapse
-
#max_node_count ⇒ Fixnum
Maximum number of nodes in the runtime nodes.
-
#min_node_count ⇒ Fixnum
Minimum number of nodes in the runtime nodes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1NodeConfig
constructor
A new instance of GoogleCloudConnectorsV1NodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1NodeConfig
Returns a new instance of GoogleCloudConnectorsV1NodeConfig.
5262 5263 5264 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5262 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_node_count ⇒ Fixnum
Maximum number of nodes in the runtime nodes.
Corresponds to the JSON property maxNodeCount
5255 5256 5257 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5255 def max_node_count @max_node_count end |
#min_node_count ⇒ Fixnum
Minimum number of nodes in the runtime nodes.
Corresponds to the JSON property minNodeCount
5260 5261 5262 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5260 def min_node_count @min_node_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5267 5268 5269 5270 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5267 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 |