- [JSON representation](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#State)
- [EndReason](https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#EndReason)

Represents a Trial for a project.

| JSON representation |
|---|
| ``` { "name": string, "state": enum (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#State`), "startTime": string, "endTime": string, "endReason": enum (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#EndReason`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The resource name of the trial. Format: projects/{project}/locations/{location}/trial |
| `state` | ``enum (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#State`)`` Output only. The state of the trial. |
| `startTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the trial was subscribed. 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"`. |
| `endTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The time when the trial will expire. 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"`. |
| `endReason` | ``enum (`https://docs.cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/Trial#EndReason`)`` Output only. The reason for ending the trial. |

## State

Trial state enum.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | State not set. |
| `SUBSCRIBED` | Trial is subscribed. |
| `UNSUBSCRIBED` | Trial is unsubscribed before expiration. |
| `EXPIRED` | Trial is expired post 30 days of subscription. |
| `ELIGIBLE` | Trial is eligible for enablement. |
| `NOT_ELIGIBLE` | Trial is not eligible for enablement. |

## EndReason

End reason enum.

| Enums ||
|---|---|
| `END_REASON_UNSPECIFIED` | End reason not set. |
| `MOVE_TO_PAID` | Trial is deliberately ended by the user to transition to paid usage. |
| `DISCONTINUED` | Trial is discontinued before expiration. |