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.
A request to stop a cluster.
Implements
IMessageStopClusterRequest, IEquatableStopClusterRequest, IDeepCloneableStopClusterRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dataproc.V1Assembly
Google.Cloud.Dataproc.V1.dll
Constructors
StopClusterRequest()
public StopClusterRequest()
StopClusterRequest(StopClusterRequest)
public StopClusterRequest(StopClusterRequest other)
Parameter | |
---|---|
Name | Description |
other |
StopClusterRequest |
Properties
ClusterName
public string ClusterName { get; set; }
Required. The cluster name.
Property Value | |
---|---|
Type | Description |
string |
ClusterUuid
public string ClusterUuid { get; set; }
Optional. Specifying the cluster_uuid
means the RPC will fail
(with error NOT_FOUND) if a cluster with the specified UUID does not exist.
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
Required. The ID of the Google Cloud Platform project the cluster belongs to.
Property Value | |
---|---|
Type | Description |
string |
Region
public string Region { get; set; }
Required. The Dataproc region in which to handle the request.
Property Value | |
---|---|
Type | Description |
string |
RequestId
public string RequestId { get; set; }
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.
Recommendation: Set this value to a UUID.
The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Property Value | |
---|---|
Type | Description |
string |