Resource: BindingMatchingResource
BindingMatchingResource contains the details of a resource that matches the criteria of a binding.
| JSON representation |
|---|
{
"name": string,
"resource": string,
"lastEvaluationTime": string,
"autoProtectionDetails": {
object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
resource |
Required. Immutable. Resource name of the workload that matches the criteria of the binding. The format can be either a relative resource name (e.g., |
lastEvaluationTime |
Output only. The timestamp when the resource was last evaluated for protection. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
autoProtectionDetails |
Output only. The auto protection details of the resource from the current binding's perspective. |
AutoProtectionDetails
AutoProtectionDetails contains the protection details of a resource from the current binding's perspective.
| JSON representation |
|---|
{ "state": enum ( |
| Fields | |
|---|---|
state |
Output only. Protection state of the resource from the current binding's perspective. Output only. |
backupPlanAssociation |
Output only. Resource name of backup plan association linked to the resource, if any. Format: projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId} |
dataSource |
Output only. Resource name of the datasource linked to the resource, if any. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{dataSourceId} |
error |
Output only. Error during last sync for protection/unprotection, if any. |
State
Enum for protection state of the resource.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
State unspecified. |
PROTECTED |
Resource is protected. |
PROTECTION_FAILED |
Resource protection failed. |
UNPROTECTING |
Resource is being unprotected. |
UNPROTECTION_FAILED |
Resource unprotection failed. |
Methods |
|
|---|---|
|
Gets details of a single Binding Matching Resource. |
|
Lists Binding Matching Resources for a given AutoProtectionPolicyBinding. |