AuthorizationAction

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

```javascript
CardService.newAuthorizationAction().setAuthorizationUrl('http://google.com/');
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `https://developers.google.com/apps-script/reference/card-service/authorization-action#setAuthorizationUrl(String)` | `https://developers.google.com/apps-script/reference/card-service/authorization-action#` | Sets 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

| Name | Type | Description |
|---|---|---|
| `authorizationUrl` | `String` | The authorization URL to set. |

#### Return


`https://developers.google.com/apps-script/reference/card-service/authorization-action#` --- This object, for chaining.