RolloutService

Preview rollout defaults

Returns the values a create request would pick for any field left unset, plus the capacity context needed to display them, without creating a rollout. Responses are display state only and re-validated authoritatively at create and start; do not copy response values back into a create request.

post/projects/{projectId}/endpoints/{endpointId}/rollouts/preview-defaults

Path parameters

projectIdstring required

Project identifier.

endpointIdstring required

Endpoint identifier.

Request body

OR
OR

Response

OK

frozenPairboolean

True when both deployments stand in the endpoint traffic split, so the rollout resumes from the current split rather than from zero. See warnings for standing split shapes that StartRollout will still reject.

estimatedSeedPercentinteger

Percentage of the pair's traffic currently reaching the target, the floor the suggested steps start above. Unset when not a frozen pair or unknown; 0 is a real measurement.

sourceReplicasinteger required

Source deployment replica count the defaults were computed from. Zero is a real value.

targetReplicasinteger required

Target deployment replica count the defaults were computed from. Zero is a real value.

targetMinReplicasinteger required

Target deployment autoscaling minimum replica count. Zero is a real value.

targetMaxReplicasinteger required

Target deployment autoscaling maximum replica count. Zero is a real value.

Changes

Changed in 2 of the 15 revisions of this API.12

  • e467cc3ffa3611See the full diff
    • removed the enum value serving_latency of the request property //

      request-property-enum-value-removed

    • removed the serving_latency enum value from the /////// response property for the response status

      response-property-enum-value-removed

    • endpoint added

      endpoint-added