Class ProjectsResource.LocationsResource.DataScansResource.JobsResource.CancelRequest
Cancels a running/pending DataScan job.
Inheritance
ProjectsResource.LocationsResource.DataScansResource.JobsResource.CancelRequest
Implements
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataScansResource.JobsResource.CancelRequest : CloudDataplexBaseServiceRequest<GoogleCloudDataplexV1CancelDataScanJobResponse>, IClientServiceRequest<GoogleCloudDataplexV1CancelDataScanJobResponse>, IClientServiceRequest
Constructors
CancelRequest(IClientService, GoogleCloudDataplexV1CancelDataScanJobRequest, string)
Constructs a new Cancel request.
Declaration
public CancelRequest(IClientService service, GoogleCloudDataplexV1CancelDataScanJobRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDataplexV1CancelDataScanJobRequest | 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. The resource name of the DataScanJob: projects/{project_id_or_number}/locations/{location_id}/dataScans/{data_scan_id}/jobs/{data_scan_job_id} where project_id_or_number refers to a project_id or project_number and location_id refers to a Google Cloud region.
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 Cancel parameter list.
Declaration
protected override void InitParameters()