Google Cloud Migration Center V1 Client - Class NetworkAdapterDetails (1.0.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
Name Description
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
Type Description
string

setAdapterType

Network adapter type (e.g. VMXNET3).

Parameter
Name Description
var string
Returns
Type Description
$this

getMacAddress

MAC address.

Returns
Type Description
string

setMacAddress

MAC address.

Parameter
Name Description
var string
Returns
Type Description
$this

getAddresses

NetworkAddressList

Returns
Type Description
Google\Cloud\MigrationCenter\V1\NetworkAddressList|null

hasAddresses

clearAddresses

setAddresses

NetworkAddressList

Parameter
Name Description
var Google\Cloud\MigrationCenter\V1\NetworkAddressList
Returns
Type Description
$this