## Resource: SchemaVersion

SchemaVersion is a version of the Schema which is created in SchemaGroup.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "labels": { string: string, ... }, "createTime": string, "schema": { object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/DocumentSchema`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the SchemaVersion. Format: `projects/{project}/locations/{location}/schemas/{schema}/schemaVersions/{schemaVersion}` |
| `displayName` | `string` Required. The user-defined name of the SchemaVersion. |
| `labels` | `map (key: string, value: string)` Optional. The Google Cloud labels for the SchemaVersion. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the SchemaVersion was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `schema` | ``object (`https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/DocumentSchema`)`` Required. The schema of the SchemaVersion. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/create` | Creates a schema version. |
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/delete` | Deletes a schema version. |
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/generate` | Generates a schema version. |
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/get` | Gets a schema version. |
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/list` | Lists SchemaVersions. |
| ### `https://docs.cloud.google.com/document-ai/docs/reference/rest/v1/projects.locations.schemas.schemaVersions/patch` | Updates a schema version. |