Service Client: Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrProtectionSummaryClient

Client stub representing the remote BackupDrProtectionSummary gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to backupdr.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

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

SYNOPSIS

use Google::Cloud::Backupdr::V1beta::ProtectionSummary;

my $msg = Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1beta/protection_summary.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::ProtectionSummary::ListResourceBackupConfigsRequest

Request for ListResourceBackupConfigs.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve resource backup configs. Format: 'projects/{project_id}/locations/{location}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will use 100 as default. Maximum value is 500 and values above 500 will be coerced to 500.

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

    Type: String

    Optional. A token identifying a page of results the server should return.

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

    Type: String

    Optional. Filtering results.

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

    Type: String

    Optional. Hint for how to order the results.

Google::Cloud::Backupdr::V1beta::ProtectionSummary::ListResourceBackupConfigsResponse

Response for ListResourceBackupConfigs.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig

ResourceBackupConfig represents a resource along with its backup configurations.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}

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

    Type: String

    Output only. The unique identifier of the resource backup config.

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

    Type: String

    Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the cloud resource that this configuration applies to. Supported resource types are [ResourceBackupConfig.ResourceType][google.cloud.backupdr.v1beta.ResourceBackupConfig.ResourceType].

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

    Type: String

    Output only. The human friendly name of the target resource.

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::ResourceBackupConfig::ResourceType)

    Output only. The type of the target resource.

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::ResourceBackupConfig::TargetResourceLabelsEntry)

    Labels associated with the target resource.

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupConfigDetails)

    Backup configurations applying to the target resource, including those targeting its related/child resources. For example, backup configuration applicable to Compute Engine disks will be populated in this field for a Compute Engine VM which has the disk associated.

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

    Type: Bool

    Output only. Whether the target resource is configured for backup. This is true if the backup_configs_details is not empty.

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

    Type: Bool

    Output only. Whether the target resource is protected by a backup vault. This is true if the backup_configs_details is not empty and any of the [ResourceBackupConfig.backup_configs_details][google.cloud.backupdr.v1beta.ResourceBackupConfig.backup_configs_details] has a backup configuration with [BackupConfigDetails.backup_vault][google.cloud.backupdr.v1beta.BackupConfigDetails.backup_vault] set.

Enum: ResourceBackupConfig::ResourceType

  • RESOURCE_TYPE_UNSPECIFIED => 0

  • CLOUD_SQL_INSTANCE => 1

  • COMPUTE_ENGINE_VM => 2

  • COMPUTE_ENGINE_DISK => 3

  • COMPUTE_ENGINE_REGIONAL_DISK => 4

Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupConfigDetails

BackupConfigDetails has information about how the resource is configured for backups and about the most recent backup taken for this configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanConfig)

    Google Cloud Backup and DR's Backup Plan specific data.

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrTemplateConfig)

    Google Cloud Backup and DR's Template specific data.

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

    Type: String

    Output only. The full resource name of the backup config source resource. For example, "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupPlans/{backupplanId}" or "//compute.googleapis.com/projects/{project}/locations/{region}/resourcePolicies/{resourcePolicyId}".

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

    Type: String

    Output only. The display name of the backup config source resource.

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::BackupConfigDetails::Type)

    Output only. The type of the backup config resource.

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

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

    Output only. The state of the backup config resource.

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::PitrSettings)

    Output only. Point in time recovery settings of the backup configuration resource.

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

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

    Output only. Timestamp of the latest successful backup created via this backup configuration.

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

    Type: String

    Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the resource that is applicable for the backup configuration. Example: "//compute.googleapis.com/projects/{project}/zones/{zone}/instances/{instance}"

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

    Type: String

    Output only. The [full resource name](https://cloud.google.com/asset-inventory/docs/resource-name-format) of the backup vault that will store the backups generated through this backup configuration. Example: "//backupdr.googleapis.com/v1/projects/{project}/locations/{region}/backupVaults/{backupvaultId}"

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

    Type: Message (Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupLocation)

    The locations where the backups are to be stored.

Enum: BackupConfigDetails::Type

  • TYPE_UNSPECIFIED => 0

  • CLOUD_SQL_INSTANCE_BACKUP_CONFIG => 1

  • COMPUTE_ENGINE_RESOURCE_POLICY => 2

  • BACKUPDR_BACKUP_PLAN => 3

  • BACKUPDR_TEMPLATE => 4

Enum: BackupConfigDetails::State

  • STATE_UNSPECIFIED => 0

  • ACTIVE => 1

  • INACTIVE => 2

  • ERROR => 3

Google::Cloud::Backupdr::V1beta::ProtectionSummary::PitrSettings

Point in time recovery settings of the backup configuration resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int32

    Output only. Number of days to retain the backup.

Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrTemplateConfig

Provides additional information about Google Cloud Backup and DR's Template backup configuration.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The URI of the BackupDr template resource for the first party identity users.

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

    Type: String

    Output only. The URI of the BackupDr template resource for the third party identity users.

Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanConfig

BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupDrPlanRule

BackupDrPlanRule has rule specific information of the backup plan resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Unique Id of the backup rule.

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

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

    Output only. Timestamp of the latest successful backup created via this backup rule.

Google::Cloud::Backupdr::V1beta::ProtectionSummary::BackupLocation

BackupLocation represents a cloud location where a backup can be stored.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::BackupLocation::Type)

    Output only. The type of the location.

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

    Type: String

    Output only. The id of the cloud location. Example: "us-central1"

Enum: BackupLocation::Type

  • TYPE_UNSPECIFIED => 0

  • ZONAL => 1

  • REGIONAL => 2

  • MULTI_REGIONAL => 3

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.