v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1363121226.6 KB
projects

Creates a new SecurityProfile in a given project and location.

post/v1/{+parent}/securityProfiles

Path parameters

parentstring required

Required. The parent resource of the SecurityProfile. Must be in the format projects|organizations/*/locations/{location}.

Query parameters

securityProfileIdstring

Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1".

Request body

updateTimestring google-datetime

Output only. Last resource update timestamp.

namestring

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

labelsobject

Optional. Labels as key value pairs.

descriptionstring

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

createTimestring google-datetime

Output only. Resource creation timestamp.

type'PROFILE_TYPE_UNSPECIFIED' | 'THREAT_PREVENTION' | 'CUSTOM_MIRRORING' | 'CUSTOM_INTERCEPT' | 'URL_FILTERING'

Immutable. The single ProfileType that the SecurityProfile resource configures.

etagstring

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.

Response

Successful response