googleapis / googleapis/google-api-nodejs-client
Incomplete documentation on the Telemetry API
- Dominant language
- TypeScript
- Stars
- 12.2k
- Forks
- 2k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 24
Description
- OS: Windows 10 21H2
- Node.js version: 14.16.0
- npm version: 8.1.2
- `googleapis` version: 105.0.0
#### Steps to reproduce
- There is no documentation for the Telemetry API in official documentation: https://googleapis.dev/nodejs/googleapis/latest/chromemanagement/classes/Chromemanagement.html
- In [repository documentation](https://github.com/googleapis/google-api-nodejs-client/blob/432ce2dccd56b308b5d3ebaaf6233a279d026858/discovery/chromemanagement-v1.json), description of `parent` in `telemetry.devices.list` is :
`Required. Customer id or \"my_customer\" to use the customer associated to the account making the request.`.
But right Customer id to use the customer associated to the account making the request is `\"customer/my_customer\"`
```javascript
const chromemanagement = google.chromemanagement({
version: 'v1',
auth: oAuth2Client
});
const telemetry = await chromemanagement.customers.telemetry.devices.list({
parent: 'my_customer',
readMask: 'name'
}) // Throw error: "The requested URL /v1/my_customer/telemetry/devices was not found on this server."
Contributor guide
Assessment
This issue has not been assessed yet.