CloudRunV2ServiceServiceScaling class
Service-level scaling block (top-level on the service, not the
template). Use this to pin manual instance count for the whole
service. The revision-level CloudRunV2ServiceTemplateScaling block lives under
CloudRunV2ServiceTemplate.scaling.
- Annotations
-
- @immutable
Constructors
-
CloudRunV2ServiceServiceScaling({TfArg<
int> ? minInstanceCount, TfArg<int> ? maxInstanceCount, TfArg<ScalingMode> ? scalingMode, TfArg<int> ? manualInstanceCount}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
manualInstanceCount
→ TfArg<
int> ? -
Pinned total instance count when scalingMode is
manual. Ignored otherwise.final -
maxInstanceCount
→ TfArg<
int> ? -
Ceiling on total live instances across all revisions receiving
traffic. When
null, GCP computes a quota-driven default.final -
minInstanceCount
→ TfArg<
int> ? -
Floor on total live instances across all revisions receiving
traffic. Default 0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scalingMode
→ TfArg<
ScalingMode> ? -
automatic(default) ormanual. Whenmanual, set manualInstanceCount.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toArgMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited