- java.lang.Object
-
- com.pervasive.datarush.gcp.GcpCredentialsHelper
-
public class GcpCredentialsHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLIENT_EMAIL
static String
CLIENT_ID
static String
GOOGLE_CREDENTIAL_PROP
static String
PRIVATE_KEY
static String
PRIVATE_KEY_ID
static String
PROJECT_ID
static String
QUOTA_PROJECT_ID
static String
TOKEN_URI
-
Constructor Summary
Constructors Constructor Description GcpCredentialsHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileConfiguration
createTemplate()
static String
getClientEmail(FileConfiguration creds)
static String
getClientId(FileConfiguration creds)
static String
getGoogleCredential(FileConfiguration creds)
static String
getPrivateKey(FileConfiguration creds)
static String
getPrivateKeyId(FileConfiguration creds)
static String
getProjectId(FileConfiguration creds)
static String
getQuotaProjectId(FileConfiguration creds)
static String
getTokenUri(FileConfiguration creds)
-
-
-
Field Detail
-
GOOGLE_CREDENTIAL_PROP
public static final String GOOGLE_CREDENTIAL_PROP
- See Also:
- Constant Field Values
-
CLIENT_ID
public static final String CLIENT_ID
- See Also:
- Constant Field Values
-
CLIENT_EMAIL
public static final String CLIENT_EMAIL
- See Also:
- Constant Field Values
-
PRIVATE_KEY_ID
public static final String PRIVATE_KEY_ID
- See Also:
- Constant Field Values
-
PRIVATE_KEY
public static final String PRIVATE_KEY
- See Also:
- Constant Field Values
-
TOKEN_URI
public static final String TOKEN_URI
- See Also:
- Constant Field Values
-
PROJECT_ID
public static final String PROJECT_ID
- See Also:
- Constant Field Values
-
QUOTA_PROJECT_ID
public static final String QUOTA_PROJECT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTemplate
public static FileConfiguration createTemplate()
-
getGoogleCredential
public static String getGoogleCredential(FileConfiguration creds)
-
getClientId
public static String getClientId(FileConfiguration creds)
-
getClientEmail
public static String getClientEmail(FileConfiguration creds)
-
getPrivateKeyId
public static String getPrivateKeyId(FileConfiguration creds)
-
getPrivateKey
public static String getPrivateKey(FileConfiguration creds)
-
getTokenUri
public static String getTokenUri(FileConfiguration creds)
-
getProjectId
public static String getProjectId(FileConfiguration creds)
-
getQuotaProjectId
public static String getQuotaProjectId(FileConfiguration creds)
-
-