Method: settings.updateCustomer
更新客户设置。
注意:必须使用管理员帐号才能执行此 API。
HTTP 请求
PATCH https://cloudsearch.googleapis.com/v1/settings/customer
网址采用 gRPC 转码语法。
查询参数
参数 |
updateMask |
string (FieldMask format)
更新掩码以控制更新哪些字段。如果您在 updateMask 中指定了字段,但未在此处指定其值,则系统会清除该字段。如果掩码不存在或为空,系统将更新所有字段。目前支持的字段路径:vpcSettings 和 AuditLoggingSettings 这是以逗号分隔的完全限定字段名称列表。示例:"user.displayName,photo" 。
|
请求正文
请求正文包含一个 CustomerSettings
实例。
响应正文
如果成功,则响应正文包含一个 Operation
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud_search.settings.indexing
https://www.googleapis.com/auth/cloud_search.settings
https://www.googleapis.com/auth/cloud_search
有关详情,请参阅授权指南。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-03。
[null,null,["最后更新时间 (UTC):2024-09-03。"],[[["This API updates customer settings, requiring an admin account and using a PATCH request to `https://cloudsearch.googleapis.com/v1/settings/customer`."],["You can control which fields are updated with the `updateMask` query parameter, providing a comma-separated list of field paths."],["The request body should contain an instance of `CustomerSettings`, while a successful response will include an `Operation` object."],["Authorization requires one of the following OAuth scopes: `https://www.googleapis.com/auth/cloud_search.settings.indexing`, `https://www.googleapis.com/auth/cloud_search.settings`, or `https://www.googleapis.com/auth/cloud_search`."]]],[]]