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

Request message for UpdateRule method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #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 update.


  The rule's `name` field is used to identify the rule to update.
  Format:
  `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

### #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 update.


  The rule's `name` field is used to identify the rule to update.
  Format:
  `projects/{project}/locations/{location}/instances/{instance}/rules/{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 update.


  The rule's `name` field is used to identify the rule to update.
  Format:
  `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. If not included, all fields with a non-empty value will be overwritten.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. If not included, all fields with a non-empty value will be overwritten.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-chronicle-v1/latest/Google-Protobuf-FieldMask)) --- The list of fields to update. If not included, all fields with a non-empty value will be overwritten.