# RuleView indicates the scope of fields to populate when returning the Rule resource.

| Enums ||
|---|---|
| `RULE_VIEW_UNSPECIFIED` | The default/unset value. The API will default to the BASIC view for ListRules/ListRuleRevisions. The API will default to the FULL view for GetRule. |
| `BASIC` | Include basic metadata about the rule, but not the full contents. Returned fields include: revisionId, revisionCreateTime, displayName, author, severity, type, allowed_run_frequency, nearRealTimeLiveRuleEligible, etag, and scope. This is the default value for ListRules and ListRuleRevisions. |
| `FULL` | Include all fields. This is the default value for GetRule. |
| `REVISION_METADATA_ONLY` | Include basic metadata about the rule's revision only. Returned fields include: revisionId and revisionCreateTime. |