Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class Filter.
Defines the filter forRestore. This filter can be used to further
refine the resource selection of theRestorebeyond the coarse-grained
scope defined in theRestorePlan.exclusion_filterstake precedence
overinclusion_filters. If a resource matches bothinclusion_filtersandexclusion_filters, it will not be restored.
Generated from protobuf messagegoogle.cloud.gkebackup.v1.Restore.Filter
Optional. Selects resources for restoration. If specified, only resources which matchinclusion_filterswill be selected for restoration. A resource will be selected if it matches anyResourceSelectorof theinclusion_filters.
Optional. Excludes resources from restoration. If specified, a resource will not be restored if it matches anyResourceSelectorof theexclusion_filters.
getInclusionFilters
Optional. Selects resources for restoration. If specified, only resources
which matchinclusion_filterswill be selected for restoration. A
resource will be selected if it matches anyResourceSelectorof theinclusion_filters.
Optional. Selects resources for restoration. If specified, only resources
which matchinclusion_filterswill be selected for restoration. A
resource will be selected if it matches anyResourceSelectorof theinclusion_filters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class Filter (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.Restore.Filter)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.Restore.Filter)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.Restore.Filter)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.Restore.Filter)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.Restore.Filter)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.Restore.Filter)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.Restore.Filter)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.Restore.Filter)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.Restore.Filter)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.Restore.Filter)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.Restore.Filter) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class Filter.\n\nDefines the filter for `Restore`. This filter can be used to further\nrefine the resource selection of the `Restore` beyond the coarse-grained\nscope defined in the `RestorePlan`. `exclusion_filters` take precedence\nover `inclusion_filters`. If a resource matches both `inclusion_filters`\nand `exclusion_filters`, it will not be restored.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.Restore.Filter`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1 \\\\ Restore\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInclusionFilters\n\nOptional. Selects resources for restoration. If specified, only resources\nwhich match `inclusion_filters` will be selected for restoration. A\nresource will be selected if it matches any `ResourceSelector` of the\n`inclusion_filters`.\n\n### setInclusionFilters\n\nOptional. Selects resources for restoration. If specified, only resources\nwhich match `inclusion_filters` will be selected for restoration. A\nresource will be selected if it matches any `ResourceSelector` of the\n`inclusion_filters`.\n\n### getExclusionFilters\n\nOptional. Excludes resources from restoration. If specified,\na resource will not be restored if it matches\nany `ResourceSelector` of the `exclusion_filters`.\n\n### setExclusionFilters\n\nOptional. Excludes resources from restoration. If specified,\na resource will not be restored if it matches\nany `ResourceSelector` of the `exclusion_filters`."]]