Questa pagina mostra come creare un progetto Google Cloud, attivare l'IA AML, creare credenziali di autenticazione e assegnare al tuo account uno o più ruoli IAM.
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
Create or select a Google Cloud project.
-
Create a Google Cloud project:
gcloud projects create PROJECT_ID
Replace
PROJECT_ID
with a name for the Google Cloud project you are creating. -
Select the Google Cloud project that you created:
gcloud config set project PROJECT_ID
Replace
PROJECT_ID
with your Google Cloud project name.
-
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the required APIs:
gcloud services enable financialservices.googleapis.com
bigquery.googleapis.com cloudkms.googleapis.com -
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
-
Grant roles to your user account. Run the following command once for each of the following IAM roles:
roles/financialservices.admin, roles/cloudkms.admin, roles/bigquery.admin
gcloud projects add-iam-policy-binding PROJECT_ID --member="user:USER_IDENTIFIER" --role=ROLE
- Replace
PROJECT_ID
with your project ID. -
Replace
USER_IDENTIFIER
with the identifier for your user account. For example,user:myemail@example.com
. - Replace
ROLE
with each individual role.
- Replace
- Install the Google Cloud CLI.
-
To initialize the gcloud CLI, run the following command:
gcloud init
-
Create or select a Google Cloud project.
-
Create a Google Cloud project:
gcloud projects create PROJECT_ID
Replace
PROJECT_ID
with a name for the Google Cloud project you are creating. -
Select the Google Cloud project that you created:
gcloud config set project PROJECT_ID
Replace
PROJECT_ID
with your Google Cloud project name.
-
-
Make sure that billing is enabled for your Google Cloud project.
-
Enable the required APIs:
gcloud services enable financialservices.googleapis.com
bigquery.googleapis.com cloudkms.googleapis.com -
If you're using a local shell, then create local authentication credentials for your user account:
gcloud auth application-default login
You don't need to do this if you're using Cloud Shell.
-
Grant roles to your user account. Run the following command once for each of the following IAM roles:
roles/financialservices.admin, roles/cloudkms.admin, roles/bigquery.admin
gcloud projects add-iam-policy-binding PROJECT_ID --member="user:USER_IDENTIFIER" --role=ROLE
- Replace
PROJECT_ID
with your project ID. -
Replace
USER_IDENTIFIER
with the identifier for your user account. For example,user:myemail@example.com
. - Replace
ROLE
with each individual role.
- Replace
Autorizzazioni obbligatorie
Per completare la guida introduttiva e per eseguire molte operazioni fondamentali nell'AI AML sono necessarie le seguenti autorizzazioni.
Autorizzazione | Descrizione |
---|---|
resourcemanager.projects.get | Ottenere un progetto Google Cloud |
resourcemanager.projects.list | Elenca i progetti Google Cloud |
cloudkms.keyRings.create | Creare un keyring Cloud KMS |
cloudkms.cryptoKeys.create | Crea una chiave Cloud KMS |
financialservices.v1instances.create | Crea un'istanza AML AI |
financialservices.operations.get | Ottenere un'operazione AML AI |
cloudkms.cryptoKeys.getIamPolicy | Recupera il criterio IAM su una chiave Cloud KMS |
cloudkms.cryptoKeys.setIamPolicy | Imposta il criterio IAM su una chiave Cloud KMS |
bigquery.datasets.create | Crea un set di dati BigQuery |
bigquery.datasets.get | Ottenere un set di dati BigQuery |
bigquery.transfers.get | Ricevere un trasferimento di BigQuery Data Transfer Service |
bigquery.transfers.update | Creare o eliminare un trasferimento di BigQuery Data Transfer Service |
bigquery.datasets.setIamPolicy | Impostare il criterio IAM su un set di dati BigQuery |
bigquery.datasets.update | Aggiornare un set di dati BigQuery |
financialservices.v1datasets.create | Creare un set di dati di IA AML |
financialservices.v1engineconfigs.create | Crea una configurazione del motore AML AI |
financialservices.v1models.create | Creare un modello AML AI |
financialservices.v1backtests.create | Creare un risultato del backtest dell'IA AML |
financialservices.v1backtests.exportMetadata | Esportare i metadati da un risultato del backtest di IA AML |
financialservices.v1instances.importRegisteredParties | Importare le parti registrate in un'istanza di IA AML |
financialservices.v1predictions.create | Creare un risultato di previsione AML AI |
bigquery.jobs.create | Crea un job BigQuery |
bigquery.tables.getData | Recuperare i dati da una tabella BigQuery |
financialservices.v1predictions.delete | Eliminare un risultato di previsione IA AML |
financialservices.v1backtests.delete | Eliminare un risultato del backtest AML AI |
financialservices.v1models.delete | Eliminare un modello di IA AML |
financialservices.v1engineconfigs.delete | Eliminare la configurazione di un motore AML AI |
financialservices.v1datasets.delete | Eliminare un set di dati di IA AML |
financialservices.v1instances.delete | Eliminare un'istanza AML AI |
bigquery.datasets.delete | Eliminare un set di dati BigQuery |