Cloud API Overview > @adpt/cloud > gcloud > CloudRunProps > trafficPct
gcloud.CloudRunProps.trafficPct property
Percentage of traffic for the latest revision of the deployment
Signature:
trafficPct: number;
Remarks
CloudRun can send traffic to multiple revisions of the same service. Every deploy to cloud run creates a new revision. After health checks pass, the latest container will receive trafficPct/100 of the total traffic. Set this to 100 to ensure that the latest deployment gets all the traffic once up and running, set it to 0 for the latest version to get no traffic.
NOTE: This value ranges from 0 to 100, not 0.0 to 1.0