Class ProjectsResource.LocationsResource.DeliveryPipelinesResource.ReleasesResource.RolloutsResource.JobRunsResource.TerminateRequest
Terminates a Job Run in a given project and location.
Inheritance
ProjectsResource.LocationsResource.DeliveryPipelinesResource.ReleasesResource.RolloutsResource.JobRunsResource.TerminateRequest
Inherited Members
Namespace: Google.Apis.CloudDeploy.v1
Assembly: Google.Apis.CloudDeploy.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DeliveryPipelinesResource.ReleasesResource.RolloutsResource.JobRunsResource.TerminateRequest : CloudDeployBaseServiceRequest<TerminateJobRunResponse>, IClientServiceRequest<TerminateJobRunResponse>, IClientServiceRequest
Constructors
TerminateRequest(IClientService, TerminateJobRunRequest, string)
Constructs a new Terminate request.
Declaration
public TerminateRequest(IClientService service, TerminateJobRunRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TerminateJobRunRequest | body | |
string | name |
Properties
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
Name
Required. Name of the JobRun
. Format must be
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}
.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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 Terminate parameter list.
Declaration
protected override void InitParameters()