private static void checkClientSecretsFile ( GoogleClientSecrets clientSecrets ) { if ( clientSecrets . getDetails ( ) . getClientId ( ) . startsWith ( "[[INSERT" ) || clientSecrets . getDetails ( ) . getClientSecret ( ) . startsWith ( "[[INSERT" ) ) { LOG . error ( "Enter Client ID and Secret from " + "APIs console into resources/client_secrets.json." ) ; System . exit ( 1 ) ; } }
Ensure the client secrets file has been filled out .