Method: projects.scanConfigs.patch

Updates a ScanConfig. This method support partial update of a ScanConfig.

HTTP request

PATCH https://websecurityscanner.googleapis.com/v1beta/{scanConfig.name=projects/*/scanConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
scanConfig.name

string

The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

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

Request body

The request body contains an instance of ScanConfig.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.