REST 中的 `gcloud beta 运行 deploy --image [image] --allow-unauthenticated` 的等价物是什么?

What's the equivalent of `gcloud beta run deploy --image [image] --allow-unauthenticated` in REST?

REST 中的 gcloud beta run deploy --image [image] --allow-unauthenticated 等价于什么?

只是 https://cloud.google.com/run/docs/reference/rest/v1alpha1/namespaces.services/create 吗?

谢谢

该命令是快速连续进行的两个 REST 调用。首先,调用 services.create followed by a call to services.setIamPolicy 将 "roles/run.invoker" 授予 "allUsers",这允许未经身份验证的使用。