Class ProjectsResource.LocationsResource.DataScansResource.RunRequest
Runs an on-demand execution of a DataScan
Inheritance
ProjectsResource.LocationsResource.DataScansResource.RunRequest
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataScansResource.RunRequest : CloudDataplexBaseServiceRequest<GoogleCloudDataplexV1RunDataScanResponse>, IClientServiceRequest<GoogleCloudDataplexV1RunDataScanResponse>, IClientServiceRequest
Constructors
RunRequest(IClientService, GoogleCloudDataplexV1RunDataScanRequest, string)
Constructs a new Run request.
Declaration
public RunRequest(IClientService service, GoogleCloudDataplexV1RunDataScanRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudDataplexV1RunDataScanRequest | 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 DataScan: projects/{project}/locations/{location_id}/dataScans/{data_scan_id}. where project refers to a project_id or project_number and location_id refers to a GCP region.Only OnDemand data scans are allowed.
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 Run parameter list.
Declaration
protected override void InitParameters()