GCSCommon

public abstract class GCSCommon
extends Object

java.lang.Object
com.android.tradefed.util.gcs.GCSCommon


Base class for Gcs operation like download and upload.

Summary

Constants

int DEFAULT_TIMEOUT

Fields

protected File mJsonKeyFile

protected Storage mStorage

Public constructors

GCSCommon()

Protected methods

Storage getStorage(Collection<String> scopes)
void setJsonKeyFile(File jsonKeyFile)

Constants

DEFAULT_TIMEOUT

public static final int DEFAULT_TIMEOUT

Constant Value: 600000 (0x000927c0)

Fields

mJsonKeyFile

protected File mJsonKeyFile

mStorage

protected Storage mStorage

Public constructors

GCSCommon

public GCSCommon ()

Protected methods

getStorage

protected Storage getStorage (Collection<String> scopes)

Parameters
scopes Collection

Returns
Storage

Throws
IOException

setJsonKeyFile

protected void setJsonKeyFile (File jsonKeyFile)

Parameters
jsonKeyFile File