namespace py pangramia.yt.tokens_ops namespace java com.pangramia.yt.tokens_ops include "../data/common.thrift" include "../data/exceptions.thrift" include "base_service.thrift" service YTTokenOpService extends base_service.BaseService { common.JobTokenData getOrRefreshTokenWithReport ( 1: string accountId, 2: string oldUrl, 3: common.JobState status, 4: optional string details, 5: optional string jobId, 6: optional common.TokenUpdateMode updateType = common.TokenUpdateMode.AUTO, 7: optional string url ) throws (1: exceptions.PBServiceException serviceExp, 2: exceptions.PBUserException userExp) common.JobTokenData getOrRefreshToken ( 1: string accountId, 2: optional common.TokenUpdateMode updateType = common.TokenUpdateMode.AUTO, 3: optional string url ) throws (1: exceptions.PBServiceException serviceExp, 2: exceptions.PBUserException userExp) common.JobTokenData getLatestToken (1: string accountId) throws (1: exceptions.PBServiceException serviceExp, 2: exceptions.PBUserException userExp), common.JobTokenData refreshToken ( 1: string accountId, 2: optional common.TokenUpdateMode updateType = common.TokenUpdateMode.AUTO, 3: optional string url ) throws (1: exceptions.PBServiceException serviceExp, 2: exceptions.PBUserException userExp) bool reportState( 1: string url, 2: common.JobState status, 3: optional string details, 4: optional string jobId) throws (1: exceptions.PBServiceException serviceExp, 2: exceptions.PBUserException userExp) }