public sealed class StopInstanceRequest : IMessage<StopInstanceRequest>, IEquatable<StopInstanceRequest>, IDeepCloneable<StopInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class StopInstanceRequest.
[[["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\u003eThis documentation covers the \u003ccode\u003eStopInstanceRequest\u003c/code\u003e class, which is part of the Notebooks v2 API in the Google Cloud .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStopInstanceRequest\u003c/code\u003e class is used to request the stopping of a notebook instance, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces, including \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 class is available in three versions: 1.2.0 (latest), 1.1.0, and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStopInstanceRequest\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003eStopInstanceRequest\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eName\u003c/code\u003e property, which is a required string that specifies the full resource name of the notebook instance to be stopped.\u003c/p\u003e\n"]]],[],null,["# Notebooks v2 API - Class StopInstanceRequest (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.StopInstanceRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.StopInstanceRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.StopInstanceRequest) \n\n public sealed class StopInstanceRequest : IMessage\u003cStopInstanceRequest\u003e, IEquatable\u003cStopInstanceRequest\u003e, IDeepCloneable\u003cStopInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Notebooks v2 API class StopInstanceRequest.\n\nRequest for stopping a notebook instance \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StopInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StopInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StopInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StopInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StopInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StopInstanceRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.StopInstanceRequest), [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### StopInstanceRequest()\n\n public StopInstanceRequest()\n\n### StopInstanceRequest(StopInstanceRequest)\n\n public StopInstanceRequest(StopInstanceRequest 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}`"]]