Stay organized with collections
Save and categorize content based on your preferences.
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: revision_id, revision_create_time, display_name, author, severity, type, allowed_run_frequency, near_real_time_live_rule_eligible, 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: revision_id and revision_create_time.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eRuleView specifies the extent of information included when retrieving a Rule resource.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRULE_VIEW_UNSPECIFIED\u003c/code\u003e is the default setting, using BASIC view for listing rules and FULL view for retrieving a specific rule.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBASIC\u003c/code\u003e view provides essential metadata like revision ID, display name, and scope, serving as the default for lists.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFULL\u003c/code\u003e view encompasses all available fields and is the default for single rule retrieval.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eREVISION_METADATA_ONLY\u003c/code\u003e view focuses solely on revision-related metadata like ID and creation time.\u003c/p\u003e\n"]]],[],null,[]]