Here is the equivalent gam command that moves these files that are named the same into the destination shared drive as expected.
steve@gam:~:[demo.cloudbakers.com]$ gam config debug_level 1 user steve update drivefile name "File gdoc in rclone-testing" teamdriveparentid 0AEHUxvVJEu7cUk9PVA
connect: (www.googleapis.com, 443)
send: b'GET /discovery/v1/apis/admin/directory_v1/rest HTTP/1.1\r\nHost: www.googleapis.com\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 /\r\nauthorization: Bearer ya29.a0AfHMDZ2yo\r\naccept-encoding: gzip, deflate\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=UTF-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Date: Fri, 28 Aug 2020 11:00:23 GMT
header: Server: ESF
header: Content-Length: 243589
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
connect: (www.googleapis.com, 443)
send: b'GET /discovery/v1/apis/drive/v3/rest HTTP/1.1\r\nHost: www.googleapis.com\r\nuser-agent: Python-httplib2/0.18.1 (gzip)\r\naccept-encoding: gzip, deflate\r\nif-none-match: "-2NioU2H8y8siEzrBOV_qzRI6kQ/iw5KltrEyyVmddHJpTcj8RnsLIs"\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Fri, 28 Aug 2020 11:05:23 GMT
header: Date: Fri, 28 Aug 2020 11:00:23 GMT
header: Cache-Control: public, max-age=300, must-revalidate, no-transform
header: ETag: "-2NioU2H8y8siEzrBOV_qzRI6kQ/l7m-JIhSvmu0HFIAKZgPpq4u-fg"
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
connect: (oauth2.googleapis.com, 443)
send: b'POST /token HTTP/1.1\r\nHost: oauth2.googleapis.com\r\nContent-Length: 865\r\ncontent-type: application/x-www-form-urlencoded\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 /\r\naccept-encoding: gzip, deflate\r\n\r\n'
send: b'assertion=eyJ0eXqGV9TuHS6AnrRBiHIgLq8IavdKPl-uso_ixsTAfGIVYy_DKAkPUorN4f5WgrSbJmAf7xyr7H37oEwTK8NWk80-TXukKyWdqvXnECz7qx3Sh-Q&grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Ajwt-bearer'
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json; charset=utf-8
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Encoding: gzip
header: Date: Fri, 28 Aug 2020 11:00:23 GMT
header: Server: scaffolding on HTTPServer2
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Transfer-Encoding: chunked
Getting all Drive Files/Folders that match query ('me' in owners and name = 'File gdoc in rclone-testing') for steve@demo.cloudbakers.com
send: b'GET /drive/v3/files?q=%27me%27+in+owners+and+name+%3D+%27File+gdoc+in+rclone-testing%27&fields=nextPageToken%2Cfiles%28id%2CdriveId%29&pageSize=1000&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0AfjX7j8Cqsf_6\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Fri, 28 Aug 2020 11:00:24 GMT
header: Date: Fri, 28 Aug 2020 11:00:24 GMT
header: Cache-Control: private, max-age=0, must-revalidate, no-transform
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
Got 2 Drive Files/Folders that matched query ('me' in owners and name = 'File gdoc in rclone-testing') for steve@demo.cloudbakers.com...
User: steve@demo.cloudbakers.com, Update 2 Drive Files/Folders
send: b'GET /drive/v3/files/0AEHUxvVJEu7cUk9PVA?fields=id%2CmimeType%2CdriveId&supportsAllDrives=true&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0AfgjX7j8Cqsf_6\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Fri, 28 Aug 2020 11:00:24 GMT
header: Date: Fri, 28 Aug 2020 11:00:24 GMT
header: Cache-Control: private, max-age=0, must-revalidate, no-transform
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
send: b'GET /drive/v3/files/1Gv2ycuFg1f7EHtXK9M5z7oYsEp7CGVRha3sNKJ2Q6BU?fields=parents&supportsAllDrives=true&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0AfgjX7j8Cqsf_6\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Fri, 28 Aug 2020 11:00:24 GMT
header: Date: Fri, 28 Aug 2020 11:00:24 GMT
header: Cache-Control: private, max-age=0, must-revalidate, no-transform
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
send: b'PATCH /drive/v3/files/1Gv2ycuFg1f7EHtXK9M5z7oYsEp7CGVRha3sNKJ2Q6BU?enforceSingleParent=false&keepRevisionForever=false&useContentAsIndexableText=false&addParents=0AEHUxvVJEu7cUk9PVA&removeParents=1sjKQZnZjl8rP-bjCV0H69iLxq6j1pAF8&fields=id%2Cname%2CmimeType&supportsAllDrives=true&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-type: application/json\r\ncontent-length: 2\r\nauthorization: Bearer ya29.a0AfjX7j8Cqsf_6\r\n\r\n'
send: b'{}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Date: Fri, 28 Aug 2020 11:00:25 GMT
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
User: steve@demo.cloudbakers.com, Drive File: File gdoc in rclone-testing, Updated (1/2)
send: b'GET /drive/v3/files/169D2JeCbTZi2I4rOJmy1DaHPOTqNl8pk_sancOivw-I?fields=parents&supportsAllDrives=true&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-length: 0\r\nauthorization: Bearer ya29.a0AfgjX7j8Cqsf_6\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
header: Expires: Fri, 28 Aug 2020 11:00:25 GMT
header: Date: Fri, 28 Aug 2020 11:00:25 GMT
header: Cache-Control: private, max-age=0, must-revalidate, no-transform
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
send: b'PATCH /drive/v3/files/169D2JeCbTZi2I4rOJmy1DaHPOTqNl8pk_sancOivw-I?enforceSingleParent=false&keepRevisionForever=false&useContentAsIndexableText=false&addParents=0AEHUxvVJEu7cUk9PVA&removeParents=1sjKQZnZjl8rP-bjCV0H69iLxq6j1pAF8&fields=id%2Cname%2CmimeType&supportsAllDrives=true&prettyPrint=true&alt=json HTTP/1.1\r\nHost: www.googleapis.com\r\naccept: application/json\r\naccept-encoding: gzip, deflate\r\nuser-agent: GAMADV-XTD3 5.08.17 - https://github.com/taers232c/GAMADV-XTD3 / Ross Scroggs <ross.scroggs@gmail.com> / Python 3.8.5 final / Linux-5.3.0-1032-gcp-x86_64-with-glibc2.4 x86_64 / (gzip)\r\nx-goog-api-client: gdcl/1.9.3 gl-python/3.8.5\r\ncontent-type: application/json\r\ncontent-length: 2\r\nauthorization: Bearer ya29.a0AfgjX7j8Cqsf_6\r\n\r\n'
send: b'{}'
reply: 'HTTP/1.1 200 OK\r\n'
header: Cache-Control: no-cache, no-store, max-age=0, must-revalidate
header: Pragma: no-cache
header: Expires: Mon, 01 Jan 1990 00:00:00 GMT
header: Date: Fri, 28 Aug 2020 11:00:26 GMT
header: Vary: Origin
header: Vary: X-Origin
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: X-Content-Type-Options: nosniff
header: X-Frame-Options: SAMEORIGIN
header: Content-Security-Policy: frame-ancestors 'self'
header: X-XSS-Protection: 1; mode=block
header: Server: GSE
header: Transfer-Encoding: chunked
User: steve@demo.cloudbakers.com, Drive File: File gdoc in rclone-testing, Updated (2/2)