대화형 작업이 2023년 6월 13일에 지원 중단되었습니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
Method: decryptSecret
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
계정 연결 과정에서 사용된 OAuth 클라이언트 보안 비밀번호를 복호화합니다. 클라이언트 보안 비밀번호를 보는 데 사용할 수 있습니다 (예: 프로젝트 가져오기 후).
HTTP 요청
POST https://actions.googleapis.com/v2:decryptSecret
URL은 gRPC 트랜스코딩 구문을 사용합니다.
요청 본문
요청 본문에는 다음과 같은 구조의 데이터가 포함됩니다.
JSON 표현 |
{
"encryptedClientSecret": string
} |
필드 |
encryptedClientSecret |
string (bytes format)
필수 항목입니다. 계정 연결 클라이언트 보안 암호 텍스트입니다. base64 인코딩 문자열입니다.
|
응답 본문
성공할 경우 응답 본문에 다음 구조의 데이터가 포함됩니다.
v2.decryptSecret에 대한 RPC 응답.
JSON 표현 |
{
"clientSecret": string
} |
필드 |
clientSecret |
string
계정 연결 클라이언트 보안 비밀번호 일반 텍스트입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\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,["# Method: decryptSecret\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DecryptSecretResponse.SCHEMA_REPRESENTATION)\n\nDecrypts the OAuth client secret used in account linking flows. This can be used to view the client secret (e.g. after pulling a project).\n\n### HTTP request\n\n`POST https://actions.googleapis.com/v2:decryptSecret`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|---------------------------------------------|---|\n| ``` { \"encryptedClientSecret\": string } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `encryptedClientSecret` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` Required. The account linking client secret ciphertext. A base64-encoded string. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nRPC response for v2.decryptSecret.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"clientSecret\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------|\n| `clientSecret` | `string` The account linking client secret plaintext. |"]]