Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private static Bigquery createAuthorizedClient() throws IOException {
JsonFactory jsonFactory = new JacksonFactory();
GoogleCredential credential = GoogleCredential.getApplicationDefault(transport, jsonFactory);

// Depending on the environment that provides the default credentials (eg Compute Engine, App
// Depending on the environment that provides the default credentials (e.g. Compute Engine, App
// Engine), the credentials may require us to specify the scopes we need explicitly.
// Check for this case, and inject the Bigquery scope if required.
if (credential.createScopedRequired()) {
Expand Down
2 changes: 1 addition & 1 deletion storage/json-api/src/main/java/StorageSample.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static Bucket getBucket(String bucketName) throws IOException, GeneralSec
Storage client = getService();

Storage.Buckets.Get bucketRequest = client.buckets().get(bucketName);
// Fetch the full set of the bucket's properties (eg include the ACLs in the response)
// Fetch the full set of the bucket's properties (e.g. include the ACLs in the response)
bucketRequest.setProjection("full");
return bucketRequest.execute();
}
Expand Down