In a unit test process, the first call to this method sets the value of
_use_datastore_emulator and _api_port. Subsequent calls to this method
can read _use_datastore_emulator.
Returns
A boolean that indicates whether cloud datastore should be used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-09-30 UTC."],[[["This is a static class that determines if the datastore emulator should be used."],["The `check` method establishes whether cloud datastore should be utilized, setting internal values on the first call and allowing subsequent reads."],["`get_api_port` and `get_emulator_port` methods respectively return the port numbers for the api_server and datastore emulator."],["The `init` method initializes the class by allowing to set an api_port and emulator_port."]]],[]]