projects

GET /v2/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}

Changed on

Gets details of a single Instance.

Request

  • Base URL
    https://notebooks.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/notebooks
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/notebooks
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/notebooks.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/notebooks.readonly

Path parameters

projectsId, string required
locationsId, string required
instancesId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Response

Successful response

Instance required

The definition of a notebook instance.

createTime, string google-datetime

Output only. Instance creation time.

creator, string

Output only. Email address of entity that sent original CreateInstance request.

disableProxyAccess, boolean

Optional. If true, the notebook instance will not register with the proxy.

enableDeletionProtection, boolean

Optional. If true, deletion protection will be enabled for this Workbench Instance. If false, deletion protection will be disabled for this Workbench Instance.

enableManagedEuc, boolean

Optional. Flag to enable managed end user credentials for the instance.

enableThirdPartyIdentity, boolean

Optional. Flag that specifies that a notebook can be accessed with third party identity provider.

gceSetup, GceSetup

The definition of how to configure a VM instance outside of Resources and Identity.

healthInfo, object

Output only. Additional information about instance health. Example: healthInfo": { "docker_proxy_agent_status": "1", "docker_status": "1", "jupyterlab_api_status": "-1", "jupyterlab_status": "-1", "updated": "2020-10-18 09:40:03.573409" }

healthState, 'HEALTH_STATE_UNSPECIFIED' | 'HEALTHY' | 'UNHEALTHY' | 'AGENT_NOT_INSTALLED' | 'AGENT_NOT_RUNNING'

Output only. Instance health_state.

id, string

Output only. Unique ID of the resource.

instanceOwners, string[]

Optional. The owner of this instance after creation. Format: alias@example.com Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.

labels, object

Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.

name, string

Output only. Identifier. The name of this notebook instance. Format: projects/{project_id}/locations/{location}/instances/{instance_id}

proxyUri, string

Output only. The proxy endpoint that is used to access the Jupyter notebook.

satisfiesPzi, boolean

Output only. Reserved for future use for Zone Isolation.

satisfiesPzs, boolean

Output only. Reserved for future use for Zone Separation.

state, 'STATE_UNSPECIFIED' | 'STARTING' | 'PROVISIONING' | 'ACTIVE' | 'STOPPING' | 'STOPPED' | 'DELETED' | 'UPGRADING' | 'INITIALIZING' | 'SUSPENDING' | 'SUSPENDED' | 'ORPHANED'

Output only. The state of this instance.

thirdPartyProxyUrl, string

Output only. The workforce pools proxy endpoint that is used to access the Jupyter notebook.

updateTime, string google-datetime

Output only. Instance update time.

upgradeHistory, UpgradeHistoryEntry[]

Output only. The upgrade history of this instance.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/notebooks was removed from the endpoint's security scheme Oauth2

    1 more change in this revision