GCSHelper

public class GCSHelper
extends Object

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


摘要

公用建構函式

GCSHelper()

公用方法

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

根據 TF 選項,取得遠端 GCS bucket 的 Storage 物件,並使用憑證。

公用建構函式

GCSHelper

public GCSHelper ()

公用方法

getStorage

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

根據 TF 選項,取得遠端 GCS bucket 的 Storage 物件 (附帶憑證)。

參數
scopes Collection:要求憑證的特定範圍。

keyFile File

傳回
Storage GCS bucket 的 Storage 物件

擲回
java.io.IOException
IOException