# AttributeToUpdate

# AttributeToUpdate


```
class AttributeToUpdate
```

<br />

*** ** * ** ***

Represents a single attribute to update.

## Summary

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/automation/AttributeToUpdate#AttributeToUpdate(com.google.home.Field,kotlin.Any)(fieldIdentifier: https://developers.home.google.com/reference/kotlin/com/google/home/Field, newValue: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?)` Create an `AttributeToUpdate` instance. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/Field` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/AttributeToUpdate#fieldIdentifier()` The field ID. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/AttributeToUpdate#newValue()` The new value. |

## Public constructors

### AttributeToUpdate

```
AttributeToUpdate(fieldIdentifier: Field, newValue: Any?)
```

Create an `AttributeToUpdate` instance.

## Public properties

### fieldIdentifier

```
val fieldIdentifier: Field
```

The field ID.

### newValue

```
val newValue: Any?
```

The new value.