View Source GoogleApi.GKEBackup.V1.Model.TransformationRule (google_api_gke_backup v0.6.0)

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

  • description (type: String.t, default: nil) - Optional. The description is a user specified string description of the transformation rule.
  • fieldActions (type: list(GoogleApi.GKEBackup.V1.Model.TransformationRuleAction.t), default: nil) - 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.
  • resourceFilter (type: GoogleApi.GKEBackup.V1.Model.ResourceFilter.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEBackup.V1.Model.TransformationRule{
  description: String.t() | nil,
  fieldActions:
    [GoogleApi.GKEBackup.V1.Model.TransformationRuleAction.t()] | nil,
  resourceFilter: GoogleApi.GKEBackup.V1.Model.ResourceFilter.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.