# AssistantFulfillmentTrait.OkGoogleCommand


```
@HomeExperimentalGenericApi
object AssistantFulfillmentTrait.OkGoogleCommand : CommandDescriptor
```

<br />

*** ** * ** ***

OkGoogle command execution on a particular device.

## Summary

| ### Nested types |
|---|
| `class AssistantFulfillmentTrait.OkGoogleCommand.OkGoogleCommandRequest` The request payload for the OkGoogleCommand command. |
| `class AssistantFulfillmentTrait.OkGoogleCommand.OkGoogleCommandResponse` Response to the OkGoogleCommand |

| ### Public functions |
|---|---|
| `open Field?` | `getCommandRequestFieldByName(name: String)` |

| ### Public properties |
|---|---|
| `open String` | `commandId` Unique id corresponding to the command. |
| `open String` | `commandName` Human-friendly name of the command. |
| `open Nothing?` | `requestId` Optional (for Matter only) ScopedCommandId corresponding to the command. |
| `open Nothing?` | `responseId` Optional (for Matter only) ScopedCommandId corresponding to the command response (if any). |

## Public functions

### getCommandRequestFieldByName

```
open fun getCommandRequestFieldByName(name: String): Field?
```

## Public properties

### commandId

```
open val commandId: String
```

Unique id corresponding to the command.

### commandName

```
open val commandName: String
```

Human-friendly name of the command.

### requestId

```
open val requestId: Nothing?
```

Optional (for Matter only) ScopedCommandId corresponding to the command.

### responseId

```
open val responseId: Nothing?
```

Optional (for Matter only) ScopedCommandId corresponding to the command response (if any).