googleapis / googleapis/google-api-nodejs-client

There seems to be a difference between the drive api sample and the type.

Aperta
#3,224 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
priority: p3 samples type: question
Lingua principale
TypeScript
Stelle
12.2k
Fork
2k
Merge medio
1g 9h
PR unite (30g)
24

Descrizione

https://developers.google.com/drive/api/guides/folder?hl=ja#move_files_between_folders
I tried to add a file to the folder according to this document, but it was parsed as a different type.

https://github.com/googleapis/google-api-nodejs-client/blob/main/src/apis/drive/v3.ts#L6548-L6605
I checked the target type and the “resource" property does not exist in the type, which is correct?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Compare the Google Drive folder guide with the generated Drive v3 type in src/apis/drive/v3.ts around lines 6548-6605, focusing on the missing “resource” property. Check the relevant Drive API definition to determine which representation is authoritative; done means the documentation and TypeScript type agree or the discrepancy is clearly documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
nodejs, typescript
Ambito
api
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.