Method: projects.updateWebSecurityScannerSettings

Update the WebSecurityScannerSettings resource.

HTTP request

PATCH https://securitycenter.googleapis.com/v1beta2/{webSecurityScannerSettings.name=projects/*/webSecurityScannerSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
webSecurityScannerSettings.name

string

The resource name of the WebSecurityScannerSettings.

Formats:

  • organizations/{organization}/webSecurityScannerSettings
  • folders/{folder}/webSecurityScannerSettings
  • projects/{project}/webSecurityScannerSettings

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to be updated.

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

Request body

The request body contains an instance of WebSecurityScannerSettings.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.