GCSHelper

public class GCSHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.util.GCSHelper


Summary

Public constructors

GCSHelper()

Public methods

static Storage getStorage(Collection<String> scopes, File keyFile)

Get Storage object for the remote GCS bucket with credential based on TF options.

Public constructors

GCSHelper

public GCSHelper ()

Public methods

getStorage

public static Storage getStorage (Collection<String> scopes, 
                File keyFile)

Get Storage object for the remote GCS bucket with credential based on TF options.

Parameters
scopes Collection: specific scopes to request credential for.

keyFile File

Returns
Storage Storage object of the GCS bucket

Throws
java.io.IOException
IOException