REST Resource: projects.locations.securityProfiles

资源:SecurityProfile

SecurityProfile 是定义多个 ProfileType 之一的行为的资源。下一个 ID:10

JSON 表示法
{
  "name": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "etag": string,
  "labels": {
    string: string,
    ...
  },
  "type": enum (ProfileType),

  // Union field profile can be only one of the following:
  "threatPreventionProfile": {
    object (ThreatPreventionProfile)
  },
  "customMirroringProfile": {
    object (CustomMirroringProfile)
  }
  // End of list of possible types for union field profile.
}
字段
name

string

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

description

string

可选。配置文件的说明(可选)。长度上限为 512 个字符。

createTime

string (Timestamp format)

仅限输出。资源创建时间戳。

时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

updateTime

string (Timestamp format)

仅限输出。上次资源更新时间戳。

时间戳采用 RFC3339 世界协调时间(UTC,即“祖鲁时”)格式,精确到纳秒,最多九个小数位。示例:"2014-10-02T15:01:23Z""2014-10-02T15:01:23.045123456Z"

etag

string

仅限输出。该校验和由服务器根据其他字段的值计算,并且可能会在更新和删除请求时发送,以确保客户端在继续操作之前具有最新的值。

labels

map (key: string, value: string)

可选。以键值对形式提供的标签。

包含一系列 "key": value 对的对象。示例:{ "name": "wrench", "mass": "1.3kg", "count": "3" }

type

enum (ProfileType)

不可变。SecurityProfile 资源配置的单个 ProfileType。

联合字段 profile。SecurityProfile 资源要配置的 ProfileType 的行为。此字段必须与 SecurityProfile 的 ProfileType 对应。profile 只能是下列其中一项:
threatPreventionProfile

object (ThreatPreventionProfile)

SecurityProfile 的威胁防护配置。

customMirroringProfile

object (CustomMirroringProfile)

SecurityProfile 的自定义数据包镜像 v2 配置。

方法

create

在给定的项目和位置中创建新的 SecurityProfile。

delete

删除单个 SecurityProfile。

get

获取单个 SecurityProfile 的详细信息。

list

列出给定项目和位置中的 SecurityProfile。

patch

更新单个 SecurityProfile 的参数。