このページでは、 Google Cloud プロジェクトの作成、AML AI の有効化、認証情報の作成、アカウントに 1 つ以上の 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.
-
外部 ID プロバイダ(IdP)を使用している場合は、まず連携 ID を使用して gcloud CLI にログインする必要があります。
-
gcloud CLI を初期化するには、次のコマンドを実行します。
gcloud init
-
Create or select a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator
(
roles/resourcemanager.projectCreator
), which contains theresourcemanager.projects.create
permission. Learn how to grant roles.
-
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.
-
Verify that billing is enabled for your Google Cloud project.
-
Enable the required APIs:
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin
), which contains theserviceusage.services.enable
permission. Learn how to grant roles.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.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
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 the following:
PROJECT_ID
: your project ID.USER_IDENTIFIER
: the identifier for your user account—for example,myemail@example.com
.ROLE
: the IAM role that you grant to your user account.
-
Install the Google Cloud CLI.
-
外部 ID プロバイダ(IdP)を使用している場合は、まず連携 ID を使用して gcloud CLI にログインする必要があります。
-
gcloud CLI を初期化するには、次のコマンドを実行します。
gcloud init
-
Create or select a Google Cloud project.
Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
-
Create a project: To create a project, you need the Project Creator
(
roles/resourcemanager.projectCreator
), which contains theresourcemanager.projects.create
permission. Learn how to grant roles.
-
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.
-
Verify that billing is enabled for your Google Cloud project.
-
Enable the required APIs:
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin
), which contains theserviceusage.services.enable
permission. Learn how to grant roles.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.
If an authentication error is returned, and you are using an external identity provider (IdP), confirm that you have signed in to the gcloud CLI with your federated identity.
-
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 the following:
PROJECT_ID
: your project ID.USER_IDENTIFIER
: the identifier for your user account—for example,myemail@example.com
.ROLE
: the IAM role that you grant to your user account.
必要な権限
クイックスタートを完了するには、次の権限が必要です。これらの権限は、AML AI で多くの重要なオペレーションを実行するためにも必要です。
権限 | 説明 |
---|---|
resourcemanager.projects.get | Google Cloud プロジェクトを取得する |
resourcemanager.projects.list | Google Cloud 個のプロジェクトを一覧表示する |
cloudkms.keyRings.create | Cloud KMS キーリングを作成する |
cloudkms.cryptoKeys.create | Cloud KMS 鍵を作成する |
financialservices.v1instances.create | AML AI インスタンスを作成する |
financialservices.operations.get | AML AI オペレーションを取得する |
cloudkms.cryptoKeys.getIamPolicy | Cloud KMS 鍵の IAM ポリシーを取得する |
cloudkms.cryptoKeys.setIamPolicy | Cloud KMS 鍵に IAM ポリシーを設定する |
bigquery.datasets.create | BigQuery データセットを作成する |
bigquery.datasets.get | BigQuery データセットを取得する |
bigquery.transfers.get | BigQuery Data Transfer Service 転送を取得する |
bigquery.transfers.update | BigQuery Data Transfer Service 転送を作成または削除する |
bigquery.datasets.setIamPolicy | BigQuery データセットに IAM ポリシーを設定する |
bigquery.datasets.update | BigQuery データセットを更新する |
financialservices.v1datasets.create | AML AI データセットを作成する |
financialservices.v1engineconfigs.create | AML AI エンジン構成を作成する |
financialservices.v1models.create | AML AI モデルを作成する |
financialservices.v1backtests.create | AML AI バックテスト結果を作成する |
financialservices.v1backtests.exportMetadata | AML AI バックテスト結果からメタデータをエクスポートする |
financialservices.v1instances.importRegisteredParties | 登録済み当事者を AML AI インスタンスにインポートする |
financialservices.v1predictions.create | AML AI 予測結果を作成する |
bigquery.jobs.create | BigQuery ジョブを作成する |
bigquery.tables.getData | BigQuery テーブルからデータを取得する |
financialservices.v1predictions.delete | AML AI 予測結果を削除する |
financialservices.v1backtests.delete | AML AI バックテスト結果を削除する |
financialservices.v1models.delete | AML AI モデルを削除する |
financialservices.v1engineconfigs.delete | AML AI エンジン構成を削除する |
financialservices.v1datasets.delete | AML AI データセットを削除する |
financialservices.v1instances.delete | AML AI インスタンスを削除する |
bigquery.datasets.delete | BigQuery データセットを削除する |