Google Cloud Migration Center V1 Client - Class RuntimeNetworkInfo (0.1.0)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class RuntimeNetworkInfo.

Runtime networking information.

Generated from protobuf message google.cloud.migrationcenter.v1.RuntimeNetworkInfo

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ scan_time Google\Protobuf\Timestamp

Time of the last network scan.

↳ connections Google\Cloud\MigrationCenter\V1\NetworkConnectionList

Network connections.

getScanTime

Time of the last network scan.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasScanTime

clearScanTime

setScanTime

Time of the last network scan.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getConnections

Network connections.

Returns
TypeDescription
Google\Cloud\MigrationCenter\V1\NetworkConnectionList|null

hasConnections

clearConnections

setConnections

Network connections.

Parameter
NameDescription
var Google\Cloud\MigrationCenter\V1\NetworkConnectionList
Returns
TypeDescription
$this