Q:

What is the TIME Data Type in Google Analytics?

With Google Analytics API I am getting the value of ga:avgSessionDuration.
The result is this value: 118.72727272727273
But when I go on the Google Analytics interface I get: 00:01:59
I look at the documentation and it says that ga:avgSessionDuration result value is Data Type TIME... 
What does that mean? I just cannot find more detail about TIME Data Type.
How do I get 118.72727272 to 00:01:59?

A:

That looks like seconds to me. 118.72 seconds equals 00:01:59.
Update: and now that I'm looking at the link you referred to in your question, it specifically says "seconds".

The average duration of user sessions represented in total seconds.

https://developers.google.com/analytics/devguides/reporting/core/dimsmets#view=detail&group=session&jump=ga_avgsessionduration

