CustomerSettings
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
欄位 |
vpcSettings |
object (VPCSettings )
客戶的 VPC SC 設定。如果 updateMask 為空白,系統會根據 settings.updateCustomer 要求更新這個欄位。
|
auditLoggingSettings |
object (AuditLoggingSettings )
客戶的稽核記錄設定。如果 updateMask 為空白,系統會根據 settings.updateCustomer 要求更新這個欄位。
|
VPCSettings
JSON 表示法 |
{
"project": string
} |
欄位 |
project |
string
要用於 VPC SC 政策檢查的 GCP 專案資源名稱。透過 CustomerService 更新 project_name 後,這個專案的 VPC 安全性設定就會套用至 Cloud Search API。格式:projects/{projectId}
|
AuditLoggingSettings
JSON 表示法 |
{
"project": string,
"logAdminReadActions": boolean,
"logDataWriteActions": boolean,
"logDataReadActions": boolean
} |
欄位 |
project |
string
要儲存稽核記錄的 GCP 專案資源名稱。透過 CustomerService 更新 project_name 後,系統就會啟用 Cloud 稽核記錄。格式:projects/{projectId}
|
logAdminReadActions |
boolean
指出是否為管理員活動讀取 API (例如 Get/List DataSources、Get/List SearchApplications 等) 啟用/停用稽核記錄。
|
logDataWriteActions |
boolean
指出是否為資料存取寫入 API (例如 items.index 等) 啟用/停用稽核記錄。
|
logDataReadActions |
boolean
指出是否為資料存取讀取 API (例如 items.list、items.get 等) 啟用/停用稽核記錄。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],[],null,["# CustomerSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [VPCSettings](#VPCSettings)\n - [JSON representation](#VPCSettings.SCHEMA_REPRESENTATION)\n- [AuditLoggingSettings](#AuditLoggingSettings)\n - [JSON representation](#AuditLoggingSettings.SCHEMA_REPRESENTATION)\n\nRepresents settings at a customer level.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"vpcSettings\": { object (/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings) }, \"auditLoggingSettings\": { object (/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings) } } ``` |\n\n| Fields ||\n|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `vpcSettings` | `object (`[VPCSettings](/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#VPCSettings)`)` VPC SC settings for the customer. If updateMask is empty then this field will be updated based on settings.updateCustomer request. |\n| `auditLoggingSettings` | `object (`[AuditLoggingSettings](/workspace/cloud-search/docs/reference/rest/v1/CustomerSettings#AuditLoggingSettings)`)` Audit Logging settings for the customer. If updateMask is empty then this field will be updated based on settings.updateCustomer request. |\n\nVPCSettings\n-----------\n\n| JSON representation |\n|-------------------------------|\n| ``` { \"project\": string } ``` |\n\n| Fields ||\n|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | `string` The resource name of the GCP Project to be used for VPC SC policy check. VPC security settings on this project will be honored for Cloud Search APIs after project_name has been updated through CustomerService. Format: projects/{projectId} |\n\nAuditLoggingSettings\n--------------------\n\nRepresents the settings for Cloud audit logging\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"project\": string, \"logAdminReadActions\": boolean, \"logDataWriteActions\": boolean, \"logDataReadActions\": boolean } ``` |\n\n| Fields ||\n|-----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | `string` The resource name of the GCP Project to store audit logs. Cloud audit logging will be enabled after project_name has been updated through CustomerService. Format: projects/{projectId} |\n| `logAdminReadActions` | `boolean` Indicates whether audit logging is on/off for admin activity read APIs i.e. Get/List DataSources, Get/List SearchApplications etc. |\n| `logDataWriteActions` | `boolean` Indicates whether audit logging is on/off for data access write APIs i.e. items.index etc. |\n| `logDataReadActions` | `boolean` Indicates whether audit logging is on/off for data access read APIs i.e. items.list, items.get etc. |"]]