Class AuthorizationAction

AuthorizationAction

An authorization action that will send the user to the AuthorizationUrl when clicked.

CardService.newAuthorizationAction()
  .setAuthorizationUrl("http://google.com/");

Methods

MethodReturn typeBrief description
setAuthorizationUrl(authorizationUrl)AuthorizationActionSets the authorization URL that user is taken to from the authorization prompt.

Detailed documentation

setAuthorizationUrl(authorizationUrl)

Sets the authorization URL that user is taken to from the authorization prompt. Required.

Parameters

NameTypeDescription
authorizationUrlStringthe authorization URL to set.

Return

AuthorizationAction — this object, for chaining.

发送以下问题的反馈:

此网页
Apps Script
Apps Script
需要帮助?请访问我们的支持页面