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
> Note: This client is a work-in-progress, and may occasionally
19
24
> make backwards-incompatible changes.
20
25
@@ -29,35 +34,28 @@ Add this to your pom.xml file
29
34
</dependency>
30
35
```
31
36
37
+
<!---
32
38
Example Applications
33
39
--------------------
34
40
35
-
-[`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
36
-
- 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).
37
-
-[`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
38
-
- 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).
39
-
40
-
Authentication
41
-
--------------
42
-
43
-
There are multiple ways to authenticate to use Google Cloud services.
44
-
45
-
1. When using `gcloud-java` libraries from within Compute/App Engine, no additional authentication steps are necessary.
46
-
2. When using `gcloud-java` libraries elsewhere, there are two options:
47
-
*[Generate a JSON service account key](https://cloud.google.com/storage/docs/authentication?hl=en#service_accounts). Supply a path to the downloaded JSON credentials file when building the options supplied to datastore/storage constructor.
48
-
* If running locally for development/testing, you can use use [Google Cloud SDK](https://cloud.google.com/sdk/?hl=en). To use the SDK authentication, [download the SDK](https://cloud.google.com/sdk/?hl=en) if you haven't already. Then login using the SDK (`gcloud auth login` in command line), and set your current project using `gcloud config set project PROJECT_ID`.
41
+
- `java-datastore-sample`_ - A sample using Cloud Datastore
*Follow the [activation instructions][cloud-datastore-activation] to use the Google Cloud Datastore API with your project.*
48
+
[Google Cloud Datastore][cloud-datastore] is a fully managed, schemaless database for
49
+
storing non-relational data. Cloud Datastore automatically scales with
50
+
your users and supports ACID transactions, high availability of reads and
51
+
writes, strong consistency for reads and ancestor queries, and eventual
52
+
consistency for all other queries.
57
53
58
-
#### Preview
54
+
See the [Google Cloud Datastore docs][cloud-datastore-activation] for more details on how to activate
55
+
Cloud Datastore for your project.
59
56
60
-
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.
57
+
See the ``gcloud-java`` API [datastore documentation][datastore-api] to learn how to interact
58
+
with the Cloud Datastore using this Client Library.
[Google Cloud Storage][cloud-storage] is a durable and highly available
94
+
object storage service. Google Cloud Storage is almost infinitely scalable
95
+
and guarantees consistency: when a write succeeds, the latest copy of the
96
+
object will be returned to any GET, globally.
96
97
97
-
*Follow the [activation instructions][cloud-storage-activation] to use the Google Cloud Storage API with your project.*
98
+
See the [Google Cloud Storage docs][cloud-storage-activation] for more details on how to activate
99
+
Cloud Storage for your project.
98
100
99
-
#### Preview
100
-
101
-
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.
101
+
See the ``gcloud-java`` API [storage documentation][storage-api] to learn how to interact
Java 7 or above is required for using this client.
132
-
133
130
Testing
134
131
-------
135
132
136
133
This library provides tools to help write tests for code that uses gcloud-java services.
137
134
138
135
See [TESTING] to read more about using our testing helpers.
139
136
140
-
Versioning
141
-
----------
142
-
143
-
This library follows [Semantic Versioning] (http://semver.org/).
144
-
145
-
It is currently in major version zero (``0.y.z``), which means that anything
146
-
may change at any time and the public API should not be considered
147
-
stable.
148
-
149
137
Contributing
150
138
------------
151
139
@@ -155,6 +143,20 @@ See [CONTRIBUTING] for more information on how to get started.
155
143
156
144
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See [Code of Conduct][code-of-conduct] for more information.
157
145
146
+
Java Versions
147
+
-------------
148
+
149
+
Java 7 or above is required for using this client.
150
+
151
+
Versioning
152
+
----------
153
+
154
+
This library follows [Semantic Versioning] (http://semver.org/).
155
+
156
+
It is currently in major version zero (``0.y.z``), which means that anything
157
+
may change at any time and the public API should not be considered
0 commit comments