Google Cloud Ids V1 Client - Class Endpoint (0.4.2)

Reference documentation and code samples for the Google Cloud Ids V1 Client class Endpoint.

Endpoint describes a single IDS endpoint. It defines a forwarding rule to which packets can be sent for IDS inspection.

Generated from protobuf message google.cloud.ids.v1.Endpoint

Namespace

Google \ Cloud \ Ids \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The name of the endpoint.

↳ create_time Google\Protobuf\Timestamp

Output only. The create time timestamp.

↳ update_time Google\Protobuf\Timestamp

Output only. The update time timestamp.

↳ labels array|Google\Protobuf\Internal\MapField

The labels of the endpoint.

↳ network string

Required. The fully qualified URL of the network to which the IDS Endpoint is attached.

↳ endpoint_forwarding_rule string

Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.

↳ endpoint_ip string

Output only. The IP address of the IDS Endpoint's ILB.

↳ description string

User-provided description of the endpoint

↳ severity int

Required. Lowest threat severity that this endpoint will alert on.

↳ state int

Output only. Current state of the endpoint.

↳ traffic_logs bool

Whether the endpoint should report traffic logs in addition to threat logs.

getName

Output only. The name of the endpoint.

Returns
TypeDescription
string

setName

Output only. The name of the endpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The create time timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The create time timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The update time timestamp.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The update time timestamp.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

The labels of the endpoint.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The labels of the endpoint.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getNetwork

Required. The fully qualified URL of the network to which the IDS Endpoint is attached.

Returns
TypeDescription
string

setNetwork

Required. The fully qualified URL of the network to which the IDS Endpoint is attached.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpointForwardingRule

Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.

Returns
TypeDescription
string

setEndpointForwardingRule

Output only. The fully qualified URL of the endpoint's ILB Forwarding Rule.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEndpointIp

Output only. The IP address of the IDS Endpoint's ILB.

Returns
TypeDescription
string

setEndpointIp

Output only. The IP address of the IDS Endpoint's ILB.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

User-provided description of the endpoint

Returns
TypeDescription
string

setDescription

User-provided description of the endpoint

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSeverity

Required. Lowest threat severity that this endpoint will alert on.

Returns
TypeDescription
int

setSeverity

Required. Lowest threat severity that this endpoint will alert on.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getState

Output only. Current state of the endpoint.

Returns
TypeDescription
int

setState

Output only. Current state of the endpoint.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTrafficLogs

Whether the endpoint should report traffic logs in addition to threat logs.

Returns
TypeDescription
bool

setTrafficLogs

Whether the endpoint should report traffic logs in addition to threat logs.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this