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

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

Details of network adapter.

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

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ adapter_type string

Network adapter type (e.g. VMXNET3).

↳ mac_address string

MAC address.

↳ addresses Google\Cloud\MigrationCenter\V1\NetworkAddressList

NetworkAddressList

getAdapterType

Network adapter type (e.g. VMXNET3).

Returns
TypeDescription
string

setAdapterType

Network adapter type (e.g. VMXNET3).

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMacAddress

MAC address.

Returns
TypeDescription
string

setMacAddress

MAC address.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAddresses

NetworkAddressList

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

hasAddresses

clearAddresses

setAddresses

NetworkAddressList

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