このドキュメントでは、Business AI Code で監査されるメソッドの一覧を示します。 Google Cloud サービス は、リソース内の管理およびアクセスのアクティビティを記録する監査ログを生成します。 Google Cloud Cloud Audit Logs の詳細については、以下をご覧ください。
サービス名
Business AI Code の監査ログを表示する手順は次のとおりです。
コンソールで、[ログ エクスプローラ] ページに移動します。 Google Cloud
次のクエリをコピーして [クエリ] フィールドに貼り付け、 ログ エクスプローラで [クエリを実行] をクリックします。
protoPayload.serviceName="businessaicode.googleapis.com"
メソッド(権限タイプ別)
各 IAM 権限には type プロパティがあります。このプロパティの値は列挙型で、ADMIN_READ、ADMIN_WRITE、DATA_READ、DATA_WRITE のいずれかになります。メソッドを呼び出すと、そのメソッドの実行に必要な権限の type プロパティによって変わるカテゴリの監査ログが Business AI Code によって生成されます。
`type` プロパティ値が `DATA_READ`、`DATA_WRITE`、または `ADMIN_READ` の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type プロパティ値が ADMIN_WRITE の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。
| 権限タイプ | メソッド |
|---|---|
DATA_READ |
google.cloud.businessaicode.v1alpha.PredictionService.GenerateContentgoogle.cloud.businessaicode.v1alpha.PredictionService.QueryConfiggoogle.cloud.businessaicode.v1beta.PredictionService.GenerateContentgoogle.cloud.businessaicode.v1beta.PredictionService.QueryConfig |
DATA_WRITE |
google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetrygoogle.cloud.businessaicode.v1beta.PredictionService.SendTelemetry |
API インターフェースの監査ログ
各メソッドで評価される権限と評価方法については、Identity and Access Management のドキュメントで Business AI Code の情報をご覧ください。
google.cloud.businessaicode.v1alpha.PredictionService
次の監査ログは、google.cloud.businessaicode.v1alpha.PredictionService に属するメソッドに関連付けられています。
GenerateContent
- メソッド:
google.cloud.businessaicode.v1alpha.PredictionService.GenerateContent - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.generateContent - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.GenerateContent"
QueryConfig
- メソッド:
google.cloud.businessaicode.v1alpha.PredictionService.QueryConfig - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.queryConfiguration - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.QueryConfig"
SendTelemetry
- メソッド:
google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetry - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.sendTelemetry - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.SendTelemetry"
google.cloud.businessaicode.v1beta.PredictionService
次の監査ログは、google.cloud.businessaicode.v1beta.PredictionService に属するメソッドに関連付けられています。
GenerateContent
- メソッド:
google.cloud.businessaicode.v1beta.PredictionService.GenerateContent - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.generateContent - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.GenerateContent"
QueryConfig
- メソッド:
google.cloud.businessaicode.v1beta.PredictionService.QueryConfig - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.queryConfiguration - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.QueryConfig"
SendTelemetry
- メソッド:
google.cloud.businessaicode.v1beta.PredictionService.SendTelemetry - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.sendTelemetry - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.SendTelemetry"