Enum AuthType
AuthType
An enum that defines the authentication types that can be set for a connector.
To call an enum, you call its parent class, name, and property. For example,
DataStudioApp.AuthType.OAUTH2
.
Properties
Property | Type | Description |
NONE | Enum | No authorization needed. |
OAUTH2 | Enum | OAuth2 authorization needed. |
USER_PASS | Enum | Username and password credentials needed. |
PATH_USER_PASS | Enum | Username, path, and password needed. |
PATH_KEY | Enum | Path and key needed. |
KEY | Enum | API Key or Token needed. |
USER_TOKEN | Enum | Username and token needed. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["`AuthType` is an enum used to define the authentication types for a connector in DataStudio."],["Authentication types include options like no authorization, OAuth2, username/password, and API key/token methods."],["You can call the `AuthType` enum using `DataStudioApp.AuthType` followed by the desired property (e.g., `DataStudioApp.AuthType.OAUTH2`)."]]],[]]