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
-[`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`.
44
49
45
50
Google Cloud Datastore
46
51
----------------------
@@ -57,6 +62,8 @@ Cloud Datastore for your project.
57
62
See the ``gcloud-java`` API [datastore documentation][datastore-api] to learn how to interact
58
63
with the Cloud Datastore using this Client Library.
59
64
65
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) if running this snippet elsewhere.
@@ -101,6 +108,8 @@ Cloud Storage for your project.
101
108
See the ``gcloud-java`` API [storage documentation][storage-api] to learn how to interact
102
109
with the Cloud Storage using this Client Library.
103
110
111
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](#authentication) if running this snippet elsewhere.
Java 7 or above is required for using this client.
143
+
130
144
Testing
131
145
-------
132
146
133
147
This library provides tools to help write tests for code that uses gcloud-java services.
134
148
135
149
See [TESTING] to read more about using our testing helpers.
136
150
137
-
Contributing
138
-
------------
139
-
140
-
Contributions to this library are always welcome and highly encouraged.
141
-
142
-
See [CONTRIBUTING] for more information on how to get started.
143
-
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.
145
-
146
-
Java Versions
147
-
-------------
148
-
149
-
Java 7 or above is required for using this client.
150
-
151
151
Versioning
152
152
----------
153
153
@@ -157,6 +157,15 @@ It is currently in major version zero (``0.y.z``), which means that anything
157
157
may change at any time and the public API should not be considered
158
158
stable.
159
159
160
+
Contributing
161
+
------------
162
+
163
+
Contributions to this library are always welcome and highly encouraged.
164
+
165
+
See [CONTRIBUTING] for more information on how to get started.
166
+
167
+
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.
> Note: This client is a work-in-progress, and may occasionally
14
14
> make backwards-incompatible changes.
@@ -24,6 +24,18 @@ Add this to your pom.xml file
24
24
</dependency>
25
25
```
26
26
27
+
Example Application
28
+
--------------------
29
+
[`DatastoreExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/DatastoreExample.java) is a simple command line interface for the Cloud Datastore. Read more about using the application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/DatastoreExample.html).
30
+
31
+
Authentication
32
+
--------------
33
+
34
+
See the [Authentication](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) section in the main repository's README.
35
+
36
+
About Google Cloud Datastore
37
+
----------------------------
38
+
27
39
Google [Cloud Datastore][cloud-datastore] is a fully managed, schemaless database for
28
40
storing non-relational data. Cloud Datastore automatically scales with
29
41
your users and supports ACID transactions, high availability of reads and
@@ -36,6 +48,8 @@ Cloud Datastore for your project.
36
48
See the ``gcloud-java`` API [datastore documentation][datastore-api] to learn how to interact
37
49
with the Cloud Datastore using this Client Library.
38
50
51
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) if running this snippet elsewhere.
> Note: This client is a work-in-progress, and may occasionally
14
14
> make backwards-incompatible changes.
@@ -24,8 +24,18 @@ Add this to your pom.xml file
24
24
</dependency>
25
25
```
26
26
27
-
Google Cloud Storage
28
-
----------------------
27
+
Example Application
28
+
-------------------
29
+
30
+
[`StorageExample`](https://github.com/GoogleCloudPlatform/gcloud-java/blob/master/gcloud-java-examples/src/main/java/com/google/gcloud/examples/StorageExample.java) is a simple command line interface that provides some of Cloud Storage's functionality. Read more about using the application on the [`gcloud-java-examples` docs page](http://googlecloudplatform.github.io/gcloud-java/apidocs/?com/google/gcloud/examples/StorageExample.html).
31
+
32
+
Authentication
33
+
--------------
34
+
35
+
See the [Authentication](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) section in the main repository's README.
36
+
37
+
About Google Cloud Storage
38
+
--------------------------
29
39
30
40
[Google Cloud Storage][cloud-storage] is a durable and highly available
31
41
object storage service. Google Cloud Storage is almost infinitely scalable
@@ -38,6 +48,8 @@ Cloud Storage for your project.
38
48
See the ``gcloud-java`` API [storage documentation][storage-api] to learn how to interact
39
49
with the Cloud Storage using this Client Library.
40
50
51
+
Here is a code snippet showing a simple usage example from within Compute/App Engine. Note that you must [supply credentials](https://github.com/GoogleCloudPlatform/gcloud-java#authentication) if running this snippet elsewhere.
0 commit comments