Skip to content

Commit be02369

Browse files
doc: modify installation instructions for gapic public preview (#1833)
* doc: modify installation instructions for gapic public preview * chore: generate libraries at Tue Apr 29 20:05:06 UTC 2025 --------- Co-authored-by: cloud-java-bot <[email protected]>
1 parent 42188b9 commit be02369

File tree

2 files changed

+4
-54
lines changed

2 files changed

+4
-54
lines changed

.readme-partials.yaml

+2-27
Original file line numberDiff line numberDiff line change
@@ -108,35 +108,10 @@ custom_content: |
108108
109109
gRPC Java Datastore Client User Guide
110110
-------
111-
In this feature launch, the [Java Datastore client](https://github.com/googleapis/java-datastore) now offers gRPC as a transport layer option with experimental support. Using [gRPC connection pooling](https://grpc.io/docs/guides/performance/) enables distributing RPCs over multiple connections which may improve performance.
111+
The [Java Datastore client](https://github.com/googleapis/java-datastore) now offers gRPC as a transport layer option with experimental support. Using [gRPC connection pooling](https://grpc.io/docs/guides/performance/) enables distributing RPCs over multiple connections which may improve performance.
112112
113113
#### Installation Instructions
114-
The client can be built from the `grpc-experimental` branch on GitHub. For private preview, you can also download the artifact with the instructions provided below.
115-
116-
1. Download the datastore private preview package with dependencies:
117-
```
118-
curl -o <path-to-downloaded-jar> https://datastore-sdk-feature-release.web.app/google-cloud-datastore-2.20.0-grpc-experimental-1-SNAPSHOT-jar-with-dependencies.jar
119-
```
120-
2. Run the following commands to install JDK locally:
121-
```
122-
mvn install:install-file -Dfile=<path-to-downloaded-jar> -DgroupId=com.google.cloud -DartifactId=google-cloud-datastore -Dversion=2.20.0-grpc
123-
```
124-
3. Edit your pom.xml to add above package to `<dependencies/>` section:
125-
```xml
126-
<dependency>
127-
<groupId>com.google.cloud</groupId>
128-
<artifactId>google-cloud-datastore</artifactId>
129-
<version>2.20.0-grpc-experimental-1-SNAPSHOT</version>
130-
</dependency>
131-
```
132-
133-
And if you have not yet, add below to `<repositories/>` section:
134-
```xml
135-
<repository>
136-
<id>local-repo</id>
137-
<url>file://${user.home}/.m2/repository</url>
138-
</repository>
139-
```
114+
To use this feature, please upgrade your Java-datastore SDK to version v2.28.0 or a newer release. You can find the latest versions [here](https://github.com/googleapis/java-datastore/releases).
140115
141116
#### How to Use
142117
To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation.

README.md

+2-27
Original file line numberDiff line numberDiff line change
@@ -206,35 +206,10 @@ display on your webpage.
206206

207207
gRPC Java Datastore Client User Guide
208208
-------
209-
In this feature launch, the [Java Datastore client](https://github.com/googleapis/java-datastore) now offers gRPC as a transport layer option with experimental support. Using [gRPC connection pooling](https://grpc.io/docs/guides/performance/) enables distributing RPCs over multiple connections which may improve performance.
209+
The [Java Datastore client](https://github.com/googleapis/java-datastore) now offers gRPC as a transport layer option with experimental support. Using [gRPC connection pooling](https://grpc.io/docs/guides/performance/) enables distributing RPCs over multiple connections which may improve performance.
210210

211211
#### Installation Instructions
212-
The client can be built from the `grpc-experimental` branch on GitHub. For private preview, you can also download the artifact with the instructions provided below.
213-
214-
1. Download the datastore private preview package with dependencies:
215-
```
216-
curl -o <path-to-downloaded-jar> https://datastore-sdk-feature-release.web.app/google-cloud-datastore-2.20.0-grpc-experimental-1-SNAPSHOT-jar-with-dependencies.jar
217-
```
218-
2. Run the following commands to install JDK locally:
219-
```
220-
mvn install:install-file -Dfile=<path-to-downloaded-jar> -DgroupId=com.google.cloud -DartifactId=google-cloud-datastore -Dversion=2.20.0-grpc
221-
```
222-
3. Edit your pom.xml to add above package to `<dependencies/>` section:
223-
```xml
224-
<dependency>
225-
<groupId>com.google.cloud</groupId>
226-
<artifactId>google-cloud-datastore</artifactId>
227-
<version>2.20.0-grpc-experimental-1-SNAPSHOT</version>
228-
</dependency>
229-
```
230-
231-
And if you have not yet, add below to `<repositories/>` section:
232-
```xml
233-
<repository>
234-
<id>local-repo</id>
235-
<url>file://${user.home}/.m2/repository</url>
236-
</repository>
237-
```
212+
To use this feature, please upgrade your Java-datastore SDK to version v2.28.0 or a newer release. You can find the latest versions [here](https://github.com/googleapis/java-datastore/releases).
238213

239214
#### How to Use
240215
To opt-in to the gRPC transport behavior, simply add the below line of code (`setTransportOptions`) to your Datastore client instantiation.

0 commit comments

Comments
 (0)