Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class RestoreVerificationPlanAssociation.
A RestoreVerificationPlanAssociation binds a specific workload to a
RestoreVerificationPlan.
Generated from protobuf message google.cloud.backupdr.v1beta.RestoreVerificationPlanAssociation
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ restore_template |
string
Required. Immutable. The canonical name of the RestoreTemplate to trigger. |
↳ name |
string
Output only. Identifier. The resource name of the |
↳ description |
string
Optional. The description of the |
↳ create_time |
Google\Protobuf\Timestamp
Output only. The time when the association was created. |
↳ update_time |
Google\Protobuf\Timestamp
Output only. The time when the association was updated. |
↳ state |
int
Output only. The |
↳ trigger_summary |
TriggerSummary
Output only. Results of the most recent automated restore initiation and the next scheduled execution time. |
↳ resource_type |
string
Required. Immutable. The type of the Google Cloud resource (e.g., |
↳ labels |
array|Google\Protobuf\Internal\MapField
Optional. User-defined labels. |
getRestoreTemplate
Required. Immutable. The canonical name of the RestoreTemplate to trigger.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasRestoreTemplate
setRestoreTemplate
Required. Immutable. The canonical name of the RestoreTemplate to trigger.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getName
Output only. Identifier. The resource name of the
RestoreVerificationPlanAssociation.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}/associations/{association}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Output only. Identifier. The resource name of the
RestoreVerificationPlanAssociation.
Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restore_verification_plan}/associations/{association}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDescription
Optional. The description of the RestoreVerificationPlanAssociation
resource.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDescription
Optional. The description of the RestoreVerificationPlanAssociation
resource.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreateTime
Output only. The time when the association was created.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the association was created.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateTime
Output only. The time when the association was updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the association was updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getState
Output only. The State for the RestoreVerificationPlanAssociation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. The State for the RestoreVerificationPlanAssociation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTriggerSummary
Output only. Results of the most recent automated restore initiation and the next scheduled execution time.
| Returns | |
|---|---|
| Type | Description |
TriggerSummary|null |
|
hasTriggerSummary
clearTriggerSummary
setTriggerSummary
Output only. Results of the most recent automated restore initiation and the next scheduled execution time.
| Parameter | |
|---|---|
| Name | Description |
var |
TriggerSummary
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceType
Required. Immutable. The type of the Google Cloud resource (e.g.,
compute.googleapis.com/Instance, sqladmin.googleapis.com/Instance).
| Returns | |
|---|---|
| Type | Description |
string |
|
setResourceType
Required. Immutable. The type of the Google Cloud resource (e.g.,
compute.googleapis.com/Instance, sqladmin.googleapis.com/Instance).
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Optional. User-defined labels.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Optional. User-defined labels.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssociation
| Returns | |
|---|---|
| Type | Description |
string |
|