Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::Restore::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exclusion_filters
def exclusion_filters() -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>-
(::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Excludes resources from restoration. If specified,
a resource will not be restored if it matches
any
ResourceSelectorof theexclusion_filters.
#exclusion_filters=
def exclusion_filters=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>-
value (::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Excludes resources from restoration. If specified,
a resource will not be restored if it matches
any
ResourceSelectorof theexclusion_filters.
-
(::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Excludes resources from restoration. If specified,
a resource will not be restored if it matches
any
ResourceSelectorof theexclusion_filters.
#inclusion_filters
def inclusion_filters() -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>-
(::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Selects resources for restoration. If specified, only resources
which match
inclusion_filterswill be selected for restoration. A resource will be selected if it matches anyResourceSelectorof theinclusion_filters.
#inclusion_filters=
def inclusion_filters=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>-
value (::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Selects resources for restoration. If specified, only resources
which match
inclusion_filterswill be selected for restoration. A resource will be selected if it matches anyResourceSelectorof theinclusion_filters.
-
(::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — Optional. Selects resources for restoration. If specified, only resources
which match
inclusion_filterswill be selected for restoration. A resource will be selected if it matches anyResourceSelectorof theinclusion_filters.