Reference documentation and code samples for the Google Cloud Migration Center V1 Client class NetworkConnection.
Generated from protobuf message google.cloud.migrationcenter.v1.NetworkConnection
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ protocol
string
Connection protocol (e.g. TCP/UDP).
↳ local_ip_address
string
Local IP address.
↳ local_port
int
Local port.
↳ remote_ip_address
string
Remote IP address.
↳ remote_port
int
Remote port.
↳ state
int
Network connection state.
↳ pid
int|string
Process ID.
↳ process_name
string
Process or service name.
getProtocol
Connection protocol (e.g. TCP/UDP).
string
setProtocol
Connection protocol (e.g. TCP/UDP).
var
string
$this
getLocalIpAddress
Local IP address.
string
setLocalIpAddress
Local IP address.
var
string
$this
getLocalPort
Local port.
int
setLocalPort
Local port.
var
int
$this
getRemoteIpAddress
Remote IP address.
string
setRemoteIpAddress
Remote IP address.
var
string
$this
getRemotePort
Remote port.
int
setRemotePort
Remote port.
var
int
$this
getState
Network connection state.
int
setState
Network connection state.
var
int
$this
getPid
Process ID.
int|string
setPid
Process ID.
var
int|string
$this
getProcessName
Process or service name.
string
setProcessName
Process or service name.
var
string
$this