Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::Instance.
The definition of a notebook instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Instance creation time.
#creator
def creator() -> ::String
- (::String) — Output only. Email address of entity that sent original CreateInstance request.
#disable_proxy_access
def disable_proxy_access() -> ::Boolean
- (::Boolean) — Optional. If true, the notebook instance will not register with the proxy.
#disable_proxy_access=
def disable_proxy_access=(value) -> ::Boolean
- value (::Boolean) — Optional. If true, the notebook instance will not register with the proxy.
- (::Boolean) — Optional. If true, the notebook instance will not register with the proxy.
#gce_setup
def gce_setup() -> ::Google::Cloud::Notebooks::V2::GceSetup
- (::Google::Cloud::Notebooks::V2::GceSetup) — Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
#gce_setup=
def gce_setup=(value) -> ::Google::Cloud::Notebooks::V2::GceSetup
- value (::Google::Cloud::Notebooks::V2::GceSetup) — Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
- (::Google::Cloud::Notebooks::V2::GceSetup) — Optional. Compute Engine setup for the notebook. Uses notebook-defined fields.
#health_info
def health_info() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) —
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" }
#health_state
def health_state() -> ::Google::Cloud::Notebooks::V2::HealthState
- (::Google::Cloud::Notebooks::V2::HealthState) — Output only. Instance health_state.
#id
def id() -> ::String
- (::String) — Output only. Unique ID of the resource.
#instance_owners
def instance_owners() -> ::Array<::String>
-
(::Array<::String>) — 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.
#instance_owners=
def instance_owners=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
-
(::Array<::String>) — 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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels to apply to this instance. These can be later modified by the UpdateInstance method.
#name
def name() -> ::String
-
(::String) — Output only. The name of this notebook instance. Format:
projects/{project_id}/locations/{location}/instances/{instance_id}
#proxy_uri
def proxy_uri() -> ::String
- (::String) — Output only. The proxy endpoint that is used to access the Jupyter notebook.
#state
def state() -> ::Google::Cloud::Notebooks::V2::State
- (::Google::Cloud::Notebooks::V2::State) — Output only. The state of this instance.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Instance update time.
#upgrade_history
def upgrade_history() -> ::Array<::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry>
- (::Array<::Google::Cloud::Notebooks::V2::UpgradeHistoryEntry>) — Output only. The upgrade history of this instance.