public sealed class Connection : IMessage<Connection>, IEquatable<Connection>, IDeepCloneable<Connection>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class Connection.
Contains information about the IP connection associated with the finding.
Implements
IMessageConnection, IEquatableConnection, IDeepCloneableConnection, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
Connection()
public Connection()
Connection(Connection)
public Connection(Connection other)
Parameter | |
---|---|
Name | Description |
other |
Connection |
Properties
DestinationIp
public string DestinationIp { get; set; }
Destination IP address. Not present for sockets that are listening and not connected.
Property Value | |
---|---|
Type | Description |
string |
DestinationPort
public int DestinationPort { get; set; }
Destination port. Not present for sockets that are listening and not connected.
Property Value | |
---|---|
Type | Description |
int |
Protocol
public Connection.Types.Protocol Protocol { get; set; }
IANA Internet Protocol Number such as TCP(6) and UDP(17).
Property Value | |
---|---|
Type | Description |
ConnectionTypesProtocol |
SourceIp
public string SourceIp { get; set; }
Source IP address.
Property Value | |
---|---|
Type | Description |
string |
SourcePort
public int SourcePort { get; set; }
Source port.
Property Value | |
---|---|
Type | Description |
int |