# The ParserVersion object

One immutable version of a parser, carrying the spec.

 Immutable: an edit creates a new version rather than mutating an existing
 one, so a data source that pins a version is never affected. Version numbers
 are never reused, including after a delete.

## Attributes

- `name` (string, Beta, ID, Immutable)
  Resource name. Format:
   `parsers/{parser_id}/versions/{version}`.
  Example: `parsers/550e8400-e29b-41d4-a716-446655440000/versions/2`
- `version` (int64, Beta, Output only)
  Version number, assigned by the server when the version is appended.
- `spec` (string, Beta, Immutable)
  The field definitions for this log source, as a YAML document. Validated on
   write, so an invalid spec is never stored.
- `create_time` (string, Beta, Output only)
  When this version was appended.
- `created_by` (object, Beta, Output only)
  The principal that appended this version.
  - `id` (string, Beta)
    User / service-principal ID.
  - `principal_type` (string, Beta)
    Whether this principal is a regular user, service principal, or system principal.
    Possible values:
    - `REGULAR_USER`
    - `SERVICE_PRINCIPAL`
    - `SYSTEM_USER`
  - `email` (string, Beta)
    Email (regular users only).
  - `display_name` (string, Beta)
    Display name (user or SP name).
- `description` (string, Beta, Immutable)
  Free-form description of this version, set when the version is created.
- `parser_name` (string, Beta, Output only)
  The parent parser's name, copied from the container on read. Denormalized so a
   caller that needs identity alongside the spec reads the version alone rather
   than the container as well. Populated by `GetParserVersion`; List omits it, as
   List omits `spec`.

## Example

```json
{
  "name": "parsers/550e8400-e29b-41d4-a716-446655440000/versions/2",
  "version": 0,
  "spec": "string",
  "create_time": "string",
  "created_by": {
    "id": "string",
    "principal_type": "REGULAR_USER",
    "email": "string",
    "display_name": "string"
  },
  "description": "string",
  "parser_name": "string"
}
```


