Class AuthorizationAction
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2026-04-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2026-04-13 (UTC) को अपडेट किया गया."],[],["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"]]