Google Cloud Network Security V1 Client - Class SecurityProfile (1.3.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
ThreatPreventionProfile|null

hasThreatPreventionProfile

setThreatPreventionProfile

The threat prevention configuration for the SecurityProfile.

Parameter
Name Description
var ThreatPreventionProfile
Returns
Type Description
$this

getCustomMirroringProfile

The custom Packet Mirroring v2 configuration for the SecurityProfile.

Returns
Type Description
CustomMirroringProfile|null

hasCustomMirroringProfile

setCustomMirroringProfile

The custom Packet Mirroring v2 configuration for the SecurityProfile.

Parameter
Name Description
var CustomMirroringProfile
Returns
Type Description
$this

getCustomInterceptProfile

The custom TPPI configuration for the SecurityProfile.

Returns
Type Description
CustomInterceptProfile|null

hasCustomInterceptProfile

setCustomInterceptProfile

The custom TPPI configuration for the SecurityProfile.

Parameter
Name Description
var CustomInterceptProfile
Returns
Type Description
$this

getUrlFilteringProfile

The URL filtering configuration for the SecurityProfile.

Returns
Type Description
UrlFilteringProfile|null

hasUrlFilteringProfile

setUrlFilteringProfile

The URL filtering configuration for the SecurityProfile.

Parameter
Name Description
var UrlFilteringProfile
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
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Resource creation timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getUpdateTime

Output only. Last resource update timestamp.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last resource update timestamp.

Parameter
Name Description
var Google\Protobuf\Timestamp
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
Google\Protobuf\Internal\MapField

setLabels

Optional. Labels as key value pairs.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
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