public sealed class UpgradeInstanceRequest : IMessage<UpgradeInstanceRequest>, IEquatable<UpgradeInstanceRequest>, IDeepCloneable<UpgradeInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class UpgradeInstanceRequest.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpgradeInstanceRequest\u003c/code\u003e class is part of the Notebooks v2 API and is used to request an upgrade for a notebook instance.\u003c/p\u003e\n"],["\u003cp\u003eIt is the latest version 1.2.0 and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class while implementing several interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpgradeInstanceRequest\u003c/code\u003e class has two constructors, a default constructor and a constructor that takes another \u003ccode\u003eUpgradeInstanceRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has one property, \u003ccode\u003eName\u003c/code\u003e, which is a string representing the unique identifier of the notebook instance, following the format: \u003ccode\u003eprojects/{project_id}/locations/{location}/instances/{instance_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Notebooks v2 API - Class UpgradeInstanceRequest (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest) \n\n public sealed class UpgradeInstanceRequest : IMessage\u003cUpgradeInstanceRequest\u003e, IEquatable\u003cUpgradeInstanceRequest\u003e, IDeepCloneable\u003cUpgradeInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Notebooks v2 API class UpgradeInstanceRequest.\n\nRequest for upgrading a notebook instance \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpgradeInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.UpgradeInstanceRequest), [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.V2](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Notebooks.V2.dll\n\nConstructors\n------------\n\n### UpgradeInstanceRequest()\n\n public UpgradeInstanceRequest()\n\n### UpgradeInstanceRequest(UpgradeInstanceRequest)\n\n public UpgradeInstanceRequest(UpgradeInstanceRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Format:\n`projects/{project_id}/locations/{location}/instances/{instance_id}`"]]