REST Resource: projects.locations.securityProfiles

Resource: SecurityProfile

SecurityProfile is a resource that defines the behavior for one of many ProfileTypes.

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

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "threatPreventionProfile": {
    object (ThreatPreventionProfile)
  },
  "customMirroringProfile": {
    object (CustomMirroringProfile)
  },
  "customInterceptProfile": {
    object (CustomInterceptProfile)
  },
  "urlFilteringProfile": {
    object (UrlFilteringProfile)
  }
  // End of mutually exclusive fields.
}
Fields
name

string

Immutable. Identifier. Name of the SecurityProfile resource. It matches pattern projects|organizations/*/locations/{location}/securityProfiles/{securityProfile}.

description

string

Optional. An optional description of the profile. Max length 512 characters.

createTime

string (Timestamp format)

Output only. Resource creation timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. Last resource update timestamp.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

etag

string

Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

labels

map (key: string, value: string)

Optional. Labels as key value pairs.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

type

enum (ProfileType)

Immutable. The single ProfileType that the SecurityProfile resource configures.

The behavior for the ProfileType that the SecurityProfile resource is meant to configure. This field must correspond to the ProfileType of the SecurityProfile. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
threatPreventionProfile

object (ThreatPreventionProfile)

The threat prevention configuration for the SecurityProfile.

customMirroringProfile

object (CustomMirroringProfile)

The custom Packet Mirroring v2 configuration for the SecurityProfile.

customInterceptProfile

object (CustomInterceptProfile)

The custom TPPI configuration for the SecurityProfile.

urlFilteringProfile

object (UrlFilteringProfile)

The URL filtering configuration for the SecurityProfile.

End of mutually exclusive fields.

Methods

create

Creates a new SecurityProfile in a given project and location.

delete

Deletes a single SecurityProfile.

get

Gets details of a single SecurityProfile.

list

Lists SecurityProfiles in a given project and location.

patch

Updates the parameters of a single SecurityProfile.