public class GooglePlus extends BaseSource<GooglePlus>
| Modifier and Type | Class and Description |
|---|---|
static class |
GooglePlus.Type |
BaseSource.AuthParams, BaseSource.ResourceParamsauth, config, log, parameters, resources, type| Constructor and Description |
|---|
GooglePlus(DataSiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
GooglePlus |
addOAutToken(String oAuthAccessToken,
String oAuthRefreshToken,
String name,
long expires)
Adds an OAuth token to the managed source
|
GooglePlus |
addResource(GooglePlus.Type type,
String userId) |
GooglePlus |
enableComments(boolean enabled)
set to true, if you want to receive comment interactions.
|
GooglePlus |
enablePlusOnes(boolean enabled)
set to true, if you want to receive +1 interactions.
|
GooglePlus |
setParams(boolean enableComments,
boolean enablePlusOnes) |
getAuthAsJSON, getParametersAsJSON, getResourcesAsJSON, hasAuth, hasParams, hasResources, newAuthParams, newResourceParams, setParametersField, typepublic GooglePlus(DataSiftConfig config)
public GooglePlus setParams(boolean enableComments, boolean enablePlusOnes)
public GooglePlus enableComments(boolean enabled)
public GooglePlus enablePlusOnes(boolean enabled)
public GooglePlus addResource(GooglePlus.Type type, String userId)
public GooglePlus addOAutToken(String oAuthAccessToken, String oAuthRefreshToken, String name, long expires)
oAuthAccessToken - an oauth2 tokenoAuthRefreshToken - an oauth2 refresh tokenname - a human friendly name for this auth tokenexpires - identity resource expiry date/time as a UTC timestamp, i.e. when the token expiresCopyright © 2015. All Rights Reserved.