title: Why the NextPageToken in Google's StorageClient is always null?
body: <p>I'm trying to list all items under a path for a determined bucket using Google Cloud Storage APIs. Under this path, there are more than 1000 items - which is the maximum number of items that <code>ListObjects / ListObjectsAsync</code> return.</p>
  
  <p>In order to be able to repeat the call and get the next 1000 items, I need the NextPageToken from the previous response, that's how result pagination gets done! It's easy and reasonable.</p>
  
  <p>However, <strong>I never get a NextPageToken within the responses</strong>. Am I missing something? This is my code so far. Some key points:</p>
  
  <ol>
  <li>Althought there are more than +1000 items sharing the same prefix, I only get one response while looping through them in the enumerator.</li>
  <li>The NextPageToken in the <code>Console.WriteLine</code> statement is always null.</li>
  <li>Repeating the same call returns the same first 1000 objects over and over.</li>
  </ol>
  
  <pre class="lang-cs prettyprint-override"><code>async IAsyncEnumerable&lt;string&gt; ListObjectsAsync(
      string prefix, [EnumeratorCancellation] CancellationToken cancelToken)
  {
      var listObjectsOptions = new ListObjectsOptions
      {
          Fields = "items(name)"
      };
  
      var rawResponses = mGoogleClient.ListObjectsAsync(
          mBucketName,
          prefix,
          listObjectsOptions).AsRawResponses();
  
      using (var enumerator = rawResponses.GetEnumerator())
      {
          while (await enumerator.MoveNext(cancelToken))
          {
              foreach (var googleObject in enumerator.Current.Items)
                  yield return googleObject.Name;
          }
  
          Console.WriteLine(enumerator.Current.NextPageToken);
      }
  }
  </code></pre>
  
  <p>Thank you.</p>