このドキュメントでは、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 のいずれかになります。メソッドを呼び出すと、Business AI Code は監査ログを生成します。このログのカテゴリは、メソッドの実行に必要な権限の type プロパティによって異なります。type プロパティ値が DATA_READ、DATA_WRITE、または ADMIN_READ の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type プロパティ値が ADMIN_WRITE の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。
| 権限タイプ | メソッド |
|---|---|
DATA_READ |
google.cloud.businessaicode.v1alpha.ManagementService.FetchConfiggoogle.cloud.businessaicode.v1alpha.PredictionService.FetchQuotaStatusgoogle.cloud.businessaicode.v1alpha.PredictionService.GenerateContentgoogle.cloud.businessaicode.v1alpha.PredictionService.QueryConfiggoogle.cloud.businessaicode.v1alpha.PredictionService.StreamGenerateContentgoogle.cloud.businessaicode.v1beta.ManagementService.FetchConfiggoogle.cloud.businessaicode.v1beta.PredictionService.FetchQuotaStatusgoogle.cloud.businessaicode.v1beta.PredictionService.GenerateContentgoogle.cloud.businessaicode.v1beta.PredictionService.QueryConfiggoogle.cloud.businessaicode.v1beta.PredictionService.StreamGenerateContentgoogle.cloud.businessaicode.v1main.PredictionService.QueryConfig |
DATA_WRITE |
google.cloud.businessaicode.v1alpha.ManagementService.SelfAssignLicensegoogle.cloud.businessaicode.v1alpha.PredictionService.SendTelemetrygoogle.cloud.businessaicode.v1alpha.TelemetryService.SendTelemetrygoogle.cloud.businessaicode.v1beta.ManagementService.SelfAssignLicensegoogle.cloud.businessaicode.v1beta.PredictionService.SendTelemetrygoogle.cloud.businessaicode.v1beta.TelemetryService.SendTelemetrygoogle.cloud.businessaicode.v1main.PredictionService.SendTelemetry |
API インターフェースの監査ログ
各メソッドで評価される権限と評価方法については、Identity and Access Management のドキュメントで Business AI Code の情報をご覧ください。
google.cloud.businessaicode.v1alpha.ManagementService
次の監査ログは、google.cloud.businessaicode.v1alpha.ManagementService に属するメソッドに関連付けられています。
FetchConfig
- メソッド:
google.cloud.businessaicode.v1alpha.ManagementService.FetchConfig - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.queryConfiguration - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.ManagementService.FetchConfig"
SelfAssignLicense
- メソッド:
google.cloud.businessaicode.v1alpha.ManagementService.SelfAssignLicense - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.selfAssignLicense - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.ManagementService.SelfAssignLicense"
google.cloud.businessaicode.v1alpha.PredictionService
次の監査ログは、google.cloud.businessaicode.v1alpha.PredictionService に属するメソッドに関連付けられています。
FetchQuotaStatus
- メソッド:
google.cloud.businessaicode.v1alpha.PredictionService.FetchQuotaStatus - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.fetchQuotaStatus - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.FetchQuotaStatus"
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"
StreamGenerateContent
- メソッド:
google.cloud.businessaicode.v1alpha.PredictionService.StreamGenerateContent - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.generateContent - DATA_READ
- メソッドが長時間実行またはストリーミング オペレーションである: ストリーミング RPC
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.PredictionService.StreamGenerateContent"
google.cloud.businessaicode.v1alpha.TelemetryService
次の監査ログは、google.cloud.businessaicode.v1alpha.TelemetryService に属するメソッドに関連付けられています。
SendTelemetry
- メソッド:
google.cloud.businessaicode.v1alpha.TelemetryService.SendTelemetry - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.sendTelemetry - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1alpha.TelemetryService.SendTelemetry"
google.cloud.businessaicode.v1beta.ManagementService
次の監査ログは、google.cloud.businessaicode.v1beta.ManagementService に属するメソッドに関連付けられています。
FetchConfig
- メソッド:
google.cloud.businessaicode.v1beta.ManagementService.FetchConfig - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.queryConfiguration - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.ManagementService.FetchConfig"
SelfAssignLicense
- メソッド:
google.cloud.businessaicode.v1beta.ManagementService.SelfAssignLicense - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.selfAssignLicense - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.ManagementService.SelfAssignLicense"
google.cloud.businessaicode.v1beta.PredictionService
次の監査ログは、google.cloud.businessaicode.v1beta.PredictionService に属するメソッドに関連付けられています。
FetchQuotaStatus
- メソッド:
google.cloud.businessaicode.v1beta.PredictionService.FetchQuotaStatus - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.fetchQuotaStatus - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.FetchQuotaStatus"
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"
StreamGenerateContent
- メソッド:
google.cloud.businessaicode.v1beta.PredictionService.StreamGenerateContent - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.generateContent - DATA_READ
- メソッドが長時間実行またはストリーミング オペレーションである: ストリーミング RPC
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.PredictionService.StreamGenerateContent"
google.cloud.businessaicode.v1beta.TelemetryService
次の監査ログは、google.cloud.businessaicode.v1beta.TelemetryService に属するメソッドに関連付けられています。
SendTelemetry
- メソッド:
google.cloud.businessaicode.v1beta.TelemetryService.SendTelemetry - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.sendTelemetry - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1beta.TelemetryService.SendTelemetry"
google.cloud.businessaicode.v1main.PredictionService
次の監査ログは、google.cloud.businessaicode.v1main.PredictionService に属するメソッドに関連付けられています。
QueryConfig
- メソッド:
google.cloud.businessaicode.v1main.PredictionService.QueryConfig - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.queryConfiguration - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1main.PredictionService.QueryConfig"
SendTelemetry
- メソッド:
google.cloud.businessaicode.v1main.PredictionService.SendTelemetry - 監査ログのタイプ: データアクセス
- 権限:
businessaicode.locations.sendTelemetry - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.businessaicode.v1main.PredictionService.SendTelemetry"
監査ログを生成しないメソッド
メソッドが監査ログを生成しない理由としては、次のいずれかが考えられます。
- ログを大量に生成し、かなりのストレージ費用が発生するメソッドである。
- 監査価値が低い。
- 別の監査ログまたはプラットフォーム ログでメソッド カバレッジがすでに提供されている。
次のメソッドは監査ログを生成しません。
google.cloud.businessaicode.v1alpha.ManagementService.FetchLicensesgoogle.cloud.businessaicode.v1beta.ManagementService.FetchLicenses