Class DatastoreEmulatorFactory (2.23.0)

public class DatastoreEmulatorFactory extends DatastoreFactory

Factory for DatastoreEmulator.

Inheritance

java.lang.Object > DatastoreFactory > DatastoreEmulatorFactory

Static Methods

get()

public static DatastoreEmulatorFactory get()
Returns
Type Description
DatastoreEmulatorFactory

Methods

create(DatastoreOptions options)

public DatastoreEmulator create(DatastoreOptions options)

Provides access to a datastore using the provided options. Logs into the application using the credentials available via these options.

Parameter
Name Description
options DatastoreOptions
Returns
Type Description
DatastoreEmulator
Overrides
Exceptions
Type Description
IllegalArgumentException

create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)

public DatastoreEmulator create(DatastoreOptions options, DatastoreEmulatorOptions localDevelopmentOptions)
Parameters
Name Description
options DatastoreOptions
localDevelopmentOptions DatastoreEmulatorOptions
Returns
Type Description
DatastoreEmulator