Google Cloud Network Security V1 Client - Class SecurityProfile (1.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Network Security V1 Client class SecurityProfile.
SecurityProfile is a resource that defines the behavior for one of many
ProfileTypes.
Generated from protobuf message google.cloud.networksecurity.v1.SecurityProfile
Namespace
Google \ Cloud \ NetworkSecurity \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getThreatPreventionProfile
The threat prevention configuration for the SecurityProfile.
Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
Returns
Type
Description
string
setName
Immutable. Identifier. Name of the SecurityProfile resource. It matches
pattern
projects|organizations/*/locations/{location}/securityProfiles/{security_profile}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDescription
Optional. An optional description of the profile. Max length 512
characters.
Returns
Type
Description
string
setDescription
Optional. An optional description of the profile. Max length 512
characters.
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.
Returns
Type
Description
string
setEtag
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-01 UTC."],[],[]]