Google Drive API-Drive.Files类没有insert()方法 [英] Google Drive API - Drive.Files class has no insert () method

查看:81
本文介绍了Google Drive API-Drive.Files类没有insert()方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在项目中添加了3个依赖项

I added 3 dependencies to the project

compile 'com.google.api-client:google-api-client:1.22.0'
compile 'com.google.oauth-client:google-oauth-client-jetty:1.22.0'
compile 'com.google.apis:google-api-services-drive:v3-rev59-1.22.0'

但是, Drive.Files 类没有 insert()方法 https://zapodaj.net/4e6df99cee1bf.png.html

为什么?

推荐答案

在v3中,适当的方法是create(),而不是insert()

In v3 the appropriate method is create(), not insert()

这篇关于Google Drive API-Drive.Files类没有insert()方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