Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::RestoreVerificationPlan.
A RestoreVerificationPlan specifies the scheduling and clean-up template
for automated restore verification. It contains a schedule to dictate when
the verifications should run, and a RestoreVerificationCleanupRule for
post-verification resource deletion.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — Output only. When the
RestoreVerificationPlanwas created.
#description
def description() -> ::String-
(::String) — Optional. The description of the
RestoreVerificationPlanresource.The description allows for additional details about
RestoreVerificationPlanand its use cases to be provided. An example description is the following: "This is a restore verification plan that performs a daily verification and cleans up the resources immediately after." The description must be at most 2048 characters.
#description=
def description=(value) -> ::String-
value (::String) — Optional. The description of the
RestoreVerificationPlanresource.The description allows for additional details about
RestoreVerificationPlanand its use cases to be provided. An example description is the following: "This is a restore verification plan that performs a daily verification and cleans up the resources immediately after." The description must be at most 2048 characters.
-
(::String) — Optional. The description of the
RestoreVerificationPlanresource.The description allows for additional details about
RestoreVerificationPlanand its use cases to be provided. An example description is the following: "This is a restore verification plan that performs a daily verification and cleans up the resources immediately after." The description must be at most 2048 characters.
#failure_cleanup_rule
def failure_cleanup_rule() -> ::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule- (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification fails.
#failure_cleanup_rule=
def failure_cleanup_rule=(value) -> ::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule- value (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification fails.
- (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification fails.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User-defined labels.
#name
def name() -> ::String-
(::String) — Output only. Identifier. The resource name of the
RestoreVerificationPlan.Format:
projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}
#schedule
def schedule() -> ::String-
(::String) — Required. Describes the schedule on which the restore verification will be
executed.
The schedule is specified as a Crontab string.
#schedule=
def schedule=(value) -> ::String-
value (::String) — Required. Describes the schedule on which the restore verification will be
executed.
The schedule is specified as a Crontab string.
-
(::String) — Required. Describes the schedule on which the restore verification will be
executed.
The schedule is specified as a Crontab string.
#state
def state() -> ::Google::Cloud::BackupDR::V1::RestoreVerificationPlan::State-
(::Google::Cloud::BackupDR::V1::RestoreVerificationPlan::State) — Output only. The
Statefor theRestoreVerificationPlan.
#success_cleanup_rule
def success_cleanup_rule() -> ::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule- (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification succeeds.
#success_cleanup_rule=
def success_cleanup_rule=(value) -> ::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule- value (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification succeeds.
- (::Google::Cloud::BackupDR::V1::RestoreVerificationCleanupRule) — Optional. The cleanup rule to apply if the restore verification succeeds.
#time_zone
def time_zone() -> ::String-
(::String) — Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to
UTCif not specified.
#time_zone=
def time_zone=(value) -> ::String-
value (::String) — Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to
UTCif not specified.
-
(::String) — Optional. Specifies the time zone to be used in interpreting
schedule.
The value of this field must be a time zone name from the tz
database, like
"America/New_York" or "UTC". Defaults to
UTCif not specified.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp-
(::Google::Protobuf::Timestamp) — Output only. When the
RestoreVerificationPlanwas last updated.