NAME

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan - Compiled Protocol Buffers messages for google/cloud/backupdr/v1beta/restore_verification_plan.proto

SYNOPSIS

use Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan;

my $msg = Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationPlan->new({
    name => $name,
    description => $description,
    create_time => $create_time,
    update_time => $update_time,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationPlan->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1beta/restore_verification_plan.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::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 from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Output only. Identifier. The resource name of the `RestoreVerificationPlan`.

    Format: `projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}`

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. The description of the `RestoreVerificationPlan` resource.

    The description allows for additional details about `RestoreVerificationPlan` and 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.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the `RestoreVerificationPlan` was created.

  • $msg->update_time() / $msg->update_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. When the `RestoreVerificationPlan` was last updated.

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationPlan::LabelsEntry)

    Optional. User-defined labels.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::State)

    Output only. The `State` for the `RestoreVerificationPlan`.

  • $msg->schedule() / $msg->schedule($value)

    Type: String

    Required. Describes the schedule on which the restore verification will be executed.

    The schedule is specified as a [Crontab](https://en.wikipedia.org/wiki/Cron#Overview) string.

  • $msg->time_zone() / $msg->time_zone($value)

    Type: String

    Optional. Specifies the time zone to be used in interpreting [schedule][google.cloud.backupdr.v1beta.RestoreVerificationPlan.schedule]. The value of this field must be a time zone name from the [tz database](https://en.wikipedia.org/wiki/Tz_database), like "America/New_York" or "UTC". Defaults to `UTC` if not specified.

  • $msg->success_cleanup_rule() / $msg->success_cleanup_rule($value)

    Type: Message (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationCleanupRule)

    Optional. The cleanup rule to apply if the restore verification succeeds.

  • $msg->failure_cleanup_rule() / $msg->failure_cleanup_rule($value)

    Type: Message (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationCleanupRule)

    Optional. The cleanup rule to apply if the restore verification fails.

Enum: RestoreVerificationPlan::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • INACTIVE => 4

  • UPDATING => 5

  • ERROR => 6

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationCleanupRule

Defines the specific cleanup action.

Inherits from Protobuf::Message.

Accessors

  • $msg->cleanup_delay() / $msg->cleanup_delay($value)

    Type: Message (Google::Protobuf::Duration::Duration)

    Optional. Duration after restore finishes when cleanup triggers. Delay must be non-negative and at most 30 days (2592000 seconds).

  • $msg->skip_cleanup() / $msg->skip_cleanup($value)

    Type: Bool

    Optional. If set to true, the restored resource will not be cleaned up.

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::CreateRestoreVerificationPlanRequest

The request message for creating a `RestoreVerificationPlan`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The `RestoreVerificationPlan` project and location in the format `projects/{project}/locations/{location}`. In Google Cloud Backup and DR locations map to Google Cloud regions, for example us-central1.

  • $msg->restore_verification_plan_id() / $msg->restore_verification_plan_id($value)

    Type: String

    Required. The name of the `RestoreVerificationPlan` to create. The name must be unique for the specified project and location. The name must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens. Pattern, `^[a-z]([-a-z0-9]*[a-z0-9])?$`.

  • $msg->restore_verification_plan() / $msg->restore_verification_plan($value)

    Type: Message (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationPlan)

    Required. The `RestoreVerificationPlan` resource object to create.

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::GetRestoreVerificationPlanRequest

The request message for getting a `RestoreVerificationPlan`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the `RestoreVerificationPlan` to retrieve.

    Format: `projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}`

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::ListRestoreVerificationPlansRequest

The request message for getting a list of `RestoreVerificationPlans`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The project and location for which to retrieve `RestoreVerificationPlans` information. Format: `projects/{project}/locations/{location}`. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve restore verification plans for all locations, use "-" for the `{location}` value.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of `RestoreVerificationPlans` to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's [next_page_token][google.cloud.backupdr.v1beta.ListRestoreVerificationPlansResponse.next_page_token] to determine if there are more instances left to be queried.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. The value of [next_page_token][google.cloud.backupdr.v1beta.ListRestoreVerificationPlansResponse.next_page_token] received from a previous `ListRestoreVerificationPlans` call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to `ListRestoreVerificationPlans` must match the call that provided the page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Field match expression used to filter the results.

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Field by which to sort the results.

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::ListRestoreVerificationPlansResponse

The response message for getting a list of `RestoreVerificationPlans`.

Inherits from Protobuf::Message.

Accessors

  • $msg->restore_verification_plans() / $msg->restore_verification_plans($value)

    Type: Message (Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::RestoreVerificationPlan)

    The list of `RestoreVerificationPlans` in the project for the specified location.

    If the `{location}` value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token which may be sent as [page_token][google.cloud.backupdr.v1beta.ListRestoreVerificationPlansRequest.page_token] in a subsequent `ListRestoreVerificationPlans` call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::DeleteRestoreVerificationPlanRequest

The request message for deleting a `RestoreVerificationPlan`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The resource name of the `RestoreVerificationPlan` to delete.

    Format: `projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}`

  • $msg->request_id() / $msg->request_id($value)

    Type: String

    Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.

    For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

    The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

  • $msg->force() / $msg->force($value)

    Type: Bool

    Optional. If set to true, any RestoreVerificationPlanAssociations linked to this RestoreVerificationPlan will also be deleted.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1beta::RestoreVerificationPlan::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.