Open fider opened 9 months ago
Hi @fider, could you try setting autopaginate: false?
const request = {request, pageSize: 50}
const [resultArray, nextPageRequest, rawResponse] =
await client.samplePaginatedMethod(request, {autoPaginate: false});
From docs, if you want to specify pageSize, you need to do it with autopagination.
Environment details
Steps to reproduce
Steps:
FlexTemplatesServiceClient.launchFlexTemplate
.$ gcloud dataflow jobs list
I can find job on the list with 'STATE' 'Queued'.JobsV1Beta3Client.getJob(jobId)
- I receive job in response withcurrentState=JOB_STATE_QUEUED
.JobsV1Beta3Client.listJobsAsync
andlistJobs
- cannot find queued job in the response withcurrentState=JOB_STATE_QUEUED
. Job can be found on the list after it will change status to other than queued.Code example
Edit:
JobsV1Beta3Client
is configured withfallback: 'rest'
Thanks!