Class ConnectionInfo
Connection info used to authenticate to the runtime.
Implements
Inherited Members
Namespace: Google.Apis.Colab.v1beta.Data
Assembly: Google.Apis.Colab.v1beta.dll
Syntax
public class ConnectionInfo : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
ExpireTimeRaw
Required. Output only. The expiration time of the runtime proxy token.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Token
Required. Output only. The runtime proxy token. This is a short-lived credential used to authenticate to the
runtime. Clients should set this token as the value of the X-Colab-Runtime-Proxy-Token HTTP header when
connecting to the runtime, and call the GetRuntime API to refresh this token when approaching expire_time.
Declaration
[JsonProperty("token")]
public virtual string Token { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
Required. Output only. The authenticated URL that can be used to connect to the runtime.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |