Google Cloud Network Security V1 Client - Class SecurityProfile (1.4.0)

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.

Returns
Type
Description

hasThreatPreventionProfile

setThreatPreventionProfile

The threat prevention configuration for the SecurityProfile.

Parameter
Name
Description
Returns
Type
Description
$this

getCustomMirroringProfile

The custom Packet Mirroring v2 configuration for the SecurityProfile.

Returns
Type
Description

hasCustomMirroringProfile

setCustomMirroringProfile

The custom Packet Mirroring v2 configuration for the SecurityProfile.

Parameter
Name
Description
Returns
Type
Description
$this

getCustomInterceptProfile

The custom TPPI configuration for the SecurityProfile.

Returns
Type
Description

hasCustomInterceptProfile

setCustomInterceptProfile

The custom TPPI configuration for the SecurityProfile.

Parameter
Name
Description
Returns
Type
Description
$this

getUrlFilteringProfile

The URL filtering configuration for the SecurityProfile.

Returns
Type
Description

hasUrlFilteringProfile

setUrlFilteringProfile

The URL filtering configuration for the SecurityProfile.

Parameter
Name
Description
Returns
Type
Description
$this

getName

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. Resource creation timestamp.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Resource creation timestamp.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. Last resource update timestamp.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last resource update timestamp.

Parameter
Name
Description
Returns
Type
Description
$this

getEtag

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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Optional. Labels as key value pairs.

Returns
Type
Description

setLabels

Optional. Labels as key value pairs.

Parameter
Name
Description
Returns
Type
Description
$this

getType

Immutable. The single ProfileType that the SecurityProfile resource configures.

Returns
Type
Description
int
Enum of type ProfileType .

setType

Immutable. The single ProfileType that the SecurityProfile resource configures.

Parameter
Name
Description
var
int

Enum of type ProfileType .

Returns
Type
Description
$this

getProfile

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: