Reference documentation and code samples for the Google Cloud Backup Dr V1beta Client class TriggerSummary.
TriggerSummary contains the results of the most recent automated restore
initiation and the next scheduled execution time.
Generated from protobuf message google.cloud.backupdr.v1beta.TriggerSummary
Namespace
Google \ Cloud \ BackupDR \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ last_trigger_time |
Google\Protobuf\Timestamp
Output only. The time of the most recent trigger initiation. |
↳ next_trigger_time |
Google\Protobuf\Timestamp
Output only. The scheduled time of the next trigger initiation. |
↳ last_trigger_error |
Google\Rpc\Status
Output only. The error status of the most recent failed trigger. |
↳ last_verification_execution |
string
Output only. The resource name of the most recent initiated RestoreTemplateExecution. Format: |
getLastTriggerTime
Output only. The time of the most recent trigger initiation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasLastTriggerTime
clearLastTriggerTime
setLastTriggerTime
Output only. The time of the most recent trigger initiation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextTriggerTime
Output only. The scheduled time of the next trigger initiation.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasNextTriggerTime
clearNextTriggerTime
setNextTriggerTime
Output only. The scheduled time of the next trigger initiation.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastTriggerError
Output only. The error status of the most recent failed trigger.
| Returns | |
|---|---|
| Type | Description |
Google\Rpc\Status|null |
|
hasLastTriggerError
clearLastTriggerError
setLastTriggerError
Output only. The error status of the most recent failed trigger.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Rpc\Status
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastVerificationExecution
Output only. The resource name of the most recent initiated RestoreTemplateExecution.
Format:
projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}
| Returns | |
|---|---|
| Type | Description |
string |
|
setLastVerificationExecution
Output only. The resource name of the most recent initiated RestoreTemplateExecution.
Format:
projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|