public sealed class UpdateRuntimeRequest : IMessage<UpdateRuntimeRequest>, IEquatable<UpdateRuntimeRequest>, IDeepCloneable<UpdateRuntimeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class UpdateRuntimeRequest.
Request for updating a Managed Notebook configuration.
Required. Specifies the path, relative to Runtime, of
the field to update. For example, to change the software configuration
kernels, the update_mask parameter would be
specified as software_config.kernels,
and the PATCH request body would specify the new value, as follows:
[[["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 \u003ccode\u003eUpdateRuntimeRequest\u003c/code\u003e class is used to update a Managed Notebook configuration within the AI Platform Notebooks v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, facilitating its role in handling message operations and data integrity.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateRuntimeRequest\u003c/code\u003e class contains properties like \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eRuntime\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e that specify the details needed to perform the update.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property is used to define which specific fields within the runtime configuration should be updated, with certain fields being modifiable, such as kernels, post-startup scripts, and idle shutdown settings.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eUpdateRuntimeRequest\u003c/code\u003e is 2.5.0, and it has version history going back to 1.0.0-beta04.\u003c/p\u003e\n"]]],[],null,["# AI Platform Notebooks v1 API - Class UpdateRuntimeRequest (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.UpdateRuntimeRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.4.0/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.3.0/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.2.0/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.1.0/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.0.0/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/1.0.0-beta04/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest) \n\n public sealed class UpdateRuntimeRequest : IMessage\u003cUpdateRuntimeRequest\u003e, IEquatable\u003cUpdateRuntimeRequest\u003e, IDeepCloneable\u003cUpdateRuntimeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AI Platform Notebooks v1 API class UpdateRuntimeRequest.\n\nRequest for updating a Managed Notebook configuration. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateRuntimeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateRuntimeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.UpdateRuntimeRequest), [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### UpdateRuntimeRequest()\n\n public UpdateRuntimeRequest()\n\n### UpdateRuntimeRequest(UpdateRuntimeRequest)\n\n public UpdateRuntimeRequest(UpdateRuntimeRequest other)\n\nProperties\n----------\n\n### RequestId\n\n public string RequestId { get; set; }\n\nIdempotent request UUID.\n\n### Runtime\n\n public Runtime Runtime { get; set; }\n\nRequired. The Runtime to be updated.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Specifies the path, relative to `Runtime`, of\nthe field to update. For example, to change the software configuration\nkernels, the `update_mask` parameter would be\nspecified as `software_config.kernels`,\nand the `PATCH` request body would specify the new value, as follows: \n\n {\n \"software_config\":{\n \"kernels\": [{\n 'repository':\n 'gcr.io/deeplearning-platform-release/pytorch-gpu', 'tag':\n 'latest' }],\n }\n }\n\nCurrently, only the following fields can be updated:\n\n- `software_config.kernels`\n- `software_config.post_startup_script`\n- `software_config.custom_gpu_driver_path`\n- `software_config.idle_shutdown`\n- `software_config.idle_shutdown_timeout`\n- `software_config.disable_terminal`"]]