public static enum OfflineCredentials.Api extends Enum<OfflineCredentials.Api> implements OfflineCredentials.OAuthConfig
| Modifier and Type | Method and Description |
|---|---|
Internals |
getInternals()
Returns the internals object for the API that has the OAuth helper.
|
String |
getPropertyKeyPrefix()
Returns the property key prefix.
|
String |
getScope()
Returns the API OAuth scope.
|
static OfflineCredentials.Api |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OfflineCredentials.Api[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OfflineCredentials.Api ADWORDS
public static final OfflineCredentials.Api DFP
public static OfflineCredentials.Api[] values()
for (OfflineCredentials.Api c : OfflineCredentials.Api.values()) System.out.println(c);
public static OfflineCredentials.Api valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getPropertyKeyPrefix()
OfflineCredentials.OAuthConfiggetPropertyKeyPrefix in interface OfflineCredentials.OAuthConfigpublic String getScope()
OfflineCredentials.OAuthConfiggetScope in interface OfflineCredentials.OAuthConfigpublic Internals getInternals()
OfflineCredentials.OAuthConfiggetInternals in interface OfflineCredentials.OAuthConfigCopyright © 2018. All Rights Reserved.