Global
Abstract type
Abstract type
ClientConfig object
Properties
| Name | Type | Optional | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
projectId |
string |
Yes |
The project ID from the Google Developer's
Console, e.g. 'grape-spaceship-123'. We will also check the environment
variable |
||||||||||||
|
keyFilename |
string |
Yes |
Full path to the a .json, .pem, or .p12 key
downloaded from the Google Developers Console. If you provide a path to a
JSON file, the |
||||||||||||
|
|
string |
Yes |
Account email address. Required when using a .pem or .p12 keyFilename. |
||||||||||||
|
credentials |
object |
Yes |
Credentials object. Values in
|
||||||||||||
|
autoRetry |
boolean |
Yes |
Automatically retry requests if the response is related to rate limits or certain intermittent server errors. We will exponentially backoff subsequent requests by default. Defaults to |
||||||||||||
|
maxRetries |
number |
Yes |
Maximum number of automatic retries attempted before returning the error. Defaults to |
||||||||||||
|
promise |
Constructor |
Yes |
Custom promise module to use instead of native Promises. |
||||||||||||
|
apiEndpoint |
string |
Yes |
The API endpoint of the service used to make requests. Defaults to |