Backup for GKE v1 API - Class Restore.Types.Filter (2.6.0)

public sealed class Restore.Types.Filter : IMessage<Restore.Types.Filter>, IEquatable<Restore.Types.Filter>, IDeepCloneable<Restore.Types.Filter>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class Restore.Types.Filter.

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.

Inheritance

object > Restore.Types.Filter

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

Filter()

public Filter()

Filter(Filter)

public Filter(Restore.Types.Filter other)
Parameter
Name Description
other RestoreTypesFilter

Properties

ExclusionFilters

public RepeatedField<ResourceSelector> ExclusionFilters { get; }

Optional. Excludes resources from restoration. If specified, a resource will not be restored if it matches any ResourceSelector of the exclusion_filters.

Property Value
Type Description
RepeatedFieldResourceSelector

InclusionFilters

public RepeatedField<ResourceSelector> InclusionFilters { get; }

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.

Property Value
Type Description
RepeatedFieldResourceSelector