Reference documentation and code samples for the Google Cloud Chronicle V1 Client class RuleView.
RuleView indicates the scope of fields to populate when returning the Rule
resource.
Protobuf type google.cloud.chronicle.v1.RuleView
Namespace
Google \ Cloud \ Chronicle \ V1
Methods
static::name
Parameter
Name
Description
value
mixed
static::value
Parameter
Name
Description
name
mixed
Constants
RULE_VIEW_UNSPECIFIED
Value: 0
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.
Generated from protobuf enum RULE_VIEW_UNSPECIFIED = 0;
BASIC
Value: 1
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.
Generated from protobuf enum BASIC = 1;
FULL
Value: 2
Include all fields.
This is the default value for GetRule.
Generated from protobuf enum FULL = 2;
REVISION_METADATA_ONLY
Value: 3
Include basic metadata about the rule's revision only.
Returned fields include: revision_id and revision_create_time.
Generated from protobuf enum REVISION_METADATA_ONLY = 3;
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Chronicle V1 Client - Class RuleView (0.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.2 (latest)](/php/docs/reference/cloud-chronicle/latest/V1.RuleView)\n- [0.1.1](/php/docs/reference/cloud-chronicle/0.1.1/V1.RuleView) \nReference documentation and code samples for the Google Cloud Chronicle V1 Client class RuleView.\n\nRuleView indicates the scope of fields to populate when returning the Rule\nresource.\n\nProtobuf type `google.cloud.chronicle.v1.RuleView`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Chronicle \\\\ V1\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### RULE_VIEW_UNSPECIFIED\n\n Value: 0\n\nThe default/unset value.\n\nThe API will default to the BASIC view for ListRules/ListRuleRevisions.\nThe API will default to the FULL view for GetRule.\n\nGenerated from protobuf enum `RULE_VIEW_UNSPECIFIED = 0;`\n\n### BASIC\n\n Value: 1\n\nInclude basic metadata about the rule, but not the full contents.\n\nReturned fields include: revision_id, revision_create_time, display_name,\nauthor, severity, type, allowed_run_frequency,\nnear_real_time_live_rule_eligible, etag, and scope.\nThis is the default value for ListRules and ListRuleRevisions.\n\nGenerated from protobuf enum `BASIC = 1;`\n\n### FULL\n\n Value: 2\n\nInclude all fields.\n\nThis is the default value for GetRule.\n\nGenerated from protobuf enum `FULL = 2;`\n\n### REVISION_METADATA_ONLY\n\n Value: 3\n\nInclude basic metadata about the rule's revision only.\n\nReturned fields include: revision_id and revision_create_time.\n\nGenerated from protobuf enum `REVISION_METADATA_ONLY = 3;`"]]