Module: Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op

Defined in:
proto_docs/google/cloud/gkebackup/v1/restore.rb

Overview

Possible values for operations of a transformation rule action.

Constant Summary collapse

OP_UNSPECIFIED =

Unspecified operation

0
REMOVE =

The "remove" operation removes the value at the target location.

1
MOVE =

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

2
COPY =

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

3
ADD =

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

  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.
4
TEST =

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

5
REPLACE =

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.

6