AutoscalingPolicy class
Describes an autoscaling policy for Dataproc cluster autoscaler.
Constructors
-
AutoscalingPolicy({BasicAutoscalingAlgorithm? basicAlgorithm, String? id, Map<
String, String> ? labels, String? name, InstanceGroupAutoscalingPolicyConfig? secondaryWorkerConfig, InstanceGroupAutoscalingPolicyConfig? workerConfig}) - AutoscalingPolicy.fromJson(Map json_)
Properties
- basicAlgorithm ↔ BasicAutoscalingAlgorithm?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9),
underscores (_), and hyphens (-).
getter/setter pair
-
labels
↔ Map<
String, String> ? -
The labels to associate with this autoscaling policy.
getter/setter pair
- name ↔ String?
-
The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryWorkerConfig ↔ InstanceGroupAutoscalingPolicyConfig?
-
Describes how the autoscaler will operate for secondary workers.
getter/setter pair
- workerConfig ↔ InstanceGroupAutoscalingPolicyConfig?
-
Describes how the autoscaler will operate for primary workers.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited