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.
Implements
IMessageRestoreConfigTypesTransformationRule, IEquatableRestoreConfigTypesTransformationRule, IDeepCloneableRestoreConfigTypesTransformationRule, IBufferMessage, IMessageNamespace
Google.Cloud.GkeBackup.V1Assembly
Google.Cloud.GkeBackup.V1.dll
Constructors
TransformationRule()
public TransformationRule()
TransformationRule(TransformationRule)
public TransformationRule(RestoreConfig.Types.TransformationRule other)
Parameter | |
---|---|
Name | Description |
other |
RestoreConfigTypesTransformationRule |
Properties
Description
public string Description { get; set; }
Optional. The description is a user specified string description of the transformation rule.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldRestoreConfigTypesTransformationRuleAction |
ResourceFilter
public RestoreConfig.Types.ResourceFilter ResourceFilter { get; set; }
Optional. 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 | |
---|---|
Type | Description |
RestoreConfigTypesResourceFilter |