Class: Google::Apis::BigtableadminV2::ClusterConfig
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::ClusterConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb
Overview
Configuration for a cluster.
Instance Attribute Summary collapse
-
#cluster_autoscaling_config ⇒ Google::Apis::BigtableadminV2::ClusterAutoscalingConfig
Autoscaling config for a cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterConfig
constructor
A new instance of ClusterConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterConfig
Returns a new instance of ClusterConfig.
730 731 732 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 730 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_autoscaling_config ⇒ Google::Apis::BigtableadminV2::ClusterAutoscalingConfig
Autoscaling config for a cluster.
Corresponds to the JSON property clusterAutoscalingConfig
728 729 730 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 728 def cluster_autoscaling_config @cluster_autoscaling_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
735 736 737 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 735 def update!(**args) @cluster_autoscaling_config = args[:cluster_autoscaling_config] if args.key?(:cluster_autoscaling_config) end |