public sealed class StopClusterRequest : IMessage<StopClusterRequest>, IEquatable<StopClusterRequest>, IDeepCloneable<StopClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class StopClusterRequest.
Optional. A unique ID used to identify the request. If the server
receives two
StopClusterRequests
with the same id, then the second request will be ignored and the
first [google.longrunning.Operation][google.longrunning.Operation] created
and stored in the backend is returned.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eStopClusterRequest\u003c/code\u003e class within the Google Cloud Dataproc v1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStopClusterRequest\u003c/code\u003e class is used to initiate a request to stop a cluster and is part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Dataproc.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and has constructors for creating new instances either empty or from an existing instance.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eStopClusterRequest\u003c/code\u003e include \u003ccode\u003eClusterName\u003c/code\u003e, \u003ccode\u003eClusterUuid\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003eRegion\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, each serving a distinct purpose in specifying the cluster to be stopped and handling the request.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists available versions for this class ranging from the latest 5.17.0 to 3.1.0, allowing developers to view documentation across these versions.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dataproc v1 API - Class StopClusterRequest (5.20.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.20.0 (latest)](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.19.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.19.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.18.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.18.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.17.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.17.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.16.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.16.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.15.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.15.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.14.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.14.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.13.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.13.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.12.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.12.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.11.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.11.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.10.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.10.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.9.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.9.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.8.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.8.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.7.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.7.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.6.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.6.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.5.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.5.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.4.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.3.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.2.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.1.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/5.0.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/4.0.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.4.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.3.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.2.0/Google.Cloud.Dataproc.V1.StopClusterRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/3.1.0/Google.Cloud.Dataproc.V1.StopClusterRequest) \n\n public sealed class StopClusterRequest : IMessage\u003cStopClusterRequest\u003e, IEquatable\u003cStopClusterRequest\u003e, IDeepCloneable\u003cStopClusterRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dataproc v1 API class StopClusterRequest.\n\nA request to stop a cluster. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StopClusterRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StopClusterRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.StopClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StopClusterRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.StopClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StopClusterRequest](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1.StopClusterRequest), [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.Dataproc.V1](/dotnet/docs/reference/Google.Cloud.Dataproc.V1/latest/Google.Cloud.Dataproc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dataproc.V1.dll\n\nConstructors\n------------\n\n### StopClusterRequest()\n\n public StopClusterRequest()\n\n### StopClusterRequest(StopClusterRequest)\n\n public StopClusterRequest(StopClusterRequest other)\n\nProperties\n----------\n\n### ClusterName\n\n public string ClusterName { get; set; }\n\nRequired. The cluster name.\n\n### ClusterUuid\n\n public string ClusterUuid { get; set; }\n\nOptional. Specifying the `cluster_uuid` means the RPC will fail\n(with error NOT_FOUND) if a cluster with the specified UUID does not exist.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nRequired. The ID of the Google Cloud Platform project the\ncluster belongs to.\n\n### Region\n\n public string Region { get; set; }\n\nRequired. The Dataproc region in which to handle the request.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. A unique ID used to identify the request. If the server\nreceives two\n[StopClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s\nwith the same id, then the second request will be ignored and the\nfirst \\[google.longrunning.Operation\\]\\[google.longrunning.Operation\\] created\nand stored in the backend is returned.\n\nRecommendation: Set this value to a\n[UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier).\n\nThe ID must contain only letters (a-z, A-Z), numbers (0-9),\nunderscores (_), and hyphens (-). The maximum length is 40 characters."]]