Google Cloud Gke Backup V1 Client - Class Op (0.7.2)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class Op.

Possible values for operations of a transformation rule action.

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

Namespace

Google \ Cloud \ GkeBackup \ V1 \ RestoreConfig \ TransformationRuleAction

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

OP_UNSPECIFIED

Value: 0

Unspecified operation

Generated from protobuf enum OP_UNSPECIFIED = 0;

REMOVE

Value: 1

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

Generated from protobuf enum REMOVE = 1;

MOVE

Value: 2

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

Generated from protobuf enum MOVE = 2;

COPY

Value: 3

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

Generated from protobuf enum COPY = 3;

ADD

Value: 4

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.

Generated from protobuf enum ADD = 4;

TEST

Value: 5

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

Generated from protobuf enum TEST = 5;

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.

Generated from protobuf enum REPLACE = 6;