Reference documentation and code samples for the Google Cloud Notebooks V2 Client class Instance.
The definition of a notebook instance.
Generated from protobuf message google.cloud.notebooks.v2.Instance
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The name of this notebook instance. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
↳ gce_setup
↳ proxy_uri
string
Output only. The proxy endpoint that is used to access the Jupyter notebook.
↳ instance_owners
array
Optional. Input only. 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.
↳ creator
string
Output only. Email address of entity that sent original CreateInstance request.
↳ state
int
Output only. The state of this instance.
↳ upgrade_history
↳ id
string
Output only. Unique ID of the resource.
↳ health_state
int
Output only. Instance health_state.
↳ health_info
array| Google\Protobuf\Internal\MapField
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" }
↳ create_time
↳ update_time
↳ disable_proxy_access
bool
Optional. If true, the notebook instance will not register with the proxy.
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
getName
Output only. The name of this notebook instance. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
string
setName
Output only. The name of this notebook instance. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
var
string
$this
getGceSetup
Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
hasGceSetup
setGceSetup
Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
$this
getProxyUri
Output only. The proxy endpoint that is used to access the Jupyter notebook.
string
setProxyUri
Output only. The proxy endpoint that is used to access the Jupyter notebook.
var
string
$this
getInstanceOwners
Optional. Input only. 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.
setInstanceOwners
Optional. Input only. 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.
var
string[]
$this
getCreator
Output only. Email address of entity that sent original CreateInstance request.
string
setCreator
Output only. Email address of entity that sent original CreateInstance request.
var
string
$this
getState
Output only. The state of this instance.
int
setState
Output only. The state of this instance.
var
int
$this
getUpgradeHistory
Output only. The upgrade history of this instance.
setUpgradeHistory
Output only. The upgrade history of this instance.
$this
getId
Output only. Unique ID of the resource.
string
setId
Output only. Unique ID of the resource.
var
string
$this
getHealthState
Output only. Instance health_state.
int
setHealthState
Output only. Instance health_state.
var
int
$this
getHealthInfo
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" }
setHealthInfo
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" }
$this
getCreateTime
Output only. Instance creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Instance creation time.
$this
getUpdateTime
Output only. Instance update time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Instance update time.
$this
getDisableProxyAccess
Optional. If true, the notebook instance will not register with the proxy.
bool
setDisableProxyAccess
Optional. If true, the notebook instance will not register with the proxy.
var
bool
$this
getLabels
Optional. Labels to apply to this instance.
These can be later modified by the UpdateInstance method.
setLabels
Optional. Labels to apply to this instance.
These can be later modified by the UpdateInstance method.
$this
getInfrastructure
string