Check out example codes for "upload to shared folder google drive cli linu". It will help you in understanding the concepts better.
Code Example 1
-p, --parent <parent> Parent id, used to upload file to a specific directory, can be specified multiple times to give many parents
Learn ReactJs, React Native from akashmittal.com