# Backup for GKE V1 API - Module Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API module Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op.

Possible values for operations of a transformation rule action.

## Constants

### OP_UNSPECIFIED

**value:** 0  
Unspecified operation

### REMOVE

**value:** 1  
The "remove" operation removes the value at the target location.

### MOVE

**value:** 2  
The "move" operation removes the value at a specified location and
adds it to the target location.

### COPY

**value:** 3  
The "copy" operation copies the value at a specified location to the
target location.

### ADD

**value:** 4  

The "add" operation performs one of the following functions,
depending upon what the target location references:

<br />

1. If the target location specifies an array index, a new value is inserted into the array at the specified index.
2. If the target location specifies an object member that does not already exist, a new member is added to the object.
3. If the target location specifies an object member that does exist, that member's value is replaced.

### TEST

**value:** 5  
The "test" operation tests that a value at the target location is
equal to a specified value.

### REPLACE

**value:** 6  
The "replace" operation replaces the value at the target location
with a new value. The operation object MUST contain a "value" member
whose content specifies the replacement value.