Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class BindingEvaluationSummary.
BindingEvaluationSummary contains the summary of the last run of job that applies policy to matching resources for a given binding.
Generated from protobuf message google.cloud.backupdr.v1beta.BindingEvaluationSummary
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__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 |
|