Service Client: Google::Cloud::Backupdr::V1beta::Backupdr::BackupDRClient

Client stub representing the remote BackupDR 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::Backupdr - Compiled Protocol Buffers messages for google/cloud/backupdr/v1beta/backupdr.proto

SYNOPSIS

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

my $msg = Google::Cloud::Backupdr::V1beta::Backupdr::NetworkConfig->new({
    network => $network,
    peering_mode => $peering_mode,
});

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

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

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

DESCRIPTION

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

Network configuration for ManagementServer instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Optional. The resource name of the Google Compute Engine VPC network to which the ManagementServer instance is connected.

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::NetworkConfig::PeeringMode)

    Optional. The network connect mode of the ManagementServer instance. For this version, only PRIVATE_SERVICE_ACCESS is supported.

Enum: NetworkConfig::PeeringMode

  • PEERING_MODE_UNSPECIFIED => 0

  • PRIVATE_SERVICE_ACCESS => 1

Google::Cloud::Backupdr::V1beta::Backupdr::ManagementURI

ManagementURI for the Management Server resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The ManagementServer AGM/RD WebUI URL.

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

    Type: String

    Output only. The ManagementServer AGM/RD API URL.

Google::Cloud::Backupdr::V1beta::Backupdr::WorkforceIdentityBasedManagementURI

ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. First party Management URI for Google Identities.

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

    Type: String

    Output only. Third party Management URI for External Identity Providers.

Google::Cloud::Backupdr::V1beta::Backupdr::WorkforceIdentityBasedOAuth2ClientID

OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. First party OAuth Client ID for Google Identities.

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

    Type: String

    Output only. Third party OAuth Client ID for External Identity Providers.

Google::Cloud::Backupdr::V1beta::Backupdr::ManagementServer

ManagementServer describes a single BackupDR ManagementServer instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. The resource name.

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

    Type: String

    Optional. The description of the ManagementServer instance (2048 characters or less).

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

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

    Optional. Resource labels to represent user provided metadata. Labels currently defined: 1. migrate_from_go=<false|true> If set to true, the MS is created in migration ready mode.

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

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

    Output only. The time when the instance was created.

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

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

    Output only. The time when the instance was updated.

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::ManagementServer::InstanceType)

    Optional. The type of the ManagementServer resource.

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

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

    Output only. The hostname or ip address of the exposed AGM endpoints, used by clients to connect to AGM/RD graphical user interface and APIs.

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

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

    Output only. The hostnames of the exposed AGM endpoints for both types of user i.e. 1p and 3p, used to connect AGM/RM UI.

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

    Type: Enum (Google::Cloud::Backupdr::V1beta::ManagementServer::InstanceState)

    Output only. The ManagementServer state.

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

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

    Optional. VPC networks to which the ManagementServer instance is connected. For this version, only a single network is supported. This field is optional if MS is created without PSA

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

    Type: String

    Optional. Server specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.

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

    Type: String

    Output only. The OAuth 2.0 client id is required to make API calls to the Backup and DR instance API of this ManagementServer. This is the value that should be provided in the 'aud' field of the OIDC ID Token (see openid specification https://openid.net/specs/openid-connect-core-1_0.html#IDToken).

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

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

    Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.

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

    Type: String

    Output only. The hostname or ip address of the exposed AGM endpoints, used by BAs to connect to BA proxy.

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

    Type: Message (Google::Protobuf::Wrappers::BoolValue)

    Output only. Reserved for future use.

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

    Type: Bool

    Output only. Reserved for future use.

Enum: ManagementServer::InstanceType

  • INSTANCE_TYPE_UNSPECIFIED => 0

  • BACKUP_RESTORE => 1

Enum: ManagementServer::InstanceState

  • INSTANCE_STATE_UNSPECIFIED => 0

  • CREATING => 1

  • READY => 2

  • UPDATING => 3

  • DELETING => 4

  • REPAIRING => 5

  • MAINTENANCE => 6

  • ERROR => 7

Google::Cloud::Backupdr::V1beta::Backupdr::ListManagementServersRequest

Request message for listing management servers.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve management servers information, in the format 'projects/{project_id}/locations/{location}'. In Google Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve management servers for all locations, use "-" for the '{location}' value.

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

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

  • $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::Backupdr::ListManagementServersResponse

Response message for listing management servers.

Inherits from Protobuf::Message.

Accessors

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

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

    The list of ManagementServer instances in the project for the specified location.

    If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return management servers 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 identifying a page of results the server should return.

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

    Type: String

    Locations that could not be reached.

Google::Cloud::Backupdr::V1beta::Backupdr::GetManagementServerRequest

Request message for getting a management server instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the management server resource name, in the format 'projects/{project_id}/locations/{location}/managementServers/{resource_name}'

Google::Cloud::Backupdr::V1beta::Backupdr::CreateManagementServerRequest

Request message for creating a management server instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

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

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

    Type: String

    Required. The name of the management server to create. The name must be unique for the specified project and location.

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

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

    Required. A [management server resource][google.cloud.backupdr.v1.ManagementServer]

  • $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::Backupdr::DeleteManagementServerRequest

Request message for deleting a management server instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the resource

  • $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).

Google::Cloud::Backupdr::V1beta::Backupdr::InitializeServiceRequest

Request message for initializing the service.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1beta::BackupvaultCloudsql::CloudSqlInstanceInitializationConfig)

    Optional. The configuration for initializing a Cloud SQL instance.

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

    Type: String

    Required. The resource name of the serviceConfig used to initialize the service. The location must be the location of the BackupVault. Format: `projects/{project_id}/locations/{location}/serviceConfig`.

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

    Type: String

    Required. The resource type to which the default service config will be applied. Examples include, "compute.googleapis.com/Instance" and "storage.googleapis.com/Bucket".

  • $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 t he 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->backup_plan_location() / $msg->backup_plan_location($value)

    Type: String

    Optional. The location where the BackupPlan will be created. This field is required for multi-region BackupVaults and is optional for regional BackupVaults. It is useful when creating a Backup Vault in a multi-region, allowing the BackupPlan to reside in a specific region within that multi-region. If this field is not provided, the BackupPlan will be created in the same location as specified in the `name` field.

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

    Type: Bool

    Optional. If set, validates the request and returns the result, but does not actually run it.

Google::Cloud::Backupdr::V1beta::Backupdr::InitializeServiceResponse

Response message for initializing the service.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The resource name of the default `BackupVault` created. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.

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

    Type: String

    The resource name of the default `BackupPlan` created. Format: `projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.

Google::Cloud::Backupdr::V1beta::Backupdr::OperationMetadata

Represents the metadata of the long-running operation.

Inherits from Protobuf::Message.

Accessors

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

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

    Output only. The time the operation was created.

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

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

    Output only. The time the operation finished running.

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

    Type: String

    Output only. Server-defined resource path for the target of the operation.

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

    Type: String

    Output only. Name of the verb executed by the operation.

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

    Type: String

    Output only. Human-readable status of the operation, if any.

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

    Type: Bool

    Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [google.longrunning.Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to 'Code.CANCELLED'.

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

    Type: String

    Output only. API version used to start the operation.

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

    Type: Message (Google::Cloud::Backupdr::V1beta::Backupdr::OperationMetadata::AdditionalInfoEntry)

    Output only. AdditionalInfo contains additional Info related to backup plan association resource.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.