Google Cloud Gke Backup V1 Client - Class Filter (1.0.3)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client 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.

Generated from protobuf message google.cloud.gkebackup.v1.Restore.Filter

Namespace

Google \ Cloud \ GkeBackup \ V1 \ Restore

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ inclusion_filters
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 .

↳ exclusion_filters
array< Google\Cloud\GkeBackup\V1\ResourceSelector >

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

getInclusionFilters

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
Type
Description

setInclusionFilters

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 .

Parameter
Name
Description
Returns
Type
Description
$this

getExclusionFilters

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

Returns
Type
Description

setExclusionFilters

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: