Method: decryptSecret
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
解密账号关联流程中使用的 OAuth 客户端密钥。这可用于查看客户端密钥(例如,在拉取项目后)。
HTTP 请求
POST https://actions.googleapis.com/v2:decryptSecret
网址采用 gRPC 转码语法。
请求正文
请求正文中包含结构如下的数据:
JSON 表示法 |
{
"encryptedClientSecret": string
} |
字段 |
encryptedClientSecret |
string (bytes format)
必需。账号关联客户端密钥密文。 使用 base64 编码的字符串。
|
响应正文
如果成功,响应正文将包含结构如下的数据:
v2.decryptSecret 的 RPC 响应。
JSON 表示法 |
{
"clientSecret": string
} |
字段 |
clientSecret |
string
账号关联客户端密钥明文。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis endpoint decrypts the OAuth client secret used in account linking flows, allowing you to view it after actions like pulling a project.\u003c/p\u003e\n"],["\u003cp\u003eIt uses an HTTP POST request to \u003ccode\u003ehttps://actions.googleapis.com/v2:decryptSecret\u003c/code\u003e with the encrypted client secret in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the \u003ccode\u003eencryptedClientSecret\u003c/code\u003e as a base64-encoded string.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, if successful, will contain the decrypted \u003ccode\u003eclientSecret\u003c/code\u003e as plain text.\u003c/p\u003e\n"]]],[],null,[]]