# Class GetRuleRequest (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    GetRuleRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for GetRule method.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Required. The name of the rule to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}` |
| `view` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-chronicle/latest/google.cloud.chronicle_v1.types.RuleView` The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL. |