NAME

Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy - Compiled Protocol Buffers messages for google/cloud/backupdr/v1/appliedautoprotectionpolicy.proto

SYNOPSIS

use Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy;

my $msg = Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy->new({
    name => $name,
    source_binding => $source_binding,
    criteria => $criteria,
    backup_plan_details => $backup_plan_details,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/appliedautoprotectionpolicy.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::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy

AppliedAutoProtectionPolicy is a read-only view of AutoProtectionPolicy and AutoProtectionPolicyBinding resources that apply to a given workload project.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifier. Canonical resource name. Format: projects/{workload-project-number}/locations/{location}/appliedAutoProtectionPolicies/{id}.

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

    Type: String

    Output only. The full resource name of the AutoProtectionPolicyBinding that applies the source policy to a scope including this workload project. e.g., projects/{admin-project}/locations/{location}/autoProtectionPolicies/{policy_id}/autoProtectionPolicyBindings/{binding_id}.

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

    Type: Message (Google::Cloud::Backupdr::V1::Autoprotectionpolicy::Criteria)

    Output only. The criteria resources must meet for this rule to apply. From AutoProtectionPolicy.criteria.

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

    Type: Message (Google::Cloud::Backupdr::V1::Autoprotectionpolicy::BackupPlanDetail)

    Output only. The set of backup plan configurations, mirroring the backup_plan_details from the source AutoProtectionPolicy. Each element specifies a backup plan for a given resource type.

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

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

    Output only. Timestamp indicating when the binding was last modified.

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

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

    Output only. Timestamp indicating when the binding was last created.

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

    Type: Message (Google::Cloud::Backupdr::V1::Autoprotectionpolicybinding::BindingEvaluationSummary)

    Output only. The summary of the last policy application when the job has run.

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

    Type: Enum (Google::Cloud::Backupdr::V1::AppliedAutoProtectionPolicy::State)

    Output only. The status of the applied auto protection policy.

Enum: AppliedAutoProtectionPolicy::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETION_INITIATED => 3

Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesRequest

Request message for listing AppliedAutoProtectionPolicies.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve the list of applied policies. Format: projects/{project}/locations/{location}

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

    Type: Int32

    Optional. The maximum number of applied policies to return in a single page. The maximum value is 1000; values above 1000 will be coerced to 1000. If unspecified or set to 0, a default page size of 500 will be used.

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

    Type: String

    Optional. A page token, received from a previous `ListAppliedAutoProtectionPolicies` call.

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

    Type: String

    Optional. A filter expression that filters resources listed in the response.

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

    Type: String

    Optional. An expression that sorts the results in the response.

Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::ListAppliedAutoProtectionPoliciesResponse

Response message for ListAppliedAutoProtectionPolicies.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::AppliedAutoProtectionPolicy)

    A list of the AppliedAutoProtectionPolicy resources found.

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

    Type: String

    A token that can be sent as `page_token` to retrieve the next page.

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

    Type: String

    Unordered list. Locations that could not be reached. For example, "projects/my-project/locations/us-east1"].

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Backupdr::V1::Appliedautoprotectionpolicy::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.