Skip to content

Commit 3a09f72

Browse files
committed
Add create function for gRPC
1 parent 8290c23 commit 3a09f72

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

google-cloud-datastore/src/test/java/com/google/cloud/datastore/testing/RemoteDatastoreHelper.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ public static RemoteDatastoreHelper create(String databaseId, @Nullable OpenTele
9494
return create(databaseId, DatastoreOptions.getDefaultHttpTransportOptions(), openTelemetrySdk);
9595
}
9696

97+
public static RemoteDatastoreHelper create(String databaseId, TransportOptions transportOptions) {
98+
return create(databaseId, transportOptions, /*openTelemetrySdk=*/ null);
99+
}
100+
97101
/** Creates a {@code RemoteStorageHelper} object. */
98102
public static RemoteDatastoreHelper create(
99103
String databaseId, TransportOptions transportOptions, @Nullable OpenTelemetrySdk openTelemetrySdk) {

0 commit comments

Comments
 (0)