[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003e\u003ccode\u003eAuthorizationAction\u003c/code\u003e enables sending users to a specified URL for authorization when clicked.\u003c/p\u003e\n"],["\u003cp\u003eIt's created using \u003ccode\u003eCardService.newAuthorizationAction()\u003c/code\u003e and configured with \u003ccode\u003esetAuthorizationUrl()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetAuthorizationUrl()\u003c/code\u003e method requires an authorization URL as a string parameter.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthorizationAction\u003c/code\u003e provides a streamlined approach to initiating user authorization within Google Workspace add-ons.\u003c/p\u003e\n"]]],["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"],null,["AuthorizationAction\n\nAn authorization action that will send the user to the AuthorizationUrl when clicked.\n\n```javascript\nCardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');\n``` \n\nMethods\n\n| Method | Return type | Brief description |\n|-----------------------------------------------------------------------|--------------------------|---------------------------------------------------------------------------------|\n| [setAuthorizationUrl(authorizationUrl)](#setAuthorizationUrl(String)) | [AuthorizationAction](#) | Sets the authorization URL that user is taken to from the authorization prompt. |\n\nDetailed documentation \n\n`set``Authorization``Url(authorizationUrl)` \nSets the authorization URL that user is taken to from the authorization prompt. Required.\n\nParameters\n\n| Name | Type | Description |\n|----------------------|----------|-------------------------------|\n| `authorization``Url` | `String` | The authorization URL to set. |\n\nReturn\n\n\n[AuthorizationAction](#) --- This object, for chaining."]]