When you update to stable-24.05 it will update the gcloud cli.
stable-24.05
Since gcloud components update works differently in nix
gcloud components update