Enum RestoreConfig.TransformationRuleAction.Op (0.40.0)

public enum RestoreConfig.TransformationRuleAction.Op extends Enum<RestoreConfig.TransformationRuleAction.Op> implements ProtocolMessageEnum

Possible values for operations of a transformation rule action.

Protobuf enum google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction.Op

Implements

ProtocolMessageEnum

Static Fields

NameDescription
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.

ADD = 4;

ADD_VALUE

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.

ADD = 4;

COPY

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

COPY = 3;

COPY_VALUE

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

COPY = 3;

MOVE

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

MOVE = 2;

MOVE_VALUE

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

MOVE = 2;

OP_UNSPECIFIED

Unspecified operation

OP_UNSPECIFIED = 0;

OP_UNSPECIFIED_VALUE

Unspecified operation

OP_UNSPECIFIED = 0;

REMOVE

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

REMOVE = 1;

REMOVE_VALUE

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

REMOVE = 1;

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.

REPLACE = 6;

REPLACE_VALUE

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.

REPLACE = 6;

TEST

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

TEST = 5;

TEST_VALUE

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

TEST = 5;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()