private function fullName($projectId, $database, $relativeName = null)
    {
        return $relativeName !== null
            ? FirestoreGapicClient::documentPathName($projectId, $database, $relativeName)
            : FirestoreGapicClient::documentRootName($projectId, $database);
    }