A partire dal 29 aprile 2025, i modelli Gemini 1.5 Pro e Gemini 1.5 Flash non sono disponibili nei progetti che non li hanno mai utilizzati, inclusi i nuovi progetti. Per maggiori dettagli, vedi Versioni e ciclo di vita dei modelli.
Passaggio 5: testa l'app protetta con acquisti IAP-app
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
In questa sezione, testerai l'app di cui hai eseguito il deployment in Cloud Run visualizzandola nel browser. Puoi visualizzare l'app solo dopo che lo stato del
certificato gestito da Google diventa ACTIVE. Il provisioning di un certificato gestito da Google potrebbe richiedere fino a 60 minuti. Per ulteriori informazioni sui certificati SSL gestiti da Google, consulta Utilizzare i certificati SSL gestiti da Google.
Controllare lo stato del certificato
Vai alla scheda Certificati classici nella Google Cloud console.
Nella colonna Stato, controlla lo stato del certificato my-genai-app-certificate.
Puoi procedere con il resto del tutorial quando lo stato diventa
Attivo. Tieni presente che il provisioning dei certificati potrebbe richiedere fino a 60 minuti.
Visualizzare l'app di cui è stato eseguito il deployment
Accedi con l'account di un entità configurato in IAP.
Nel browser, apri il seguente URL:
https://DOMAIN_NAME/app
Sostituisci DOMAIN_NAME con il nome di dominio fornito durante la creazione del certificato.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Step 5: Test your IAP-secured app\n\nIn this section, you test the app that you've deployed to Cloud Run by\nviewing it in your browser. You can view the app only after the status of the\nGoogle-managed certificate becomes `ACTIVE`. Provisioning a Google-managed\ncertificate might take up to 60 minutes. For more information about\nGoogle-managed SSL certificates, see\n[Use Google-managed SSL certificates](/load-balancing/docs/ssl-certificates/google-managed-certs#certificate-resource-status).\n\nCheck the status of your certificate\n------------------------------------\n\n1. Go to the **Classic Certificates** tab in the Google Cloud console.\n\n [Go to Classic Certificates](https://console.cloud.google.com/security/ccm/list/lbCertificates)\n2. In the **Status** column, check the status of the `my-genai-app-certificate` certificate.\n\n You can proceed with the rest of the tutorial after the status changes to\n **Active**. Note that certificate provisioning might take up to 60 minutes.\n\nView the deployed app\n---------------------\n\n1. Sign in with a principal's account that you configured in IAP.\n\n2. In your browser, open the following URL:\n\n https://\u003cvar translate=\"no\"\u003eDOMAIN_NAME\u003c/var\u003e/app\n\n Replace \u003cvar translate=\"no\"\u003eDOMAIN_NAME\u003c/var\u003e with domain name provided during certificate creation."]]