Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
Method: projects.locations.instances.addTokenAuthUser
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
为启用了基于令牌的身份验证的实例添加了基于令牌的身份验证用户。
HTTP 请求
:
POST https://memorystore.googleapis.com/v1alpha/{instance=projects/*/locations/*/instances/*}:addTokenAuthUser
网址使用 gRPC 转码语法。
路径参数
| 参数 |
instance |
string
必需。相应令牌身份验证用户将添加到的实例资源。格式:projects/{project}/locations/{location}/instances/{instance}
|
请求正文
请求正文中包含结构如下的数据:
| JSON 表示法 |
{
"tokenAuthUser": string
} |
| 字段 |
tokenAuthUser |
string
必需。要添加的令牌身份验证用户的名称。
|
响应正文
如果成功,则响应正文包含一个 Operation 实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/memorystore.read-write
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-09-28。
[null,null,["最后更新时间 (UTC):2026-09-28。"],[],[]]