# Version

- [YAML representation](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/Version#SCHEMA_REPRESENTATION)
- [VersionState](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState)
  - [YAML representation](https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState.SCHEMA_REPRESENTATION)

Definition of version resource.

| YAML representation ||
|---|---|
| ``` name: string versionState: object (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState`) creator: string updateTime: string ``` |

| Fields ||
|---|---|
| `name` | `string` The unique identifier of the version in the following format. `projects/{project}/versions/{version}`. |
| `versionState` | ``object (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/Version#VersionState`)`` The current state of the version. |
| `creator` | `string` Email of the user who created this version. |
| `updateTime` | ``string (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Timestamp` format)`` Timestamp of the last change to this version. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: `"2014-10-02T15:01:23Z"` and `"2014-10-02T15:01:23.045123456Z"`. |

## VersionState

Represents the current state of the version.

| YAML representation ||
|---|---|
| ``` state: enum (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/State`) message: string ``` |

| Fields ||
|---|---|
| `state` | ``enum (`https://developers.google.com/assistant/actionssdk/reference/rest/Shared.Types/State`)`` The current state of the version. |
| `message` | `string` User-friendly message for the current state of the version. |