Package com.google.ads.googleads.lib
Enum Class GoogleAdsClient.Builder.ConfigPropertyKey
java.lang.Object
java.lang.Enum<GoogleAdsClient.Builder.ConfigPropertyKey>
com.google.ads.googleads.lib.GoogleAdsClient.Builder.ConfigPropertyKey
- All Implemented Interfaces:
Serializable,Comparable<GoogleAdsClient.Builder.ConfigPropertyKey>,Constable
- Enclosing class:
- GoogleAdsClient.Builder
public static enum GoogleAdsClient.Builder.ConfigPropertyKey
extends Enum<GoogleAdsClient.Builder.ConfigPropertyKey>
Enum of keys expected in the "ads.properties".
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionThe key corresponding to this config property.getPropertyValue(Properties properties) Convenience method that gets the value for this config key from the specifiedproperties.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLIENT_ID
-
CLIENT_SECRET
-
DEVELOPER_TOKEN
-
REFRESH_TOKEN
-
ENDPOINT
-
LOGIN_CUSTOMER_ID
-
LINKED_CUSTOMER_ID
-
SERVICE_ACCOUNT_SECRETS_PATH
-
SERVICE_ACCOUNT_USER
-
MAX_INBOUND_MESSAGE_BYTES
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyKey
The key corresponding to this config property. -
getPropertyValue
Convenience method that gets the value for this config key from the specifiedproperties.- Parameters:
properties- the properties from which the value will be fetched- Returns:
- the property value for this key, or
nullif no such entry exists. - Throws:
NullPointerException- ifproperties == null.
-