Class ProjectsResource.RegionsResource.ClustersResource.StopRequest
Stops a cluster in a project.
Inheritance
ProjectsResource.RegionsResource.ClustersResource.StopRequest
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.RegionsResource.ClustersResource.StopRequest : DataprocBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
StopRequest(IClientService, StopClusterRequest, string, string, string)
Constructs a new Stop request.
Declaration
public StopRequest(IClientService service, StopClusterRequest body, string projectId, string region, string clusterName)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
StopClusterRequest | body | |
string | projectId | |
string | region | |
string | clusterName |
Properties
ClusterName
Required. The cluster name.
Declaration
[RequestParameter("clusterName", RequestParameterType.Path)]
public virtual string ClusterName { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProjectId
Required. The ID of the Google Cloud Platform project the cluster belongs to.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
Region
Required. The Dataproc region in which to handle the request.
Declaration
[RequestParameter("region", RequestParameterType.Path)]
public virtual string Region { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Stop parameter list.
Declaration
protected override void InitParameters()