Show / Hide Table of Contents

Class Runtime

A Colab managed runtime. This is essentially a Jupyter server that runs on Google infrastructure. Clients should use the connection_info provided to connect to the runtime, and leverage the standard Jupyter REST API and/or client library to interact with the runtime.

Inheritance
object
Runtime
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Colab.v1beta.Data
Assembly: Google.Apis.Colab.v1beta.dll
Syntax
public class Runtime : IDirectResponseSchema

Properties

ConnectionInfo

Output only. The connection info used to authenticate to the runtime.

Declaration
[JsonProperty("connectionInfo")]
public virtual ConnectionInfo ConnectionInfo { get; set; }
Property Value
Type Description
ConnectionInfo

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

Identifier. The name of the runtime in the format runtimes/{runtime_id}, where runtime_id is either the value supplied via CreateRuntimeRequest.runtime_id or, if none was supplied, a random ID generated by the backend.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

RuntimeSpec

Required. The specification of the runtime. When calling CreateRuntime, this field should be set to an eligible runtime spec obtained from the ListRuntimeSpecsResponse.

Declaration
[JsonProperty("runtimeSpec")]
public virtual Key RuntimeSpec { get; set; }
Property Value
Type Description
Key

Version

Optional. The version of the runtime image. See Colab Runtime Version FAQ for supported runtime versions. If omitted (empty), the latest runtime image is used.

Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX