Optional app whose InstanceId service to
return. If not provided, the default InstanceId service will be
returned.
The default InstanceId service if
no app is provided or the InstanceId service associated with the
provided app.
Generated using TypeDoc
Gets the
InstanceIdservice for the default app or a given app.admin.instanceId()can be called with no arguments to access the default app'sInstanceIdservice or asadmin.instanceId(app)to access theInstanceIdservice associated with a specific app.// Get the Instance ID service for the default app var defaultInstanceId = admin.instanceId();// Get the Instance ID service for a given app var otherInstanceId = admin.instanceId(otherApp);