Created
April 21, 2020 07:52
-
-
Save vijayakumar-psg587/15664eb9722bb46e9a056f2d54fa1f4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getGcloudAuthModel(): AuthenticationModel { | |
const authModel: GcloudAuthenticationModel = new GcloudAuthenticationModel(); | |
authModel.autoRetry = true; | |
authModel.keyFilename = GCLOUD_KEY_FILE; | |
authModel.projectId = GCLOUD_PRJ_ID; | |
authModel.scope = GCLOUD_STROAGE_SCOPE; | |
authModel.maxRetries = GCLOUD_CONN_MAX_RETRIES; | |
return authModel; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment