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

Reference documentation and code samples for the Google Cloud Network Security V1 Client class GatewaySecurityPolicy.

The GatewaySecurityPolicy resource contains a collection of GatewaySecurityPolicyRules and associated metadata.

Generated from protobuf message google.cloud.networksecurity.v1.GatewaySecurityPolicy

Namespace

Google \ Cloud \ NetworkSecurity \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^ a-z ?$).

↳ create_time
Google\Protobuf\Timestamp

Output only. The timestamp when the resource was created.

↳ update_time
Google\Protobuf\Timestamp

Output only. The timestamp when the resource was updated.

↳ description
string

Optional. Free-text description of the resource.

↳ tls_inspection_policy
string

Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

getName

Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^ a-z ?$).

Returns
Type
Description
string

setName

Required. Name of the resource. Name is of the form projects/{project}/locations/{location}/gatewaySecurityPolicies/{gateway_security_policy} gateway_security_policy should match the pattern:(^ a-z ?$).

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. The timestamp when the resource was created.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp when the resource was created.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateTime

Output only. The timestamp when the resource was updated.

Returns
Type
Description

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The timestamp when the resource was updated.

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

Optional. Free-text description of the resource.

Returns
Type
Description
string

setDescription

Optional. Free-text description of the resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTlsInspectionPolicy

Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

Returns
Type
Description
string

setTlsInspectionPolicy

Optional. Name of a TLS Inspection Policy resource that defines how TLS inspection will be performed for any rule(s) which enables it.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: