You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`BigQueryExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality
46
-
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/BigQueryExample.html).
47
45
-[`DatastoreExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/DatastoreExample.java) - A simple command line interface for the Cloud Datastore
48
46
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/DatastoreExample.html).
49
-
-[`ResourceManagerExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/ResourceManagerExample.java) - A simple command line interface providing some of Cloud Resource Manager's functionality
50
-
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/ResourceManagerExample.html).
51
47
-[`StorageExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/StorageExample.java) - A simple command line interface providing some of Cloud Storage's functionality
52
48
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/StorageExample.html).
49
+
-[`ResourceManagerExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/ResourceManagerExample.java) - A simple command line interface providing some of Cloud Resource Manager's functionality
50
+
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/ResourceManagerExample.html).
51
+
-[`BigQueryExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/BigQueryExample.java) - A simple command line interface providing some of Cloud BigQuery's functionality
52
+
- Read more about using this application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/BigQueryExample.html).
53
53
54
54
Specifying a Project ID
55
55
-----------------------
@@ -109,51 +109,6 @@ Next, choose a method for authenticating API requests from within your project:
109
109
4. Google Cloud SDK credentials
110
110
5. Compute Engine credentials
111
111
112
-
Google Cloud BigQuery
113
-
----------------------
114
-
115
-
- [API Documentation][bigquery-api]
116
-
- [Official Documentation][cloud-bigquery-docs]
117
-
118
-
#### Preview
119
-
120
-
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you
121
-
must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
while (loadJob.status().state() != JobStatus.State.DONE) {
146
-
Thread.sleep(1000L);
147
-
loadJob = bigquery.getJob(loadJob.jobId());
148
-
}
149
-
if (loadJob.status().error() != null) {
150
-
System.out.println("Job completed with errors");
151
-
} else {
152
-
System.out.println("Job succeeded");
153
-
}
154
-
}
155
-
```
156
-
157
112
Google Cloud Datastore
158
113
----------------------
159
114
@@ -194,6 +149,45 @@ if (entity == null) {
194
149
}
195
150
```
196
151
152
+
Google Cloud Storage
153
+
----------------------
154
+
155
+
- [API Documentation][storage-api]
156
+
- [Official Documentation][cloud-storage-docs]
157
+
158
+
*Follow the [activation instructions][cloud-storage-activation] to use the Google Cloud Storage API with your project.*
159
+
160
+
#### Preview
161
+
162
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
@@ -225,42 +219,48 @@ while (projectIterator.hasNext()) {
225
219
}
226
220
```
227
221
228
-
Google Cloud Storage
222
+
Google Cloud BigQuery
229
223
----------------------
230
224
231
-
- [API Documentation][storage-api]
232
-
- [Official Documentation][cloud-storage-docs]
233
-
234
-
*Follow the [activation instructions][cloud-storage-activation] to use the Google Cloud Storage API with your project.*
225
+
- [API Documentation][bigquery-api]
226
+
- [Official Documentation][cloud-bigquery-docs]
235
227
236
228
#### Preview
237
229
238
-
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
230
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you
231
+
must [supply credentials](#authentication) and a project ID if running this snippet elsewhere.
0 commit comments