Trillo Workbench Java SDK
  • Introduction
    • Sample Example
  • BaseApi (Basic APIs)
  • LogApi (Logging APIs)
  • DSApi (Database APIs)
    • Overview
    • Retrieve APIs
    • Create and Update API
    • Delete APIs
    • Empty Table
    • Sample Functions Using API
  • FuncApi (Function APIs)
  • TaskApi (Task APIs)
  • CacheApi (Memory Cache APIs)
    • Delete APIs
    • Create and Update API
    • Retrieve APIs
  • StorageApi
  • CallLogger (Logging Level APIs)
  • CommandApi
  • OAuth1Api
  • Google Cloud APIs
    • BigQueryApi (BigQuery APIs)
    • GCSApi (Cloud Storage APIs)
    • GCPAuthApi
    • GCPRestApi
    • GCPTokenInfo
  • Metadata API (MetaApi)
    • Create and Update API
    • All Retrieve-Only
  • UMApi (User, Tenant, Roles APIs)
  • HttpApi (HTTP APIs)
  • SFTPApi
  • FileUtil
  • CSVApi
  • EmailApi (Email APIs)
Powered by GitBook
On this page
  • getTrilloGCSBucket
  • getTrilloGCSBucketURI
  • getGCSFileURI
  • getLocalPath
  • getGCSPath
  • getGCSTempPath
  • getDefaultRootFolder

Was this helpful?

  1. Google Cloud APIs

GCSApi (Cloud Storage APIs)

getTrilloGCSBucket

Get the cloud storage bucket name being used by the workbench.

GCSApi.getTrilloGCSBucket()

parameters:

none​

Return:

the name of the bucket​ as String

getTrilloGCSBucketURI

same as above but returns a URI of storage bucket.​

GCSApi.getTrilloGCSBucketURI()

parameters:

none​

Return:

uri of the bucket​ as String

getGCSFileURI

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 file

Return:

uri of bucket file path​ as String

getLocalPath

Cloud storage bucket is mapped locally by the workbench​ so its path is available.

GCSApi.getLocalPath (String bucketPath)

parameters:

bucket name and path

Return:

the locally mapped path name  as String

getGCSPath

Get cloud storage bucket path from the app Data path provided.​

GCSApi.getGCSPath(String appDataPath)

parameters:

appDataPath

Return:

the path​ as String

getGCSTempPath

Get the temporary path on the cloud storage bucket being used by the workbench

GCSApi.getGCSTempPath()

parameters:

none​

Return:

temporary path​

getDefaultRootFolder

Get the default root path on the storage bucket.

GCSApi.getDefaultRootFolder()

parameters:

none​

Return:

the root path​

Last updated 1 year ago

Was this helpful?