Class DeploymentsResource.StopRequest
Stops an ongoing operation. This does not roll back any work that has already been completed, but prevents any new work from being started.
Inheritance
DeploymentsResource.StopRequest
Inherited Members
Namespace: Google.Apis.DeploymentManager.v2
Assembly: Google.Apis.DeploymentManager.v2.dll
Syntax
public class DeploymentsResource.StopRequest : DeploymentManagerBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
StopRequest(IClientService, DeploymentsStopRequest, string, string)
Constructs a new Stop request.
Declaration
public StopRequest(IClientService service, DeploymentsStopRequest body, string project, string deployment)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DeploymentsStopRequest | body | |
string | project | |
string | deployment |
Properties
Deployment
The name of the deployment for this request.
Declaration
[RequestParameter("deployment", RequestParameterType.Path)]
public virtual string Deployment { 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
Project
The project ID for this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { 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()