Method: installer.generateSecret
एचटीटीपी अनुरोध
POST https://sasportal.googleapis.com/v1alpha1/installer:generateSecret
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल होता है.
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
जेएसओएन के काेड में दिखाना |
{
"secret": string
} |
फ़ील्ड |
secret |
string
स्ट्रिंग के ज़रिए जनरेट किया गया सीक्रेट और installer.validate इस्तेमाल करता है.
|
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/sasportal
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-11-02 (UTC) को अपडेट किया गया."],[[["Generates a secret used for installer validation via the `installer.validate` method."],["Employs a `POST` request to `https://sasportal.googleapis.com/v1alpha1/installer:generateSecret` with an empty request body."],["The response provides a JSON object containing the generated secret."],["Utilizes gRPC Transcoding for the URL structure and necessitates the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["A secret is generated for use with the `installer.validate` function. The HTTP request is a `POST` to `https://sasportal.googleapis.com/v1alpha1/installer:generateSecret`. The request body must be empty. A successful response returns a JSON object containing a `secret` string. This action requires the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization. The gRPC Transcoding syntax is used to generate this secret.\n"]]