MDCBuilder.buildMdcContext(gccCredential);
try {
HttpTransport httpTransport = GoogleNetHttpTransport.newTrustedTransport();
BufferedReader br = new BufferedReader(new StringReader(gccCredential.getServiceAccountPrivateKey()));
Security.addProvider(new BouncyCastleProvider());
KeyPair kp = (KeyPair) new PEMReader(br).readObject();
GoogleCredential credential = new GoogleCredential.Builder().setTransport(httpTransport)
.setJsonFactory(JSON_FACTORY)
.setServiceAccountId(gccCredential.getServiceAccountId())
.setServiceAccountScopes(SCOPES)
.setServiceAccountPrivateKey(kp.getPrivate())