Google Cloud Gke Backup V1 Client - Class TransformationRuleAction (1.0.0)

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

TransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)

Generated from protobuf message google.cloud.gkebackup.v1.RestoreConfig.TransformationRuleAction

Namespace

Google \ Cloud \ GkeBackup \ V1 \ RestoreConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ op int

Required. op specifies the operation to perform.

↳ from_path string

Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.

↳ path string

Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.

↳ value string

Optional. A string that specifies the desired value in string format to use for transformation.

getOp

Required. op specifies the operation to perform.

Returns
Type Description
int

setOp

Required. op specifies the operation to perform.

Parameter
Name Description
var int
Returns
Type Description
$this

getFromPath

Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.

Returns
Type Description
string

setFromPath

Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.

Parameter
Name Description
var string
Returns
Type Description
$this

getPath

Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.

Returns
Type Description
string

setPath

Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Optional. A string that specifies the desired value in string format to use for transformation.

Returns
Type Description
string

setValue

Optional. A string that specifies the desired value in string format to use for transformation.

Parameter
Name Description
var string
Returns
Type Description
$this