diff --git a/datastore-v1-proto-client/clirr-ignored-differences.xml b/datastore-v1-proto-client/clirr-ignored-differences.xml
index e8c0b27f4..7df1765da 100644
--- a/datastore-v1-proto-client/clirr-ignored-differences.xml
+++ b/datastore-v1-proto-client/clirr-ignored-differences.xml
@@ -6,4 +6,15 @@
{@code
- * CommitRequest.newBuilder()
- * .setDatabaseId("my-database-id")
- * ....
- * .build();
- * }
- */
- @BetaApi
- @Deprecated
- public Builder databaseId(String databaseId) {
- this.databaseId = databaseId;
- return this;
- }
-
/**
* Sets the host used to access Cloud Datastore. To connect to the Cloud Datastore Emulator, use
* {@link #localHost} instead.
@@ -203,23 +178,6 @@ public String getProjectId() {
return projectId;
}
- /**
- * This field is ignored and will be removed in a future release. Please set the database id on
- * the request itself. For example:
- *
- * {@code
- * CommitRequest.newBuilder()
- * .setDatabaseId("my-database-id")
- * ....
- * .build();
- * }
- */
- @BetaApi
- @Deprecated
- public String getDatabaseId() {
- return databaseId;
- }
-
public String getProjectEndpoint() {
return projectEndpoint;
}
diff --git a/datastore-v1-proto-client/src/test/java/com/google/datastore/v1/client/DatastoreClientTest.java b/datastore-v1-proto-client/src/test/java/com/google/datastore/v1/client/DatastoreClientTest.java
index 3fd82ddca..16a6303bb 100644
--- a/datastore-v1-proto-client/src/test/java/com/google/datastore/v1/client/DatastoreClientTest.java
+++ b/datastore-v1-proto-client/src/test/java/com/google/datastore/v1/client/DatastoreClientTest.java
@@ -215,19 +215,6 @@ public void create_LocalHost() {
.isEqualTo("http://localhost:8080/v1/projects/project-id");
}
- @Test
- // TODO: remove this test once deprecated `databaseId` is removed
- public void setDatabaseId() {
- DatastoreOptions options =
- new DatastoreOptions.Builder()
- .projectId(PROJECT_ID)
- .databaseId("test-db")
- .localHost("localhost:8080")
- .build();
- assertThat(options.getProjectId()).isEqualTo(PROJECT_ID);
- assertThat(options.getDatabaseId()).isEqualTo("test-db");
- }
-
@Test
public void create_LocalHostIp() {
Datastore datastore =