Implantar uma função do Cloud Run pela linha de comando avaliações

340800 avaliações

Wallan M. · Revisado há 6 months

ROMAN ALFREDO G. · Revisado há 6 months

hardik z. · Revisado há 6 months

Lucas M. · Revisado há 6 months

Duban Santiago S. · Revisado há 6 months

Luis Gabriel Z. · Revisado há 6 months

Qaundo recebi o alerta do service Account só funcional depois que cliquei y e não n como recomendado.

Gisele C. · Revisado há 6 months

Milton M. · Revisado há 6 months

Daniel M. · Revisado há 6 months

Few tasks of this lab are missing detailing and go over assumptions. Could be good for learning effort but some parts may cause failing the lab due to timeouts while trying to figure it out.

Mauricio C. · Revisado há 6 months

Дендюк Б. · Revisado há 6 months

Jederson C. · Revisado há 6 months

Marco Antonio A. · Revisado há 6 months

Regina C. · Revisado há 6 months

A1_B1_11_Swanandi N. · Revisado há 6 months

Roberto Carlos R. · Revisado há 6 months

Lukas L. · Revisado há 6 months

David S. · Revisado há 6 months

A7_40_B2 S. · Revisado há 6 months

Gustavo B. · Revisado há 6 months

A2_B3_59 S. · Revisado há 6 months

Aleksandr N. · Revisado há 6 months

Did not get the "serviceAccountTokenCreator" notification... Had to do it manually: student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud functions deploy nodejs-pubsub-function \ --gen2 \ --runtime=nodejs22 \ --region=asia-south1 \ --source=. \ --entry-point=helloPubSub \ --trigger-topic cf-demo \ --stage-bucket qwiklabs-gcp-02-82f653f8323c-bucket \ --service-account cloudfunctionsa@qwiklabs-gcp-02-82f653f8323c.iam.gserviceaccount.com \ --allow-unauthenticated Service account [service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com] is missing the role [roles/iam.serviceAccountTokenCreator]. Pub/Sub needs this role to create identity tokens. For more details, please see https://cloud.google.com/pubsub/docs/push#authentication Bind the role [roles/iam.serviceAccountTokenCreator] to service account [service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com]? (Y/n)? ERROR: (gcloud.functions.deploy) ResponseError: status=[400], code=[], message=[Service account service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com does not exist.] student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud services enable \ cloudfunctions.googleapis.com \ eventarc.googleapis.com \ pubsub.googleapis.com \ run.googleapis.com Operation "operations/acf.p2-598950412986-b3187be8-5b17-4386-82c1-d8d6cc6ef3c9" finished successfully. student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud beta services identity create \ --service=pubsub.googleapis.com \ --project=qwiklabs-gcp-02-82f653f8323c Service identity created: service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud projects add-iam-policy-binding qwiklabs-gcp-02-82f653f8323c \ --member="serviceAccount:service-598950412986@gcp-sa-pubsub.iam.gserviceaccount.com" \ --role="roles/iam.serviceAccountTokenCreator" Updated IAM policy for project [qwiklabs-gcp-02-82f653f8323c]. bindings: [output truncated] student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$ gcloud functions deploy nodejs-pubsub-function --gen2 --runtime=nodejs22 --region=asia-south1 --source=. --entry-point=helloPubSub --trigger-topic cf-demo --stage-bucket qwiklabs-gcp-02-82f653f8323c-bucket --service-account cloudfunctionsa@qwiklabs-gcp-02-82f653f8323c.iam.gserviceaccount.com --allow-unauthenticated Created .gcloudignore file. See `gcloud topic gcloudignore` for details. Preparing function...done. Deploying function... [output truncated] state: ACTIVE updateTime: '2026-05-12T18:13:41.454831828Z' url: https://asia-south1-qwiklabs-gcp-02-82f653f8323c.cloudfunctions.net/nodejs-pubsub-function student_01_a394bef907c6@cloudshell:~/gcf_hello_world (qwiklabs-gcp-02-82f653f8323c)$

Phil R. · Revisado há 6 months

Welialdere W. · Revisado há 6 months

A19_SAP1_B3_65_Khushboo J. · Revisado há 6 months

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.