Enum AuthType
AuthType
यह एक सूची है, जिसमें पुष्टि करने के उन तरीकों के बारे में बताया गया है जिन्हें कनेक्टर के लिए सेट किया जा सकता है.
किसी एनम को कॉल करने के लिए, उसकी पैरंट क्लास, नाम, और प्रॉपर्टी को कॉल किया जाता है. उदाहरण के लिए,
DataStudioApp.AuthType.OAUTH2
.
प्रॉपर्टी
प्रॉपर्टी | टाइप | ब्यौरा |
NONE | Enum | अनुमति की ज़रूरत नहीं है. |
OAUTH2 | Enum | OAuth2 की अनुमति देना ज़रूरी है. |
USER_PASS | Enum | उपयोगकर्ता नाम और पासवर्ड क्रेडेंशियल की ज़रूरत है. |
PATH_USER_PASS | Enum | उपयोगकर्ता नाम, पाथ, और पासवर्ड की ज़रूरत है. |
PATH_KEY | Enum | पाथ और पासकोड डालना ज़रूरी है. |
KEY | Enum | एपीआई पासकोड या टोकन की ज़रूरत है. |
USER_TOKEN | Enum | उपयोगकर्ता नाम और टोकन ज़रूरी है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-02 (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`)."]]],["`AuthType` is an enum defining connector authentication methods. It includes `NONE` for no authorization, `OAUTH2` for OAuth2, `USER_PASS` for username/password, `PATH_USER_PASS` for username/path/password, `PATH_KEY` for path/key, `KEY` for API Key/Token, and `USER_TOKEN` for username/token. Access is via `DataStudioApp.AuthType.PROPERTY`, replacing `PROPERTY` with the desired method. Each method is represented by an `Enum` type.\n"]]