Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class BindingMatchingResource.
BindingMatchingResource contains the details of a resource that matches the criteria of a binding.
Generated from protobuf message google.cloud.backupdr.v1beta.BindingMatchingResource
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. The resource name of the |
↳ resource |
string
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., |
↳ last_evaluation_time |
Google\Protobuf\Timestamp
Output only. The timestamp when the resource was last evaluated for protection. |
↳ auto_protection_details |
AutoProtectionDetails
Output only. The auto protection details of the resource from the current binding's perspective. |
getName
Identifier. The resource name of the BindingMatchingResource.
Format:
projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. The resource name of the BindingMatchingResource.
Format:
projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResource
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.,
projects/my-project/zones/us-central1-a/instances/my-instance) or a
schemeless full resource name (e.g.,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance).
| Returns | |
|---|---|
| Type | Description |
string |
|
setResource
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.,
projects/my-project/zones/us-central1-a/instances/my-instance) or a
schemeless full resource name (e.g.,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastEvaluationTime
Output only. The timestamp when the resource was last evaluated for protection.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasLastEvaluationTime
clearLastEvaluationTime
setLastEvaluationTime
Output only. The timestamp when the resource was last evaluated for protection.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAutoProtectionDetails
Output only. The auto protection details of the resource from the current binding's perspective.
| Returns | |
|---|---|
| Type | Description |
AutoProtectionDetails|null |
|
hasAutoProtectionDetails
clearAutoProtectionDetails
setAutoProtectionDetails
Output only. The auto protection details of the resource from the current binding's perspective.
| Parameter | |
|---|---|
| Name | Description |
var |
AutoProtectionDetails
|
| Returns | |
|---|---|
| Type | Description |
$this |
|