Class: Google::Apis::ConnectorsV1::NodeConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeConfig

Returns a new instance of NodeConfig.



4387
4388
4389
# File 'lib/google/apis/connectors_v1/classes.rb', line 4387

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#max_node_countFixnum

Maximum number of nodes in the runtime nodes. Corresponds to the JSON property maxNodeCount

Returns:

  • (Fixnum)


4380
4381
4382
# File 'lib/google/apis/connectors_v1/classes.rb', line 4380

def max_node_count
  @max_node_count
end

#min_node_countFixnum

Minimum number of nodes in the runtime nodes. Corresponds to the JSON property minNodeCount

Returns:

  • (Fixnum)


4385
4386
4387
# File 'lib/google/apis/connectors_v1/classes.rb', line 4385

def min_node_count
  @min_node_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4392
4393
4394
4395
# File 'lib/google/apis/connectors_v1/classes.rb', line 4392

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