# Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction (v1.8.0)

1.8.0 (latest) 1.7.1 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.0 0.10.1 0.9.0 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #from_path

    def from_path() -> ::String

**Returns**

- (::String) --- Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.

### #from_path=

    def from_path=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
**Returns**

- (::String) --- Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.

### #op

    def op() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op

**Returns**

- ([::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreConfig-TransformationRuleAction-Op)) --- Required. op specifies the operation to perform.

### #op=

    def op=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op

**Parameter**

- **value** ([::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreConfig-TransformationRuleAction-Op)) --- Required. op specifies the operation to perform.
**Returns**

- ([::Google::Cloud::GkeBackup::V1::RestoreConfig::TransformationRuleAction::Op](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-gke_backup-v1/latest/Google-Cloud-GkeBackup-V1-RestoreConfig-TransformationRuleAction-Op)) --- Required. op specifies the operation to perform.

### #path

    def path() -> ::String

**Returns**

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

### #path=

    def path=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
**Returns**

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

### #value

    def value() -> ::String

**Returns**

- (::String) --- Optional. A string that specifies the desired value in string format to use for transformation.

### #value=

    def value=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A string that specifies the desired value in string format to use for transformation.
**Returns**

- (::String) --- Optional. A string that specifies the desired value in string format to use for transformation.