Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::Restore::Filter (v0.10.0)

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>
Returns

#exclusion_filters=

def exclusion_filters=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>
Parameter
Returns

#inclusion_filters

def inclusion_filters() -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — 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.

#inclusion_filters=

def inclusion_filters=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>
Parameter
  • value (::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — 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.
Returns
  • (::Array<::Google::Cloud::GkeBackup::V1::ResourceSelector>) — 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.