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 后,系统会对 Cloud Search API 应用此项目的 VPC 安全设置。格式:projects/{projectId}
|
AuditLoggingSettings
JSON 表示法 |
{
"project": string,
"logAdminReadActions": boolean,
"logDataWriteActions": boolean,
"logDataReadActions": boolean
} |
字段 |
project |
string
用于存储审核日志的 GCP 项目的资源名称。通过 CustomerService 更新 project_name 后,系统会启用 Cloud Audit Logging。格式:projects/{projectId}
|
logAdminReadActions |
boolean
指示是否为管理员活动读取 API(例如 Get/List DataSources、Get/List SearchApplications 等)启用/停用审核日志记录。
|
logDataWriteActions |
boolean
指示是否为数据访问写入 API(例如 items.index 等)开启/关闭审核日志记录。
|
logDataReadActions |
boolean
指示是否为数据访问读取 API(例如 items.list、items.get 等)启用/停用审核日志记录。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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. |"]]