Method: projects.locations.dataScans.generateDataQualityRules

Generates recommended data quality rules based on the results of a data profiling scan.

Use the recommendations to build rules for a data quality scan.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name must be one of the following:

  • The name of a data scan with at least one successful, completed data profiling job
  • The name of a successful, completed data profiling job (a data scan job where the job type is data profiling)

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.