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::CreateRuleRequest.

Request message for CreateRule method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent resource where this rule will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent resource where this rule will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`
**Returns**

- (::String) --- Required. The parent resource where this rule will be created. Format: `projects/{project}/locations/{location}/instances/{instance}`

### #rule

    def rule() -> ::Google::Cloud::Chronicle::V1::Rule

**Returns**

- ([::Google::Cloud::Chronicle::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-Rule)) --- Required. The rule to create.

### #rule=

    def rule=(value) -> ::Google::Cloud::Chronicle::V1::Rule

**Parameter**

- **value** ([::Google::Cloud::Chronicle::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-Rule)) --- Required. The rule to create.
**Returns**

- ([::Google::Cloud::Chronicle::V1::Rule](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Cloud-Chronicle-V1-Rule)) --- Required. The rule to create.