public sealed class Connection : IMessage<Connection>, IEquatable<Connection>, IDeepCloneable<Connection>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class Connection.
Contains information about the IP connection associated with the finding.
Implements
IMessage<Connection>, IEquatable<Connection>, IDeepCloneable<Connection>, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V1Assembly
Google.Cloud.SecurityCenter.V1.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 |
Int32 |
Protocol
public Connection.Types.Protocol Protocol { get; set; }
IANA Internet Protocol Number such as TCP(6) and UDP(17).
Property Value | |
---|---|
Type | Description |
Connection.Types.Protocol |
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 |
Int32 |