Class 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.
Implements
Inherited Members
Namespace: Google.Apis.BackupforGKE.v1.Data
Assembly: Google.Apis.BackupforGKE.v1.dll
Syntax
public class Filter : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExclusionFilters
Optional. Excludes resources from restoration. If specified, a resource will not be restored if it matches
any ResourceSelector
of the exclusion_filters
.
Declaration
[JsonProperty("exclusionFilters")]
public virtual IList<ResourceSelector> ExclusionFilters { get; set; }
Property Value
Type | Description |
---|---|
IList<ResourceSelector> |
InclusionFilters
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
.
Declaration
[JsonProperty("inclusionFilters")]
public virtual IList<ResourceSelector> InclusionFilters { get; set; }
Property Value
Type | Description |
---|---|
IList<ResourceSelector> |