تم إيقاف إجراءات المحادثات نهائيًا في 13 حزيران (يونيو) 2023. لمزيد من المعلومات، يُرجى الاطّلاع على
إنهاء إجراءات المحادثة.
Method: decryptSecret
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يفك تشفير سر عميل OAuth المُستخدَم في مسارات ربط الحسابات. يمكن استخدام ذلك لعرض سر العميل (على سبيل المثال، بعد سحب مشروع).
طلب HTTP
POST https://actions.googleapis.com/v2:decryptSecret
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
نص الطلب
يحتوي نص الطلب على بيانات بالبنية التالية:
تمثيل JSON |
{
"encryptedClientSecret": string
} |
الحقول |
encryptedClientSecret |
string (bytes format)
مطلوب. النص المُشفر لسر العميل المرتبط بالحساب. سلسلة بترميز base64.
|
نص الاستجابة
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
استجابة استدعاء إجراء عن بُعد (RPC) للإصدار v2.decryptSecret.
تمثيل JSON |
{
"clientSecret": string
} |
الحقول |
clientSecret |
string
نص عادي لسر العميل المرتبط بالحساب.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 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,["# 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. |"]]