GCS通用
public abstract class GCSCommon
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.GCSCommon |
下载和上传等 Gcs 操作的基类。 GCSFileDownloader
和GCSFileUploader
。
概括
常量 | |
---|---|
int | DEFAULT_TIMEOUT
|
公共构造函数 | |
---|---|
GCSCommon (File jsonKeyFile) | |
GCSCommon () |
受保护的方法 | |
---|---|
Storage | getStorage ( scopes) getStorage ( scopes) |
常量
默认超时
protected static final int DEFAULT_TIMEOUT
常数值:600000 (0x000927c0)
公共构造函数
GCS通用
public GCSCommon (File jsonKeyFile)
参数 | |
---|---|
jsonKeyFile | File |
GCS通用
public GCSCommon ()
受保护的方法
获取存储空间
protected Storage getStorage (scopes)
参数 | |
---|---|
scopes |
退货 | |
---|---|
Storage |