# GDC Hardware Management V1ALPHA API - Class Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MacAddress (v0.14.1)

0.14.1 (latest) 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the GDC Hardware Management V1ALPHA API class Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MacAddress.

Message to describe the MAC address of a machine.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #address

    def address() -> ::String

**Returns**

- (::String) --- Output only. Address string.

### #ipv4_address

    def ipv4_address() -> ::String

**Returns**

- (::String) --- Output only. Static IP address (if used) that is associated with the MAC address. Only applicable for VIRTUAL MAC address type.

### #type

    def type() -> ::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MacAddress::AddressType

**Returns**

- ([::Google::Cloud::GDCHardwareManagement::V1alpha::Hardware::MacAddress::AddressType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gdc_hardware_management-v1alpha/latest/Google-Cloud-GDCHardwareManagement-V1alpha-Hardware-MacAddress-AddressType)) --- Output only. Address type for this MAC address.