CapacityAdviceRequest class
A request to provide Assistant Scores.
These scores determine VM obtainability and preemption likelihood.
Constructors
- CapacityAdviceRequest({CapacityAdviceRequestDistributionPolicy? distributionPolicy, CapacityAdviceRequestInstanceFlexibilityPolicy? instanceFlexibilityPolicy, CapacityAdviceRequestInstanceProperties? instanceProperties, int? size})
- CapacityAdviceRequest.fromJson(Map json_)
Properties
- distributionPolicy ↔ CapacityAdviceRequestDistributionPolicy?
-
Policy specifying the distribution of instances across
zones within the requested region.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- instanceFlexibilityPolicy ↔ CapacityAdviceRequestInstanceFlexibilityPolicy?
-
Policy for instance selectors.
getter/setter pair
- instanceProperties ↔ CapacityAdviceRequestInstanceProperties?
-
Instance properties for this request.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ int?
-
The number of VM instances to request.
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