Colab API . runtimespecs

Instance Methods

close()

Close httplib2 connections.

list(x__xgafv=None)

Lists available Colab runtime specs and their eligibility to the requesting user.

Method Details

close()
Close httplib2 connections.
list(x__xgafv=None)
Lists available Colab runtime specs and their eligibility to the requesting user.

Args:
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for `ListRuntimeSpecs`.
  "runtimeSpecs": [ # The list of runtime specs available to the requesting user.
    { # A specification of a runtime.
      "eligible": True or False, # Output only. Whether the requesting user is eligible for the runtime spec.
      "key": { # Key fields that uniquely identify a runtime spec. # Required. The key of the runtime spec.
        "accelerator": "A String", # Required. Runtime accelerator model name (e.g., "T4", "L4", "A100"). For CPU runtime specs, this field will be "NONE".
        "shape": "A String", # Required. Runtime shape.
        "variant": "A String", # Required. Runtime variant.
      },
    },
  ],
}