The view field indicates the scope of fields to populate for the Rule being
returned. If unspecified, defaults to FULL.
Returns
Type
Description
int
setView
The view field indicates the scope of fields to populate for the Rule being
returned. If unspecified, defaults to FULL.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the rule to retrieve.
Format:
projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
Please see RuleServiceClient::ruleName() for help formatting this field.
[[["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 GetRuleRequest (0.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.2 (latest)](/php/docs/reference/cloud-chronicle/latest/V1.GetRuleRequest)\n- [0.1.1](/php/docs/reference/cloud-chronicle/0.1.1/V1.GetRuleRequest) \nReference documentation and code samples for the Google Cloud Chronicle V1 Client class GetRuleRequest.\n\nRequest message for GetRule method.\n\nGenerated from protobuf message `google.cloud.chronicle.v1.GetRuleRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Chronicle \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the rule to retrieve.\n\nFormat:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`\n\n### setName\n\nRequired. The name of the rule to retrieve.\n\nFormat:\n`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`\n\n### getView\n\nThe view field indicates the scope of fields to populate for the Rule being\nreturned. If unspecified, defaults to FULL.\n\n### setView\n\nThe view field indicates the scope of fields to populate for the Rule being\nreturned. If unspecified, defaults to FULL.\n\n### static::build"]]