Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Connection.
Contains information about the IP connection associated with the finding.
Generated from protobuf message google.cloud.securitycenter.v1.Connection
Namespace
Google \ Cloud \ SecurityCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ destination_ip
string
Destination IP address. Not present for sockets that are listening and not connected.
↳ destination_port
int
Destination port. Not present for sockets that are listening and not connected.
↳ source_ip
string
Source IP address.
↳ source_port
int
Source port.
↳ protocol
int
IANA Internet Protocol Number such as TCP(6) and UDP(17).
getDestinationIp
Destination IP address. Not present for sockets that are listening and not connected.
string
setDestinationIp
Destination IP address. Not present for sockets that are listening and not connected.
var
string
$this
getDestinationPort
Destination port. Not present for sockets that are listening and not connected.
int
setDestinationPort
Destination port. Not present for sockets that are listening and not connected.
var
int
$this
getSourceIp
Source IP address.
string
setSourceIp
Source IP address.
var
string
$this
getSourcePort
Source port.
int
setSourcePort
Source port.
var
int
$this
getProtocol
IANA Internet Protocol Number such as TCP(6) and UDP(17).
int
setProtocol
IANA Internet Protocol Number such as TCP(6) and UDP(17).
var
int
$this