Backup for GKE v1 API - Class RestoreConfig.Types.TransformationRule (2.2.0)

public sealed class RestoreConfig.Types.TransformationRule : IMessage<RestoreConfig.Types.TransformationRule>, IEquatable<RestoreConfig.Types.TransformationRule>, IDeepCloneable<RestoreConfig.Types.TransformationRule>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class RestoreConfig.Types.TransformationRule.

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.

Inheritance

object > RestoreConfig.Types.TransformationRule

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

TransformationRule()

public TransformationRule()

TransformationRule(TransformationRule)

public TransformationRule(RestoreConfig.Types.TransformationRule other)
Parameter
NameDescription
otherRestoreConfigTypesTransformationRule

Properties

Description

public string Description { get; set; }

The description is a user specified string description of the transformation rule.

Property Value
TypeDescription
string

FieldActions

public RepeatedField<RestoreConfig.Types.TransformationRuleAction> FieldActions { get; }

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.

Property Value
TypeDescription
RepeatedFieldRestoreConfigTypesTransformationRuleAction

ResourceFilter

public RestoreConfig.Types.ResourceFilter ResourceFilter { get; set; }

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.

Property Value
TypeDescription
RestoreConfigTypesResourceFilter