Google Cloud Gke Backup V1 Client - Class TransformationRuleAction (0.6.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ op int

Required. op specifies the operation to perform.

↳ from_path string

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

↳ path string

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

↳ value string

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

getOp

Required. op specifies the operation to perform.

Returns
TypeDescription
int

setOp

Required. op specifies the operation to perform.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFromPath

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

Returns
TypeDescription
string

setFromPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPath

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

Returns
TypeDescription
string

setPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

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

Returns
TypeDescription
string

setValue

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this