1.2.0 (latest) 1.1.0 1.0.0

    public sealed class GetRuleRequest : IMessage<GetRuleRequest>, IEquatable<GetRuleRequest>, IDeepCloneable<GetRuleRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Chronicle v1 API class GetRuleRequest.

Request message for GetRule method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetRuleRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[GetRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetRuleRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetRuleRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[GetRuleRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetRuleRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Chronicle.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.md.txt)

## Assembly

Google.Cloud.Chronicle.V1.dll

## Constructors

### GetRuleRequest()

    public GetRuleRequest()

### GetRuleRequest(GetRuleRequest)

    public GetRuleRequest(GetRuleRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `GetRuleRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. The name of the rule to retrieve.
Format:
`projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### RuleName

    public RuleName RuleName { get; set; }

[RuleName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.RuleName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Chronicle.V1/latest/Google.Cloud.Chronicle.V1.GetRuleRequest.md.txt#Google_Cloud_Chronicle_V1_GetRuleRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RuleName` |   |

### View

    public RuleView View { get; set; }

The view field indicates the scope of fields to populate for the Rule being
returned. If unspecified, defaults to FULL.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RuleView` |   |