Method: organizations.locations.securityProfiles.patch

更新单个 SecurityProfile 的参数。

HTTP 请求

PATCH https://networksecurity.googleapis.com/v1beta1/{securityProfile.name=organizations/*/locations/*/securityProfiles/*}

网址采用 gRPC 转码语法。

路径参数

参数
securityProfile.name

string

不可变。标识符。SecurityProfile 资源的名称。它与模式 projects|organizations/*/locations/{location}/securityProfiles/{securityProfile} 匹配。

查询参数

参数
updateMask

string (FieldMask format)

必需。字段掩码用于指定更新要覆盖 SecurityProfile 资源中的字段。updateMask 中指定的字段相对于资源(而非完整请求)。覆盖掩码中的字段。

这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo"

请求正文

请求正文包含一个 SecurityProfile 实例。

响应正文

如果成功,则响应正文包含一个 Operation 实例。

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅身份验证概览