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
Methods
__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.
Generated from protobuf field string destination_ip = 1;
string
setDestinationIp
Destination IP address. Not present for sockets that are listening and not connected.
Generated from protobuf field string destination_ip = 1;
var
string
$this
getDestinationPort
Destination port. Not present for sockets that are listening and not connected.
Generated from protobuf field int32 destination_port = 2;
int
setDestinationPort
Destination port. Not present for sockets that are listening and not connected.
Generated from protobuf field int32 destination_port = 2;
var
int
$this
getSourceIp
Source IP address.
Generated from protobuf field string source_ip = 3;
string
setSourceIp
Source IP address.
Generated from protobuf field string source_ip = 3;
var
string
$this
getSourcePort
Source port.
Generated from protobuf field int32 source_port = 4;
int
setSourcePort
Source port.
Generated from protobuf field int32 source_port = 4;
var
int
$this
getProtocol
IANA Internet Protocol Number such as TCP(6) and UDP(17).
Generated from protobuf field .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;
int
setProtocol
IANA Internet Protocol Number such as TCP(6) and UDP(17).
Generated from protobuf field .google.cloud.securitycenter.v1.Connection.Protocol protocol = 5;
var
int
$this