We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1debcc6 + 73fc846 commit 146434aCopy full SHA for 146434a
storage/json-api/src/main/java/StorageSample.java
@@ -64,7 +64,7 @@ private static Storage getService() throws IOException, GeneralSecurityException
64
GoogleCredential credential = GoogleCredential.getApplicationDefault();
65
// Depending on the environment that provides the default credentials (e.g. Compute Engine,
66
// App Engine), the credentials may require us to specify the scopes we need explicitly.
67
- // Check for this case, and inject the Bigquery scope if required.
+ // Check for this case, and inject the Cloud Storage scope if required.
68
if (credential.createScopedRequired()) {
69
credential = credential.createScoped(StorageScopes.all());
70
}
0 commit comments