NAME

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

SYNOPSIS

use Google::Cloud::Backupdr::V1::Backupvault;

my $msg = Google::Cloud::Backupdr::V1::Backupvault::BackupVault->new({
    name => $name,
    description => $description,
    labels => $labels,
    create_time => $create_time,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/backupdr/v1/backupvault.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::Backupvault::BackupVault

Message describing a BackupVault object.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. Name of the backup vault to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}"`. `{backupvault}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.

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

    Type: String

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

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault::LabelsEntry)

    Optional. Resource labels to represent user provided metadata. No labels currently defined:

  • $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->backup_minimum_enforced_retention_duration() / $msg->backup_minimum_enforced_retention_duration($value)

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

    Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupVault::BackupRetentionInheritance)

    Optional. Setting for how a backup's enforced retention end time is inherited.

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

    Type: Bool

    Output only. Set to true when there are no backups nested under this resource.

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

    Type: String

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

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

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

    Output only. The BackupVault resource instance state.

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

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

    Optional. Time after which the BackupVault resource is locked.

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

    Type: Int64

    Output only. The number of backups in this backup vault.

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

    Type: String

    Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there.

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

    Type: Int64

    Output only. Total size of the storage used by all backup resources.

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

    Type: String

    Output only. Immutable after resource creation until resource deletion.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault::AnnotationsEntry)

    Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupVault::AccessRestriction)

    Optional. Restricts access to certain sources and destinations for data being sent into, or restored from, the backup vault. Defaults to WITHIN_ORGANIZATION if not provided during creation.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault::EncryptionConfig)

    Optional. The encryption config of the backup vault.

Enum: BackupVault::BackupRetentionInheritance

  • BACKUP_RETENTION_INHERITANCE_UNSPECIFIED => 0

  • INHERIT_VAULT_RETENTION => 1

  • MATCH_BACKUP_EXPIRE_TIME => 2

Enum: BackupVault::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • ERROR => 4

  • UPDATING => 5

Enum: BackupVault::AccessRestriction

  • ACCESS_RESTRICTION_UNSPECIFIED => 0

  • WITHIN_PROJECT => 1

  • WITHIN_ORGANIZATION => 2

  • UNRESTRICTED => 3

  • WITHIN_ORG_BUT_UNRESTRICTED_FOR_BA => 4

Google::Cloud::Backupdr::V1::Backupvault::DataSource

