maxReplicaCount property

  1. @TagNumber(3)
int get maxReplicaCount

Immutable. The maximum number of replicas this DeployedModel may be deployed on when the traffic against it increases. If the requested value is too large, the deployment will error, but if deployment succeeds then the ability to scale the model to that many replicas is guaranteed (barring service outages). If traffic against the DeployedModel increases beyond what its replicas at maximum may handle, a portion of the traffic will be dropped. If this value is not provided, will use google.cloud.visionai.v1.DedicatedResources.min_replica_count as the default value.

The value of this field impacts the charge against Vertex CPU and GPU quotas. Specifically, you will be charged for max_replica_count * number of cores in the selected machine type) and (max_replica_count * number of GPUs per replica in the selected machine type).

Implementation

@$pb.TagNumber(3)
$core.int get maxReplicaCount => $_getIZ(2);
  1. @TagNumber(3)
set maxReplicaCount (int v)

Implementation

@$pb.TagNumber(3)
set maxReplicaCount($core.int v) { $_setSignedInt32(2, v); }