# Cloud Bigtable V2 API - Class Google::Cloud::Bigtable::V2::ReadModifyWriteRule (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.1 1.1.0 1.0.0 0.21.0 0.20.0 0.19.0 0.18.0 0.17.2 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the Cloud Bigtable V2 API class Google::Cloud::Bigtable::V2::ReadModifyWriteRule.

Specifies an atomic read/modify/write operation on the latest value of the
specified column.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #append_value

    def append_value() -> ::String

**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- Rule specifying that `append_value` be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.


  Note: The following fields are mutually exclusive: `append_value`, `increment_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #append_value=

    def append_value=(value) -> ::String

**Parameter**

- **value** ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- Rule specifying that `append_value` be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.


  Note: The following fields are mutually exclusive: `append_value`, `increment_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- Rule specifying that `append_value` be appended to the existing value. If the targeted cell is unset, it will be treated as containing the empty string.


  Note: The following fields are mutually exclusive: `append_value`, `increment_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #column_qualifier

    def column_qualifier() -> ::String

**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

### #column_qualifier=

    def column_qualifier=(value) -> ::String

**Parameter**

- **value** ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.
**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The qualifier of the column to which the read/modify/write should be applied. Can be any byte string, including the empty string.

### #family_name

    def family_name() -> ::String

**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The name of the family to which the read/modify/write should be applied. Must match `[-_.a-zA-Z0-9]+`

### #family_name=

    def family_name=(value) -> ::String

**Parameter**

- **value** ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The name of the family to which the read/modify/write should be applied. Must match `[-_.a-zA-Z0-9]+`
**Returns**

- ([::String](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigtable-v2/latest/Google-Cloud-Bigtable-V2-Type-String)) --- The name of the family to which the read/modify/write should be applied. Must match `[-_.a-zA-Z0-9]+`

### #increment_amount

    def increment_amount() -> ::Integer

**Returns**

- (::Integer) --- Rule specifying that `increment_amount` be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.


  Note: The following fields are mutually exclusive: `increment_amount`, `append_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #increment_amount=

    def increment_amount=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Rule specifying that `increment_amount` be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.


  Note: The following fields are mutually exclusive: `increment_amount`, `append_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- (::Integer) --- Rule specifying that `increment_amount` be added to the existing value. If the targeted cell is unset, it will be treated as containing a zero. Otherwise, the targeted cell must contain an 8-byte value (interpreted as a 64-bit big-endian signed integer), or the entire request will fail.


  Note: The following fields are mutually exclusive: `increment_amount`, `append_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.