Class TransformationRule (0.5.7)

TransformationRule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to transform) and transformation logic.

Attributes

NameDescription
field_actions MutableSequence[google.cloud.gke_backup_v1.types.RestoreConfig.TransformationRuleAction]
Required. A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
resource_filter google.cloud.gke_backup_v1.types.RestoreConfig.ResourceFilter
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
description str
The description is a user specified string description of the transformation rule.