internal TargetedSessionPool(SessionPool parent, DatabaseName databaseName, bool acquireSessionsImmediately) : base(parent)
 {
     _databaseName         = GaxPreconditions.CheckNotNull(databaseName, nameof(databaseName));
     _createSessionRequest = new CreateSessionRequest {
         DatabaseAsDatabaseName = databaseName
     };
     if (acquireSessionsImmediately)
     {
         StartAcquisitionTasksIfNecessary();
     }
 }
 partial void Modify_CreateSessionRequest(ref CreateSessionRequest request, ref CallSettings settings) =>
 ApplyResourcePrefixHeaderFromDatabase(ref settings, request.Database);