Method: projects.scanConfigs.patch

Updates the scan configuration to a new value.

HTTP request

PATCH https://containeranalysis.googleapis.com/v1alpha1/{name=projects/*/scanConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The scan config to update of the form projects/{projectId}/scanConfigs/{scan_config_id}.

Authorization requires the following Google IAM permission on the specified resource name:

  • containeranalysis.scanconfigs.update

Query parameters

Parameters
updateMask

string (FieldMask format)

The fields to update.

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.

このページは役立ちましたか?評価をお願いいたします。

フィードバックを送信...