0.9.0 (latest) 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Chronicle V1 API class Google::Cloud::Chronicle::V1::GetRuleRequest.

Request message for GetRule method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the rule to retrieve. Format: `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`
**Returns**

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

### #view

    def view() -> ::Google::Cloud::Chronicle::V1::RuleView

**Returns**

- ([::Google::Cloud::Chronicle::V1::RuleView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-RuleView)) --- The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.

### #view=

    def view=(value) -> ::Google::Cloud::Chronicle::V1::RuleView

**Parameter**

- **value** ([::Google::Cloud::Chronicle::V1::RuleView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-RuleView)) --- The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.
**Returns**

- ([::Google::Cloud::Chronicle::V1::RuleView](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-RuleView)) --- The view field indicates the scope of fields to populate for the Rule being returned. If unspecified, defaults to FULL.