Method: projects.locations.dataScans.patch

Updates a DataScan resource.

HTTP request

PATCH https://dataplex.googleapis.com/v1/{dataScan.name=projects/*/locations/*/dataScans/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
dataScan.name

string

Output only. The relative resource name of the scan, of the form: projects/{project}/locations/{locationId}/dataScans/{datascan_id}, where project refers to a projectId or project_number and locationId refers to a GCP region.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

validateOnly

boolean

Optional. Only validate the request, but do not perform mutations. The default is false.

Request body

The request body contains an instance of DataScan.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.