Class AuthorizationAction
AuthorizationAction
クリックするとユーザーを AuthorizationUrl に誘導する認可アクション。
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
詳細なドキュメント
setAuthorizationUrl(authorizationUrl)
認証プロンプトからユーザーが移動する認証 URL を設定します。必須。
パラメータ
名前 | 型 | 説明 |
authorizationUrl | String | 設定する認証 URL。 |
戻る
AuthorizationAction
- チェーン用のこのオブジェクト。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 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"]]