# Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::MachineNetworkDetails (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::MachineNetworkDetails.

Details of network adapters and settings.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #adapters

    def adapters() -> ::Google::Cloud::MigrationCenter::V1::NetworkAdapterList

**Returns**

- ([::Google::Cloud::MigrationCenter::V1::NetworkAdapterList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-NetworkAdapterList)) --- List of network adapters.

### #adapters=

    def adapters=(value) -> ::Google::Cloud::MigrationCenter::V1::NetworkAdapterList

**Parameter**

- **value** ([::Google::Cloud::MigrationCenter::V1::NetworkAdapterList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-NetworkAdapterList)) --- List of network adapters.
**Returns**

- ([::Google::Cloud::MigrationCenter::V1::NetworkAdapterList](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-migration_center-v1/latest/Google-Cloud-MigrationCenter-V1-NetworkAdapterList)) --- List of network adapters.

### #primary_ip_address

    def primary_ip_address() -> ::String

**Returns**

- (::String) --- The primary IP address of the machine.

### #primary_ip_address=

    def primary_ip_address=(value) -> ::String

**Parameter**

- **value** (::String) --- The primary IP address of the machine.
**Returns**

- (::String) --- The primary IP address of the machine.

### #primary_mac_address

    def primary_mac_address() -> ::String

**Returns**

- (::String) --- MAC address of the machine. This property is used to uniqly identify the machine.

### #primary_mac_address=

    def primary_mac_address=(value) -> ::String

**Parameter**

- **value** (::String) --- MAC address of the machine. This property is used to uniqly identify the machine.
**Returns**

- (::String) --- MAC address of the machine. This property is used to uniqly identify the machine.

### #public_ip_address

    def public_ip_address() -> ::String

**Returns**

- (::String) --- The public IP address of the machine.

### #public_ip_address=

    def public_ip_address=(value) -> ::String

**Parameter**

- **value** (::String) --- The public IP address of the machine.
**Returns**

- (::String) --- The public IP address of the machine.