Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

jobs.IListParams.stateFilter has wrong type #1089

@isamert

Description

@isamert

stateFilter accepts an array (and it's documented that way) but the type definition does not account for this, it only expects a single string.

I am specifically talking about this line:

stateFilter?: 'done' | 'pending' | 'running';

Also here is the documentation that says it accepts an array:

* @param {string} [options.stateFilter] Filter for job state. Acceptable

Right now I can workaround this by passing the array with as any.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/nodejs-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions