Service Client: Google::Cloud::Backupdr::V1::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::V1::ProtectionSummary - Compiled Protocol Buffers messages for google/cloud/backupdr/v1/protection_summary.proto
SYNOPSIS
use Google::Cloud::Backupdr::V1::ProtectionSummary;
my $msg = Google::Cloud::Backupdr::V1::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::V1::ProtectionSummary::ListResourceBackupConfigsRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/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::V1::ProtectionSummary::ListResourceBackupConfigsRequest
Request for ListResourceBackupConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. 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:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results.
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. Hint for how to order the results.
Google::Cloud::Backupdr::V1::ProtectionSummary::ListResourceBackupConfigsResponse
Response for ListResourceBackupConfigs.
Inherits from Protobuf::Message.
Accessors
$msg->resource_backup_configs()/$msg->resource_backup_configs($value)Type:
Message(Google::Cloud::Backupdr::V1::ProtectionSummary::ResourceBackupConfig)The list of ResourceBackupConfigs for the specified scope.
$msg->next_page_token()/$msg->next_page_token($value)Type:
StringA token identifying a page of results the server should return.
Google::Cloud::Backupdr::V1::ProtectionSummary::ResourceBackupConfig
ResourceBackupConfig represents a resource along with its backup configurations.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringIdentifier. The resource name of the ResourceBackupConfig. Format: projects/{project}/locations/{location}/resourceBackupConfigs/{uid}
$msg->uid()/$msg->uid($value)Type:
StringOutput only. The unique identifier of the resource backup config.
$msg->target_resource()/$msg->target_resource($value)Type:
StringOutput 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.v1.ResourceBackupConfig.ResourceType].
$msg->target_resource_display_name()/$msg->target_resource_display_name($value)Type:
StringOutput only. The human friendly name of the target resource.
$msg->target_resource_type()/$msg->target_resource_type($value)Type:
Enum(Google::Cloud::Backupdr::V1::ResourceBackupConfig::ResourceType)Output only. The type of the target resource.
$msg->target_resource_labels()/$msg->target_resource_labels($value)Type:
Message(Google::Cloud::Backupdr::V1::ProtectionSummary::ResourceBackupConfig::TargetResourceLabelsEntry)Labels associated with the target resource.
$msg->backup_configs_details()/$msg->backup_configs_details($value)Type:
Message(Google::Cloud::Backupdr::V1::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:
BoolOutput 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:
BoolOutput 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.v1.ResourceBackupConfig.backup_configs_details] has a backup configuration with [BackupConfigDetails.backup_vault][google.cloud.backupdr.v1.BackupConfigDetails.backup_vault] set. set.
Enum: ResourceBackupConfig::ResourceType
RESOURCE_TYPE_UNSPECIFIED=>0CLOUD_SQL_INSTANCE=>1COMPUTE_ENGINE_VM=>2COMPUTE_ENGINE_DISK=>3COMPUTE_ENGINE_REGIONAL_DISK=>4
Google::Cloud::Backupdr::V1::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_config_source()/$msg->backup_config_source($value)Type:
StringOutput 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:
StringOutput only. The display name of the backup config source resource.
$msg->type()/$msg->type($value)Type:
Enum(Google::Cloud::Backupdr::V1::BackupConfigDetails::Type)Output only. The type of the backup config resource.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Backupdr::V1::BackupConfigDetails::State)Output only. The state of the backup config resource.
$msg->pitr_settings()/$msg->pitr_settings($value)Type:
Message(Google::Cloud::Backupdr::V1::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:
StringOutput 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:
StringOutput 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::V1::ProtectionSummary::BackupLocation)The locations where the backups are to be stored.
$msg->backup_dr_plan_config()/$msg->backup_dr_plan_config($value)Type:
Message(Google::Cloud::Backupdr::V1::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::V1::ProtectionSummary::BackupDrTemplateConfig)Google Cloud Backup and DR's Template specific data.
Enum: BackupConfigDetails::Type
TYPE_UNSPECIFIED=>0CLOUD_SQL_INSTANCE_BACKUP_CONFIG=>1COMPUTE_ENGINE_RESOURCE_POLICY=>2BACKUPDR_BACKUP_PLAN=>3BACKUPDR_TEMPLATE=>4
Enum: BackupConfigDetails::State
STATE_UNSPECIFIED=>0ACTIVE=>1INACTIVE=>2ERROR=>3
Google::Cloud::Backupdr::V1::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:
Int32Output only. Number of days to retain the backup.
Google::Cloud::Backupdr::V1::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:
StringOutput 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:
StringOutput only. The URI of the BackupDr template resource for the third party identity users.
Google::Cloud::Backupdr::V1::ProtectionSummary::BackupDrPlanConfig
BackupDrPlanConfig has additional information about Google Cloud Backup and DR's Plan backup configuration.
Inherits from Protobuf::Message.
Accessors
$msg->backup_dr_plan_rules()/$msg->backup_dr_plan_rules($value)Type:
Message(Google::Cloud::Backupdr::V1::ProtectionSummary::BackupDrPlanRule)Backup rules of the backup plan resource.
Google::Cloud::Backupdr::V1::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:
StringOutput 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::V1::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::V1::BackupLocation::Type)Output only. The type of the location.
$msg->location_id()/$msg->location_id($value)Type:
StringOutput only. The id of the cloud location. Example: "us-central1"
Enum: BackupLocation::Type
TYPE_UNSPECIFIED=>0ZONAL=>1REGIONAL=>2MULTI_REGIONAL=>3
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1::ProtectionSummary::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.