Method: organizations.sources.findings.setMute

検出結果のミュート状態を更新します。ロケーションが指定されていない場合、検出結果はグローバルにあると見なされます。

HTTP リクエスト


この URL は gRPC Transcoding 構文を使用します。

パスパラメータ

パラメータ
name

string

必須。検出結果の相対リソース名。ロケーションが指定されていない場合、検出結果はグローバルであると見なされます。次のリストに例を示します。

+ organizations/{organization_id}/sources/{source_id}/findings/{findingId} + organizations/{organization_id}/sources/{source_id}/locations/{locationId}/findings/{findingId} + folders/{folder_id}/sources/{source_id}/findings/{findingId} + folders/{folder_id}/sources/{source_id}/locations/{locationId}/findings/{findingId} + projects/{projectId}/sources/{source_id}/findings/{findingId} + projects/{projectId}/sources/{source_id}/locations/{locationId}/findings/{findingId}

リクエストの本文

リクエストの本文には、次の構造のデータが含まれます。

JSON 表現
{
  "mute": enum (Mute)
}
フィールド
mute

enum (Mute)

必須。ミュートの望ましい状態。

レスポンスの本文

成功した場合、レスポンスの本文には Finding のインスタンスが含まれます。

認可スコープ

次の OAuth スコープが必要です。

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

詳細については、Authentication Overview をご覧ください。