# Cloud Talent Solution V4 API - Class Google::Cloud::Talent::V4::DeviceInfo (v1.9.0)

1.9.0 (latest) 1.8.1 1.7.0 1.6.1 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.13.0 0.12.2 0.11.0 0.10.1 0.9.1 0.8.1 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Talent Solution V4 API class Google::Cloud::Talent::V4::DeviceInfo.

Device information collected from the job seeker, candidate, or
other entity conducting the job search. Providing this information improves
the quality of the search results across devices.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #device_type

    def device_type() -> ::Google::Cloud::Talent::V4::DeviceInfo::DeviceType

**Returns**

- ([::Google::Cloud::Talent::V4::DeviceInfo::DeviceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-DeviceInfo-DeviceType)) --- Type of the device.

### #device_type=

    def device_type=(value) -> ::Google::Cloud::Talent::V4::DeviceInfo::DeviceType

**Parameter**

- **value** ([::Google::Cloud::Talent::V4::DeviceInfo::DeviceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-DeviceInfo-DeviceType)) --- Type of the device.
**Returns**

- ([::Google::Cloud::Talent::V4::DeviceInfo::DeviceType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest/Google-Cloud-Talent-V4-DeviceInfo-DeviceType)) --- Type of the device.

### #id

    def id() -> ::String

**Returns**

- (::String) --- A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.

### #id=

    def id=(value) -> ::String

**Parameter**

- **value** (::String) --- A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.
**Returns**

- (::String) --- A device-specific ID. The ID must be a unique identifier that distinguishes the device from other devices.