Trillo Workbench Python 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)
  • DLPApi
  • DocApi
  • FolderApi
  • GCPGenApi
  • Util
Powered by GitBook
On this page
  • getProjectId
  • setProjectId
  • getTokenValue
  • setTokenValue
  • getExpirationTime
  • setExpirationTime
  • getAuthenticationType
  • setAuthenticationType
  • isError
  • setError
  • getMessage
  • setMessage
  1. Google Cloud APIs

GCPTokenInfo

getProjectId

get project id

GCPTokenInfo.getProjectId()

Parameters

None

Returns

String

setProjectId

set project id

GCPTokenInfo.setProjectId(projectId)

Parameters

projectId (string)

Returns

None

getTokenValue

get token value

GCPTokenInfo.getTokenValue()

Parameters

None

Returns

String

setTokenValue

set token value

GCPTokenInfo.setTokenValue()

Parameters

tokenValue

Returns

String

getExpirationTime

get expiration time

GCPTokenInfo.getExpirationTime()

Parameters

None

Returns

long

setExpirationTime

set expiration time

GCPTokenInfo.setExpirationTime()

Parameters

None

Returns

None

getAuthenticationType

get authentication type

GCPTokenInfo.getAuthenticationType()

Parameters

None

Returns

String

setAuthenticationType

set authentication type

GCPTokenInfo.setAuthenticationType(authenticationType)

Parameters

authenticationType (string)

Returns

None

isError

is error

GCPTokenInfo.isError()

Parameters

None

Returns

boolean

setError

set error

GCPTokenInfo.setError(error)

Parameters

error (bool)

Returns

None

getMessage

get message

GCPTokenInfo.getMessage()

Parameters

None

Returns

String

setMessage

set message

GCPTokenInfo.setMessage(message)

Parameters

message (string)

Returns

None
PreviousGCPRestApiNextMetadata API (MetaApi)

Last updated 1 year ago