public final class CredentialInfo extends Object
Constructor and Description |
---|
CredentialInfo(PrivateKey serviceAccountPrivateKey,
String serviceAccountId)
Construct a new credential object.
|
Modifier and Type | Method and Description |
---|---|
com.pervasive.datarush.bigquery.GoogleCredentialWrapper |
credential(List<String> scopes)
Create a credential wrapper given a list of scopes.
|
String |
getServiceAccountId()
Get the service account identifier.
|
PrivateKey |
getServiceAccountPrivateKey()
Get the service account private key value.
|
public CredentialInfo(PrivateKey serviceAccountPrivateKey, String serviceAccountId)
serviceAccountPrivateKey
- private key for the Google accountserviceAccountId
- service account identifierpublic PrivateKey getServiceAccountPrivateKey()
public String getServiceAccountId()
Copyright © 2015 Actian Corporation. All Rights Reserved.