Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BigQuery: Deletes unused samples and standardizes region tags #1091

Merged
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -32,7 +32,7 @@
*/
public class AuthSnippets {

// [START default_credentials]
// [START bigquery_client_default_credentials]
public static void implicit() {
// Instantiate a client. If you don't specify credentials when constructing a client, the
// client library will look for credentials in the environment, such as the
Expand All @@ -45,9 +45,9 @@ public static void implicit() {
System.out.printf("%s%n", dataset.getDatasetId().getDataset());
}
}
// [END default_credentials]
// [END bigquery_client_default_credentials]

// [START explicit_service_account]
// [START bigquery_client_json_credentials]
public static void explicit() throws IOException {
// Load credentials from JSON key file. If you can't set the GOOGLE_APPLICATION_CREDENTIALS
// environment variable, you can explicitly load the credentials file to construct the
Expand All @@ -68,7 +68,7 @@ public static void explicit() throws IOException {
System.out.printf("%s%n", dataset.getDatasetId().getDataset());
}
}
// [END explicit_service_account]
// [END bigquery_client_json_credentials]

public static void main(String... args) throws IOException {
boolean validArgs = args.length == 1;
Expand Down

This file was deleted.

Loading