このドキュメントでは、 Google Cloudの監査ロギングについて説明します。 Google Cloud サービスは、 Google Cloud リソース内の管理アクティビティとアクセス アクティビティを記録する監査ログを生成します。 Cloud Audit Logs の詳細については、以下をご覧ください。
サービス名
Gemini for Google Cloud の監査ログでは、サービス名 cloudaicompanion.googleapis.com が使用されます。このサービスでフィルタ:
protoPayload.serviceName="cloudaicompanion.googleapis.com"
メソッド(権限タイプ別)
各 IAM 権限には type プロパティがあります。このプロパティの値は列挙型で、ADMIN_READ、ADMIN_WRITE、DATA_READ、DATA_WRITE のいずれかになります。メソッドを呼び出すと、Gemini for Google Cloud は監査ログを生成します。このログのカテゴリは、メソッドの実行に必要な権限の type プロパティによって異なります。
type プロパティ値が DATA_READ、DATA_WRITE、または ADMIN_READ の IAM 権限を必要とするメソッドは、データアクセス監査ログを生成します。type プロパティ値が ADMIN_WRITE の IAM 権限を必要とするメソッドは、管理アクティビティ監査ログを生成します。
| 権限タイプ | メソッド |
|---|---|
ADMIN_READ |
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetCodeRepositoryIndexgoogle.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListCodeRepositoryIndexesgoogle.cloud.cloudaicompanion.v1.EntitlementService.CheckStatus |
ADMIN_WRITE |
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateCodeRepositoryIndex(LRO)google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteCodeRepositoryIndex(LRO)google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateCodeRepositoryIndex(LRO) |
DATA_READ |
google.cloud.cloudaicompanion.v1.CodeGenerationService.CompleteCodegoogle.cloud.cloudaicompanion.v1.CodeGenerationService.GenerateCodegoogle.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetRepositoryGroupgoogle.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListRepositoryGroupsgoogle.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UseRepositoryGroupgoogle.cloud.cloudaicompanion.v1.MessageService.EnumerateMessagesgoogle.cloud.cloudaicompanion.v1.TaskCompletionService.CompleteTaskgoogle.cloud.cloudaicompanion.v1.TextGenerationService.GenerateTextgoogle.cloud.cloudaicompanion.v1.TopicService.FindReadableTopicsgoogle.cloud.cloudaicompanion.v1.TopicService.GetTopic |
DATA_WRITE |
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateRepositoryGroup(LRO)google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteRepositoryGroup(LRO)google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateRepositoryGroup(LRO)google.cloud.cloudaicompanion.v1.TopicService.CreateTopic(LRO)google.cloud.cloudaicompanion.v1.TopicService.DeleteTopic(LRO)google.cloud.cloudaicompanion.v1.TopicService.UpdateTopic(LRO) |
API インターフェースの監査ログ
各メソッドで評価される権限と評価方法については、Gemini for Google Cloudのドキュメントで Cloud Translation の情報をご覧ください。
google.cloud.cloudaicompanion.v1.CodeGenerationService
次の監査ログは、google.cloud.cloudaicompanion.v1.CodeGenerationService に属するメソッドに関連付けられています。
CompleteCode
- メソッド:
google.cloud.cloudaicompanion.v1.CodeGenerationService.CompleteCode - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.instances.completeCode - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeGenerationService.CompleteCode"
GenerateCode
- メソッド:
google.cloud.cloudaicompanion.v1.CodeGenerationService.GenerateCode - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.instances.generateCode - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeGenerationService.GenerateCode"
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService
次の監査ログは、google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService に属するメソッドに関連付けられています。
CreateCodeRepositoryIndex
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateCodeRepositoryIndex - 監査ログのタイプ: 管理アクティビティ
- 権限:
cloudaicompanion.codeRepositoryIndexes.create - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateCodeRepositoryIndex"
CreateRepositoryGroup
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateRepositoryGroup - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.create - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.CreateRepositoryGroup"
DeleteCodeRepositoryIndex
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteCodeRepositoryIndex - 監査ログのタイプ: 管理アクティビティ
- 権限:
cloudaicompanion.codeRepositoryIndexes.delete - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteCodeRepositoryIndex"
DeleteRepositoryGroup
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteRepositoryGroup - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.delete - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.DeleteRepositoryGroup"
GetCodeRepositoryIndex
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetCodeRepositoryIndex - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.codeRepositoryIndexes.get - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetCodeRepositoryIndex"
GetRepositoryGroup
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetRepositoryGroup - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.get - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.GetRepositoryGroup"
ListCodeRepositoryIndexes
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListCodeRepositoryIndexes - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.codeRepositoryIndexes.list - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListCodeRepositoryIndexes"
ListRepositoryGroups
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListRepositoryGroups - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.list - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.ListRepositoryGroups"
UpdateCodeRepositoryIndex
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateCodeRepositoryIndex - 監査ログのタイプ: 管理アクティビティ
- 権限:
cloudaicompanion.codeRepositoryIndexes.update - ADMIN_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateCodeRepositoryIndex"
UpdateRepositoryGroup
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateRepositoryGroup - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.update - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UpdateRepositoryGroup"
UseRepositoryGroup
- メソッド:
google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UseRepositoryGroup - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.repositoryGroups.use - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.CodeRepositoryIndexManagementService.UseRepositoryGroup"
google.cloud.cloudaicompanion.v1.EntitlementService
次の監査ログは、google.cloud.cloudaicompanion.v1.EntitlementService に属するメソッドに関連付けられています。
CheckStatus
- メソッド:
google.cloud.cloudaicompanion.v1.EntitlementService.CheckStatus - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.entitlements.get - ADMIN_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.EntitlementService.CheckStatus"
google.cloud.cloudaicompanion.v1.MessageService
次の監査ログは、google.cloud.cloudaicompanion.v1.MessageService に属するメソッドに関連付けられています。
EnumerateMessages
- メソッド:
google.cloud.cloudaicompanion.v1.MessageService.EnumerateMessages - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.get - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.MessageService.EnumerateMessages"
google.cloud.cloudaicompanion.v1.TaskCompletionService
次の監査ログは、google.cloud.cloudaicompanion.v1.TaskCompletionService に属するメソッドに関連付けられています。
CompleteTask
- メソッド:
google.cloud.cloudaicompanion.v1.TaskCompletionService.CompleteTask - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.instances.completeTask - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TaskCompletionService.CompleteTask"
google.cloud.cloudaicompanion.v1.TextGenerationService
次の監査ログは、google.cloud.cloudaicompanion.v1.TextGenerationService に属するメソッドに関連付けられています。
GenerateText
- メソッド:
google.cloud.cloudaicompanion.v1.TextGenerationService.GenerateText - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.instances.generateText - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TextGenerationService.GenerateText"
google.cloud.cloudaicompanion.v1.TopicService
次の監査ログは、google.cloud.cloudaicompanion.v1.TopicService に属するメソッドに関連付けられています。
CreateTopic
- メソッド:
google.cloud.cloudaicompanion.v1.TopicService.CreateTopic - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.create - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TopicService.CreateTopic"
DeleteTopic
- メソッド:
google.cloud.cloudaicompanion.v1.TopicService.DeleteTopic - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.delete - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TopicService.DeleteTopic"
FindReadableTopics
- メソッド:
google.cloud.cloudaicompanion.v1.TopicService.FindReadableTopics - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.get - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TopicService.FindReadableTopics"
GetTopic
- メソッド:
google.cloud.cloudaicompanion.v1.TopicService.GetTopic - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.get - DATA_READ
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか:
どちらでもない。
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TopicService.GetTopic"
UpdateTopic
- メソッド:
google.cloud.cloudaicompanion.v1.TopicService.UpdateTopic - 監査ログのタイプ: データアクセス
- 権限:
cloudaicompanion.topics.update - DATA_WRITE
- メソッドが長時間実行オペレーションまたはストリーミング オペレーションのどちらであるか: 長時間実行オペレーション
- このメソッドのフィルタ:
protoPayload.methodName="google.cloud.cloudaicompanion.v1.TopicService.UpdateTopic"