Google Cloud Backup Dr V1beta Client - Class PolicyEvaluationSummary (0.15.1)

Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class PolicyEvaluationSummary.

PolicyEvaluationSummary contains the summary of the last run of job that applies policy to matching resources.

Generated from protobuf message google.cloud.backupdr.v1beta.PolicyEvaluationSummary

Namespace

Google \ Cloud \ BackupDR \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ matching_resource_count int|string

Output only. The number of resources that currently match the policy's criteria.

↳ protected_resource_count int|string

Output only. The number of matching resources that are successfully protected.

↳ failed_resource_count int|string

Output only. The number of matching resources whose protection failed during job run.

getMatchingResourceCount

Output only. The number of resources that currently match the policy's criteria.

Returns
Type Description
int|string

setMatchingResourceCount

Output only. The number of resources that currently match the policy's criteria.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getProtectedResourceCount

Output only. The number of matching resources that are successfully protected.

Returns
Type Description
int|string

setProtectedResourceCount

Output only. The number of matching resources that are successfully protected.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getFailedResourceCount

Output only. The number of matching resources whose protection failed during job run.

Returns
Type Description
int|string

setFailedResourceCount

Output only. The number of matching resources whose protection failed during job run.

Parameter
Name Description
var int|string
Returns
Type Description
$this