Class AuthorizationAction
अनुमतिकार्रवाई
अनुमति देने वाली ऐसी कार्रवाई जो क्लिक करने पर, उपयोगकर्ता को AuthorizationUrl पर भेजेगी.
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
ज़्यादा जानकारी वाला दस्तावेज़
setAuthorizationUrl(authorizationUrl)
अनुमति देने के अनुरोध से उपयोगकर्ता को जिस यूआरएल पर ले जाया जाता है उसे सेट करता है. ज़रूरी है.
पैरामीटर
नाम | टाइप | ब्यौरा |
authorizationUrl | String | सेट किया जाने वाला अनुमति देने वाला यूआरएल. |
वापसी का टिकट
AuthorizationAction
— चेन करने के लिए यह ऑब्जेक्ट.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-22 (UTC) को अपडेट किया गया."],[[["`AuthorizationAction` enables sending users to a specified URL for authorization when clicked."],["It's created using `CardService.newAuthorizationAction()` and configured with `setAuthorizationUrl()`."],["The `setAuthorizationUrl()` method requires an authorization URL as a string parameter."],["`AuthorizationAction` provides a streamlined approach to initiating user authorization within Google Workspace add-ons."]]],["The `AuthorizationAction` object directs users to a specified URL when clicked. The core functionality involves using the `setAuthorizationUrl(authorizationUrl)` method to define this URL. This method requires a string parameter, `authorizationUrl`, which is the destination the user will be sent to. This method returns the `AuthorizationAction` object, allowing for method chaining. The `CardService.newAuthorizationAction()` creates the action to use with the `setAuthorizationUrl`.\n"]]