public sealed class SwitchRuntimeRequest : IMessage<SwitchRuntimeRequest>, IEquatable<SwitchRuntimeRequest>, IDeepCloneable<SwitchRuntimeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class SwitchRuntimeRequest.
[[["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-09-09 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eSwitchRuntimeRequest\u003c/code\u003e class is 2.5.0, found within the \u003ccode\u003eGoogle.Cloud.Notebooks.V1\u003c/code\u003e namespace and the \u003ccode\u003eGoogle.Cloud.Notebooks.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSwitchRuntimeRequest\u003c/code\u003e is a class used for requesting the switching of a Managed Notebook Runtime in the AI Platform Notebooks v1 API, implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e and \u003ccode\u003eIEquatable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides constructors for creating new instances and cloning existing \u003ccode\u003eSwitchRuntimeRequest\u003c/code\u003e objects, as well as setting properties such as \u003ccode\u003eAcceleratorConfig\u003c/code\u003e, \u003ccode\u003eMachineType\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eName\u003c/code\u003e property in the \u003ccode\u003eSwitchRuntimeRequest\u003c/code\u003e class is required and must follow the format: \u003ccode\u003eprojects/{project_id}/locations/{location}/runtimes/{runtime_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSwitchRuntimeRequest\u003c/code\u003e class supports methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, inherited from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# AI Platform Notebooks v1 API - Class SwitchRuntimeRequest (2.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.4.0/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.3.0/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.2.0/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.1.0/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.0.0/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/1.0.0-beta04/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest) \n\n public sealed class SwitchRuntimeRequest : IMessage\u003cSwitchRuntimeRequest\u003e, IEquatable\u003cSwitchRuntimeRequest\u003e, IDeepCloneable\u003cSwitchRuntimeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AI Platform Notebooks v1 API class SwitchRuntimeRequest.\n\nRequest for switching a Managed Notebook Runtime. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SwitchRuntimeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SwitchRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SwitchRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SwitchRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SwitchRuntimeRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Notebooks.V1](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Notebooks.V1.dll\n\nConstructors\n------------\n\n### SwitchRuntimeRequest()\n\n public SwitchRuntimeRequest()\n\n### SwitchRuntimeRequest(SwitchRuntimeRequest)\n\n public SwitchRuntimeRequest(SwitchRuntimeRequest other)\n\nProperties\n----------\n\n### AcceleratorConfig\n\n public RuntimeAcceleratorConfig AcceleratorConfig { get; set; }\n\naccelerator config.\n\n### MachineType\n\n public string MachineType { get; set; }\n\nmachine type.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Format:\n`projects/{project_id}/locations/{location}/runtimes/{runtime_id}`\n\n### RequestId\n\n public string RequestId { get; set; }\n\nIdempotent request UUID."]]