本文列出 Gemini Cloud Assist 的稽核方法。 Google Cloud 服務會產生稽核記錄,用來記錄 Google Cloud 資源中的管理和存取活動。如要進一步瞭解 Cloud 稽核記錄,請參閱以下內容:
服務名稱
如要查看 Gemini Cloud Assist 稽核記錄,請按照下列步驟操作:
前往 Google Cloud 控制台的「Logs Explorer」頁面:
複製下列查詢並貼到「Logs Explorer」的「Query」欄位,然後點選「Run query」。
protoPayload.serviceName="geminicloudassist.googleapis.com"
依權限類型區分的方法
每個 IAM 權限都具有 type 屬性,其值為以下四個列舉值之一:ADMIN_READ、ADMIN_WRITE、DATA_READ 或 DATA_WRITE。呼叫方法時,Gemini Cloud Assist 會產生一筆稽核記錄,記錄類別依執行該方法所需權限的 type 屬性而定。若方法需要的 IAM 權限,type 屬性值為 DATA_READ、DATA_WRITE 或 ADMIN_READ,就會產生資料存取稽核記錄;若所需 IAM 權限的 type 屬性值為 ADMIN_WRITE,則會產生管理員活動稽核記錄。
| 權限類型 | 方法 |
|---|---|
ADMIN_READ |
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevisiongoogle.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisionsgoogle.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationsgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisionsgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationsGetIamPolicygoogle.longrunning.Operations.GetOperationgoogle.longrunning.Operations.ListOperations |
ADMIN_WRITE |
google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationgoogle.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevisiongoogle.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision (LRO)google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationgoogle.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevisiongoogle.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision (LRO)google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigationSetIamPolicygoogle.longrunning.Operations.CancelOperationgoogle.longrunning.Operations.DeleteOperation |
API 介面稽核記錄
如要瞭解各方法所需的權限及評估方式,請參閱 Gemini Cloud Assist 的 Identity and Access Management 說明文件。
google.cloud.geminicloudassist.v1.InvestigationService
屬於 google.cloud.geminicloudassist.v1.InvestigationService 的方法會產生以下稽核記錄。
CreateInvestigation
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.create - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.CreateInvestigation"
DeleteInvestigation
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigation"
DeleteInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.DeleteInvestigationRevision"
GetInvestigation
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigation - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigations.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigation"
GetInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevision - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigationRevisions.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.GetInvestigationRevision"
ListInvestigationRevisions
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisions - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigationRevisions.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigationRevisions"
ListInvestigations
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigations - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigations.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.ListInvestigations"
RunInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.run - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.RunInvestigationRevision"
UpdateInvestigation
- 方法:
google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.update - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1.InvestigationService.UpdateInvestigation"
google.cloud.geminicloudassist.v1alpha.InvestigationService
屬於 google.cloud.geminicloudassist.v1alpha.InvestigationService 的方法會產生以下稽核記錄。
CreateInvestigation
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.create - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigation"
CreateInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.create - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.CreateInvestigationRevision"
DeleteInvestigation
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigation"
DeleteInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.DeleteInvestigationRevision"
GetInvestigation
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigation - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigations.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigation"
GetInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevision - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigationRevisions.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.GetInvestigationRevision"
ListInvestigationRevisions
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisions - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigationRevisions.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigationRevisions"
ListInvestigations
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigations - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigations.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ListInvestigations"
ModifyInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.modify - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.ModifyInvestigationRevision"
RunInvestigationRevision
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigationRevisions.run - ADMIN_WRITE
- 方法的作業種類:
長時間執行的作業
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.RunInvestigationRevision"
UpdateInvestigation
- 方法:
google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.update - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.cloud.geminicloudassist.v1alpha.InvestigationService.UpdateInvestigation"
google.iam.v1.IAMPolicy
屬於 google.iam.v1.IAMPolicy 的方法會產生以下稽核記錄。
GetIamPolicy
- 方法:
GetIamPolicy - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.investigations.getIamPolicy - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="GetIamPolicy"
SetIamPolicy
- 方法:
SetIamPolicy - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.investigations.setIamPolicy - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="SetIamPolicy"
google.longrunning.Operations
屬於 google.longrunning.Operations 的方法會產生以下稽核記錄。
CancelOperation
- 方法:
google.longrunning.Operations.CancelOperation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.operations.cancel - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.CancelOperation"
DeleteOperation
- 方法:
google.longrunning.Operations.DeleteOperation - 稽核記錄類型:管理員活動
- 權限:
geminicloudassist.operations.delete - ADMIN_WRITE
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.DeleteOperation"
GetOperation
- 方法:
google.longrunning.Operations.GetOperation - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.operations.get - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.GetOperation"
ListOperations
- 方法:
google.longrunning.Operations.ListOperations - 稽核記錄類型:資料存取
- 權限:
geminicloudassist.operations.list - ADMIN_READ
- 方法的作業種類:
非長時間執行或串流作業。
- 篩選條件:
protoPayload.methodName="google.longrunning.Operations.ListOperations"
不會產生稽核記錄的方法
某些方法可能不會產生稽核記錄,原因包括以下一或多項:
- 該方法的流量使用量高,若產生稽核記錄,會導致記錄與儲存成本過高。
- 稽核價值低。
- 其他稽核記錄或平台記錄已涵蓋該方法的活動。
下列方法不會產生稽核記錄:
a2a.v1.A2AService.CreateTaskPushNotificationConfiga2a.v1.A2AService.DeleteTaskPushNotificationConfiga2a.v1.A2AService.GetAgentCarda2a.v1.A2AService.GetTaskPushNotificationConfiga2a.v1.A2AService.ListTaskPushNotificationConfiggoogle.cloud.geminicloudassist.v1alpha.McpProxy.AskCloudAssistgoogle.cloud.geminicloudassist.v1alpha.McpProxy.DesignInfragoogle.cloud.geminicloudassist.v1alpha.McpProxy.InvestigateIssuegoogle.cloud.geminicloudassist.v1alpha.McpProxy.InvokeOperationgoogle.cloud.geminicloudassist.v1alpha.McpProxy.OptimizeCostsgoogle.cloud.location.Locations.GetLocationgoogle.cloud.location.Locations.ListLocationsgoogle.longrunning.Operations.WaitOperationlf.a2a.v1.A2AService.CancelTasklf.a2a.v1.A2AService.CreateTaskPushNotificationConfiglf.a2a.v1.A2AService.DeleteTaskPushNotificationConfiglf.a2a.v1.A2AService.GetExtendedAgentCardlf.a2a.v1.A2AService.GetTasklf.a2a.v1.A2AService.GetTaskPushNotificationConfiglf.a2a.v1.A2AService.ListTaskPushNotificationConfigslf.a2a.v1.A2AService.ListTaskslf.a2a.v1.A2AService.SendMessagelf.a2a.v1.A2AService.SendStreamingMessagelf.a2a.v1.A2AService.SubscribeToTask