public sealed class SetInstanceMachineTypeRequest : IMessage<SetInstanceMachineTypeRequest>, IEquatable<SetInstanceMachineTypeRequest>, IDeepCloneable<SetInstanceMachineTypeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class SetInstanceMachineTypeRequest.
[[["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 latest version of the \u003ccode\u003eSetInstanceMachineTypeRequest\u003c/code\u003e class is 2.5.0, which is part of the AI Platform Notebooks v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to define requests for modifying the machine type of an AI Platform Notebooks instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetInstanceMachineTypeRequest\u003c/code\u003e class implements several 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 has two key properties: \u003ccode\u003eMachineType\u003c/code\u003e, which specifies the desired Compute Engine machine type, and \u003ccode\u003eName\u003c/code\u003e, which indicates the project, location, and instance ID.\u003c/p\u003e\n"],["\u003cp\u003eThis class is located in the \u003ccode\u003eGoogle.Cloud.Notebooks.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Notebooks.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# AI Platform Notebooks v1 API - Class SetInstanceMachineTypeRequest (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.SetInstanceMachineTypeRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.4.0/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.3.0/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.2.0/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.1.0/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/2.0.0/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest)\n- [1.0.0-beta04](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/1.0.0-beta04/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest) \n\n public sealed class SetInstanceMachineTypeRequest : IMessage\u003cSetInstanceMachineTypeRequest\u003e, IEquatable\u003cSetInstanceMachineTypeRequest\u003e, IDeepCloneable\u003cSetInstanceMachineTypeRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AI Platform Notebooks v1 API class SetInstanceMachineTypeRequest.\n\nRequest for setting instance machine type. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SetInstanceMachineTypeRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SetInstanceMachineTypeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SetInstanceMachineTypeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SetInstanceMachineTypeRequest](/dotnet/docs/reference/Google.Cloud.Notebooks.V1/latest/Google.Cloud.Notebooks.V1.SetInstanceMachineTypeRequest), [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### SetInstanceMachineTypeRequest()\n\n public SetInstanceMachineTypeRequest()\n\n### SetInstanceMachineTypeRequest(SetInstanceMachineTypeRequest)\n\n public SetInstanceMachineTypeRequest(SetInstanceMachineTypeRequest other)\n\nProperties\n----------\n\n### MachineType\n\n public string MachineType { get; set; }\n\nRequired. The [Compute Engine machine\ntype](https://cloud.google.com/compute/docs/machine-types).\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Format:\n`projects/{project_id}/locations/{location}/instances/{instance_id}`"]]