View Source GoogleApi.GKEBackup.V1.Model.Filter (google_api_gke_backup v0.6.1)

Defines the filter for Restore. This filter can be used to further refine the resource selection of the Restore beyond the coarse-grained scope defined in the RestorePlan. exclusion_filters take precedence over inclusion_filters. If a resource matches both inclusion_filters and exclusion_filters, it will not be restored.

Attributes

  • exclusionFilters (type: list(GoogleApi.GKEBackup.V1.Model.ResourceSelector.t), default: nil) - Optional. Excludes resources from restoration. If specified, a resource will not be restored if it matches any ResourceSelector of the exclusion_filters.
  • inclusionFilters (type: list(GoogleApi.GKEBackup.V1.Model.ResourceSelector.t), default: nil) - Optional. Selects resources for restoration. If specified, only resources which match inclusion_filters will be selected for restoration. A resource will be selected if it matches any ResourceSelector of the inclusion_filters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.GKEBackup.V1.Model.Filter{
  exclusionFilters: [GoogleApi.GKEBackup.V1.Model.ResourceSelector.t()] | nil,
  inclusionFilters: [GoogleApi.GKEBackup.V1.Model.ResourceSelector.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.