AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::SwitchRuntimeRequest (v1.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::SwitchRuntimeRequest.
Request for switching a Managed Notebook Runtime.
Extended By
-
Google::Protobuf::MessageExts::ClassMethods
Includes
-
Google::Protobuf::MessageExts
Methods
#accelerator_config
def accelerator_config() -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
#accelerator_config=
def accelerator_config=(value) -> ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig
#machine_type
def machine_type() -> ::String
Returns
-
(::String) — machine type.
#machine_type=
def machine_type=(value) -> ::String
Parameter
-
value (::String) — machine type.
Returns
-
(::String) — machine type.
#name
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
Returns
-
(::String) — Required. Format:
projects/{project_id}/locations/{location}/runtimes/{runtime_id}
#request_id
def request_id() -> ::String
Returns
-
(::String) — Idempotent request UUID.
#request_id=
def request_id=(value) -> ::String
Parameter
-
value (::String) — Idempotent request UUID.
Returns
-
(::String) — Idempotent request UUID.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::SwitchRuntimeRequest (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-notebooks-v1/1.0.1/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.11.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.10.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.9.1/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.8.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.8.2/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.7.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.6.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.6.1/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.5.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.4.2/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.3.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.2.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.2.1/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.1.0/Google-Cloud-Notebooks-V1-SwitchRuntimeRequest) \nReference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::SwitchRuntimeRequest.\n\nRequest for switching a Managed Notebook Runtime. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #accelerator_config\n\n def accelerator_config() -\u003e ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig\n\n**Returns**\n\n- ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig](./Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig)) --- accelerator config.\n\n### #accelerator_config=\n\n def accelerator_config=(value) -\u003e ::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig](./Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig)) --- accelerator config. \n**Returns**\n\n- ([::Google::Cloud::Notebooks::V1::RuntimeAcceleratorConfig](./Google-Cloud-Notebooks-V1-RuntimeAcceleratorConfig)) --- accelerator config.\n\n### #machine_type\n\n def machine_type() -\u003e ::String\n\n**Returns**\n\n- (::String) --- machine type.\n\n### #machine_type=\n\n def machine_type=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- machine type. \n**Returns**\n\n- (::String) --- machine type.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}` \n**Returns**\n\n- (::String) --- Required. Format: `projects/{project_id}/locations/{location}/runtimes/{runtime_id}`\n\n### #request_id\n\n def request_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Idempotent request UUID.\n\n### #request_id=\n\n def request_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Idempotent request UUID. \n**Returns**\n\n- (::String) --- Idempotent request UUID."]]