GCSApi (Cloud Storage APIs)
getTrilloGCSBucket
Get the cloud storage bucket name being used by the workbench.
GCSApi.getTrilloGCSBucket()parameters:
noneReturn:
the name of the bucket as StringgetTrilloGCSBucketURI
same as above but returns a URI of storage bucket.
GCSApi.getTrilloGCSBucketURI()parameters:
noneReturn:
uri of the bucket as StringgetGCSFileURI
Get the file URI path from the cloud storage bucket.
GCSApi.getGCSFileURI(String pathToFile)
or
BigQueryApi.getGCSFileURI(String path, String fileName)parameters:
pathToFile: path to the file
path: same as above
fileName: name of the fileReturn:
uri of bucket file path as StringgetLocalPath
Cloud storage bucket is mapped locally by the workbench so its path is available.
GCSApi.getLocalPath (String bucketPath)parameters:
bucket name and pathReturn:
the locally mapped path name as StringgetGCSPath
Get cloud storage bucket path from the app Data path provided.
GCSApi.getGCSPath(String appDataPath)parameters:
appDataPathReturn:
the path as StringgetGCSTempPath
Get the temporary path on the cloud storage bucket being used by the workbench
GCSApi.getGCSTempPath()parameters:
noneReturn:
temporary pathgetDefaultRootFolder
Get the default root path on the storage bucket.
GCSApi.getDefaultRootFolder()parameters:
noneReturn:
the root pathLast updated
Was this helpful?