Message describing a DataSource object. Datasource object used to represent Datasource details for both admin and basic view.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Identifier. Name of the datasource to create. It must have the format`"projects/{project}/locations/{location}/backupVaults/{backupvault}/dataSources/{datasource}"`. `{datasource}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the backup vault.

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

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

    Output only. The DataSource resource instance state.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::DataSource::LabelsEntry)

    Optional. Resource labels to represent user provided metadata. No labels currently defined:

  • $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->backup_count() / $msg->backup_count($value)

    Type: Int64

    Number of backups in the data source.

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

    Type: String

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

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

    Type: Int64

    The number of bytes (metadata and data) stored in this datasource.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupConfigState)

    Output only. The backup configuration state.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupConfigInfo)

    Output only. Details of how the resource is configured for backup.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::DataSourceGcpResource)

    The backed up resource is a Google Cloud resource. The word 'DataSource' was included in the names to indicate that this is the representation of the Google Cloud resource used within the DataSource object.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::DataSourceBackupApplianceApplication)

    The backed up resource is a backup appliance application.

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

    Type: Bool

    Output only. This field is set to true if the backup is blocked by vault access restriction.

Enum: DataSource::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • ERROR => 4

Google::Cloud::Backupdr::V1::Backupvault::BackupConfigInfo

BackupConfigInfo has information about how the resource is configured for Backup and about the most recent backup to this vault.

Inherits from Protobuf::Message.

Accessors

Enum: BackupConfigInfo::LastBackupState

  • LAST_BACKUP_STATE_UNSPECIFIED => 0

  • FIRST_BACKUP_PENDING => 1

  • SUCCEEDED => 2

  • FAILED => 3

  • PERMISSION_DENIED => 4

Google::Cloud::Backupdr::V1::Backupvault::GcpBackupConfig

GcpBackupConfig captures the Backup configuration details for Google Cloud resources. All Google Cloud resources regardless of type are protected with backup plan associations.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the backup plan.

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

    Type: String

    The description of the backup plan.

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

    Type: String

    The name of the backup plan association.

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

    Type: String

    The names of the backup plan rules which point to this backupvault

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

    Type: String

    The name of the backup plan revision.

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

    Type: String

    The user friendly id of the backup plan revision. E.g. v0, v1 etc.

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

    Type: String

    Output only. The resource name of the `AutoProtectionPolicyBinding` that manages this datasource, if any. Format: `projects/{project}/locations/{location}/autoProtectionPolicies/{policy}/bindings/{binding}`.

Google::Cloud::Backupdr::V1::Backupvault::BackupApplianceBackupConfig

BackupApplianceBackupConfig captures the backup configuration for applications that are protected by Backup Appliances.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the backup appliance.

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

    Type: Int64

    The ID of the backup appliance.

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

    Type: Int64

    The ID of the SLA of this application.

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

    Type: String

    The name of the application.

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

    Type: String

    The name of the host where the application is running.

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

    Type: String

    The name of the SLT associated with the application.

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

    Type: String

    The name of the SLP associated with the application.

Google::Cloud::Backupdr::V1::Backupvault::DataSourceGcpResource

DataSourceGcpResource is used for protected resources that are Google Cloud Resources. This name is easeier to understand than GcpResourceDataSource or GcpDataSourceResource

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. Full resource pathname URL of the source Google Cloud resource.

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

    Type: String

    Location of the resource: <region>/<zone>/"global"/"unspecified".

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

    Type: String

    The type of the Google Cloud resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceDataSourceProperties)

    ComputeInstanceDataSourceProperties has a subset of Compute Instance properties that are useful at the Datasource level.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultCloudsql::CloudSqlInstanceDataSourceProperties)

    Output only. CloudSqlInstanceDataSourceProperties has a subset of Cloud SQL Instance properties that are useful at the Datasource level.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultAlloydb::AlloyDBClusterDataSourceProperties)

    Output only. AlloyDBClusterDataSourceProperties has a subset of AlloyDB cluster properties that are useful at the Datasource level.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskDataSourceProperties)

    DiskDataSourceProperties has a subset of Disk properties that are useful at the Datasource level.

Google::Cloud::Backupdr::V1::Backupvault::DataSourceBackupApplianceApplication

BackupApplianceApplication describes a Source Resource when it is an application backed up by a BackupAppliance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the Application as known to the Backup Appliance.

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

    Type: String

    Appliance name.

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

    Type: Int64

    Appliance Id of the Backup Appliance.

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

    Type: String

    The type of the application. e.g. VMBackup

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

    Type: Int64

    The appid field of the application within the Backup Appliance.

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

    Type: String

    Hostname of the host where the application is running.

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

    Type: Int64

    Hostid of the application host.

Google::Cloud::Backupdr::V1::Backupvault::ServiceLockInfo

ServiceLockInfo represents the details of a lock taken by the service on a Backup resource.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Output only. The name of the operation that created this lock. The lock will automatically be released when the operation completes.

Google::Cloud::Backupdr::V1::Backupvault::BackupApplianceLockInfo

BackupApplianceLockInfo contains metadata about the backupappliance that created the lock.

Inherits from Protobuf::Message.

Accessors

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

    Type: Int64

    Required. The ID of the backup/recovery appliance that created this lock.

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

    Type: String

    Required. The name of the backup/recovery appliance that created this lock.

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

    Type: String

    Required. The reason for the lock: e.g. MOUNT/RESTORE/BACKUP/etc. The value of this string is only meaningful to the client and it is not interpreted by the BackupVault service.

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

    Type: String

    The job name on the backup/recovery appliance that created this lock.

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

    Type: String

    The image name that depends on this Backup.

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

    Type: Int64

    The SLA on the backup/recovery appliance that owns the lock.

Google::Cloud::Backupdr::V1::Backupvault::BackupLock

BackupLock represents a single lock on a Backup resource. An unexpired lock on a Backup prevents the Backup from being deleted.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::Backupvault::Backup

Message describing a Backup object.

Inherits from Protobuf::Message.

Accessors

Enum: Backup::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • ACTIVE => 2

  • DELETING => 3

  • ERROR => 4

  • UPLOADING => 5

Enum: Backup::BackupType

  • BACKUP_TYPE_UNSPECIFIED => 0

  • SCHEDULED => 1

  • ON_DEMAND => 2

  • ON_DEMAND_OPERATIONAL => 3

Google::Cloud::Backupdr::V1::Backupvault::VerificationSummary

VerificationSummary contains the status and timestamp of the latest Automated Verification test.

Inherits from Protobuf::Message.

Accessors

Enum: VerificationSummary::LastVerificationState

  • STATE_UNSPECIFIED => 0

  • SUCCEEDED => 1

  • FAILED => 2

Google::Cloud::Backupdr::V1::Backupvault::CreateBackupVaultRequest

Message for creating a BackupVault.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Value for parent.

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

    Type: String

    Required. ID of the requesting object If auto-generating ID server-side, remove this field and backup_vault_id from the method_signature of Create RPC

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault)

    Required. The resource being created

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

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

    Type: Bool

    Optional. Only validate the request, but do not perform mutations. The default is 'false'.

Google::Cloud::Backupdr::V1::Backupvault::ListBackupVaultsRequest

Request message for listing backupvault stores.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve backupvault stores 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.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupVaultView)

    Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault.

Google::Cloud::Backupdr::V1::Backupvault::ListBackupVaultsResponse

Response message for listing BackupVaults.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault)

    The list of BackupVault 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 backup vaults 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::V1::Backupvault::FetchUsableBackupVaultsRequest

Request message for fetching usable BackupVaults.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve backupvault stores 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::V1::Backupvault::FetchUsableBackupVaultsResponse

Response message for fetching usable BackupVaults.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault)

    The list of BackupVault 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 backup vaults 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::V1::Backupvault::FetchBackupsForResourceTypeRequest

Request for the FetchBackupsForResourceType method.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Datasources are the parent resource for the backups. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{datasourceId}

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

    Type: String

    Required. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance

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

    Type: Int32

    Optional. The maximum number of Backups to return. The service may return fewer than this value. If unspecified, at most 50 Backups will be returned. The maximum value is 100; values above 100 will be coerced to 100.

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

    Type: String

    Optional. A page token, received from a previous call of `FetchBackupsForResourceType`. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to `FetchBackupsForResourceType` must match the call that provided the page token.

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

    Type: String

    Optional. A filter expression that filters the results fetched in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Supported fields:

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

    Type: String

    Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupView)

    Optional. This parameter is used to specify the view of the backup. If not specified, the default view is BASIC.

Google::Cloud::Backupdr::V1::Backupvault::FetchBackupsForResourceTypeResponse

Response for the FetchBackupsForResourceType method.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::Backup)

    The Backups from the specified parent.

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

    Type: String

    A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.

Google::Cloud::Backupdr::V1::Backupvault::GetBackupVaultRequest

Request message for getting a BackupVault.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the backupvault store resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}'

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupVaultView)

    Optional. Reserved for future use to provide a BASIC & FULL view of Backup Vault

Google::Cloud::Backupdr::V1::Backupvault::UpdateBackupVaultRequest

Request message for updating a BackupVault.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the BackupVault resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::BackupVault)

    Required. The resource being updated

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

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

    Type: Bool

    Optional. Only validate the request, but do not perform mutations. The default is 'false'.

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

    Type: Bool

    Optional. If set to true, will not check plan duration against backup vault enforcement duration.

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

    Type: Bool

    Optional. If set to true, we will force update access restriction even if some non compliant data sources are present. The default is 'false'.

Google::Cloud::Backupdr::V1::Backupvault::DeleteBackupVaultRequest

Message for deleting a BackupVault.

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

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

    Type: Bool

    Optional. If set to true, any data source from this backup vault will also be deleted.

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

    Type: String

    The current etag of the backup vault. If an etag is provided and does not match the current etag of the connection, deletion will be blocked.

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

    Type: Bool

    Optional. Only validate the request, but do not perform mutations. The default is 'false'.

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

    Type: Bool

    Optional. If true and the BackupVault is not found, the request will succeed but no action will be taken.

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

    Type: Bool

    Optional. If set to true, backupvault deletion will proceed even if there are backup plans referencing the backupvault. The default is 'false'.

Google::Cloud::Backupdr::V1::Backupvault::ListDataSourcesRequest

Request message for listing DataSources.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve data sources information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources 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::V1::Backupvault::ListDataSourcesResponse

Response message for listing DataSources.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::DataSource)

    The list of DataSource 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 data sources 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::V1::Backupvault::GetDataSourceRequest

Request message for getting a DataSource instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{resource_name}/dataSource/{resource_name}'

Google::Cloud::Backupdr::V1::Backupvault::UpdateDataSourceRequest

Request message for updating a data source instance.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the DataSource resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::DataSource)

    Required. The resource being updated

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

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

    Type: Bool

    Optional. Enable upsert.

Google::Cloud::Backupdr::V1::Backupvault::ListBackupsRequest

Request message for listing Backups.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources 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.

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupView)

    Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

Google::Cloud::Backupdr::V1::Backupvault::ListBackupsResponse

Response message for listing Backups.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::Backup)

    The list of Backup 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 data sources 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::V1::Backupvault::GetBackupRequest

Request message for getting a Backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'

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

    Type: Enum (Google::Cloud::Backupdr::V1::BackupView)

    Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

Google::Cloud::Backupdr::V1::Backupvault::UpdateBackupRequest

Request message for updating a Backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Required. Field mask is used to specify the fields to be overwritten in the Backup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then the request will fail.

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

    Type: Message (Google::Cloud::Backupdr::V1::Backupvault::Backup)

    Required. The resource being updated

  • $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::V1::Backupvault::DeleteBackupRequest

Message for deleting a Backup.

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::V1::Backupvault::RestoreBackupRequest

Request message for restoring from a Backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Required. The resource name of the Backup instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/*/backups/'.

  • $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->compute_instance_target_environment() / $msg->compute_instance_target_environment($value)

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceTargetEnvironment)

    Compute Engine target environment to be used during restore.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskTargetEnvironment)

    Disk target environment to be used during restore.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::RegionDiskTargetEnvironment)

    Region disk target environment to be used during restore.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceRestoreProperties)

    Compute Engine instance properties to be overridden during restore.

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

    Type: Message (Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskRestoreProperties)

    Disk properties to be overridden during restore.

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

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. A field mask used to clear server-side default values for fields within the `instance_properties` oneof.

    When a field in this mask is cleared, the server will not apply its default logic (like inheriting a value from the source) for that field.

    The most common current use case is clearing default encryption keys.

    Examples of field mask paths: - Compute Instance Disks: `compute_instance_restore_properties.disks.*.disk_encryption_key` - Single Disk: `disk_restore_properties.disk_encryption_key`

Google::Cloud::Backupdr::V1::Backupvault::RestoreBackupResponse

Response message for restoring from a Backup.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::Backupvault::TargetResource

Details of the target resource created/modified as part of restore.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Backupdr::V1::Backupvault::GcpResource

Minimum details to identify a Google Cloud resource

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the Google Cloud resource.

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

    Type: String

    Location of the resource: <region>/<zone>/"global"/"unspecified".

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

    Type: String

    Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

Google::Cloud::Backupdr::V1::Backupvault::BackupGcpResource

Minimum details to identify a Google Cloud resource for a backup.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Name of the Google Cloud resource.

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

    Type: String

    Location of the resource: <region>/<zone>/"global"/"unspecified".

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

    Type: String

    Type of the resource. Use the Unified Resource Type, eg. compute.googleapis.com/Instance.

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.