Class 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
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class TransformationRule : IDirectResponseSchema
Properties
Description
Optional. The description is a user specified string description of the transformation rule.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FieldActions
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.
Declaration
[JsonProperty("fieldActions")]
public virtual IList<TransformationRuleAction> FieldActions { get; set; }
Property Value
Type | Description |
---|---|
IList<TransformationRuleAction> |
ResourceFilter
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.
Declaration
[JsonProperty("resourceFilter")]
public virtual ResourceFilter ResourceFilter { get; set; }
Property Value
Type | Description |
---|---|
ResourceFilter |