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:
StringOutput 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:
StringOptional. 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:
BoolOutput only. Set to true when there are no backups nested under this resource.
$msg->etag()/$msg->etag($value)Type:
StringOptional. 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:
Int64Output only. The number of backups in this backup vault.
$msg->service_account()/$msg->service_account($value)Type:
StringOutput 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:
Int64Output only. Total size of the storage used by all backup resources.
$msg->uid()/$msg->uid($value)Type:
StringOutput 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=>0INHERIT_VAULT_RETENTION=>1MATCH_BACKUP_EXPIRE_TIME=>2
Enum: BackupVault::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3ERROR=>4UPDATING=>5
Enum: BackupVault::AccessRestriction
ACCESS_RESTRICTION_UNSPECIFIED=>0WITHIN_PROJECT=>1WITHIN_ORGANIZATION=>2UNRESTRICTED=>3WITHIN_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:
StringOutput 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:
Int64Number of backups in the data source.
$msg->etag()/$msg->etag($value)Type:
StringServer specified ETag for the ManagementServer resource to prevent simultaneous updates from overwiting each other.
$msg->total_stored_bytes()/$msg->total_stored_bytes($value)Type:
Int64The 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:
BoolOutput only. This field is set to true if the backup is blocked by vault access restriction.
Enum: DataSource::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3ERROR=>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
$msg->last_backup_state()/$msg->last_backup_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::BackupConfigInfo::LastBackupState)Output only. The status of the last backup to this BackupVault
$msg->last_successful_backup_consistency_time()/$msg->last_successful_backup_consistency_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. If the last backup were successful, this field has the consistency date.
$msg->last_backup_error()/$msg->last_backup_error($value)Type:
Message(Google::Rpc::Status::Status)Output only. If the last backup failed, this field has the error message.
$msg->gcp_backup_config()/$msg->gcp_backup_config($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::GcpBackupConfig)Configuration for a Google Cloud resource.
$msg->backup_appliance_backup_config()/$msg->backup_appliance_backup_config($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::BackupApplianceBackupConfig)Configuration for an application backed up by a Backup Appliance.
Enum: BackupConfigInfo::LastBackupState
LAST_BACKUP_STATE_UNSPECIFIED=>0FIRST_BACKUP_PENDING=>1SUCCEEDED=>2FAILED=>3PERMISSION_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:
StringThe name of the backup plan.
$msg->backup_plan_description()/$msg->backup_plan_description($value)Type:
StringThe description of the backup plan.
$msg->backup_plan_association()/$msg->backup_plan_association($value)Type:
StringThe name of the backup plan association.
$msg->backup_plan_rules()/$msg->backup_plan_rules($value)Type:
StringThe names of the backup plan rules which point to this backupvault
$msg->backup_plan_revision_name()/$msg->backup_plan_revision_name($value)Type:
StringThe name of the backup plan revision.
$msg->backup_plan_revision_id()/$msg->backup_plan_revision_id($value)Type:
StringThe 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:
StringOutput 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:
StringThe name of the backup appliance.
$msg->backup_appliance_id()/$msg->backup_appliance_id($value)Type:
Int64The ID of the backup appliance.
$msg->sla_id()/$msg->sla_id($value)Type:
Int64The ID of the SLA of this application.
$msg->application_name()/$msg->application_name($value)Type:
StringThe name of the application.
$msg->host_name()/$msg->host_name($value)Type:
StringThe name of the host where the application is running.
$msg->slt_name()/$msg->slt_name($value)Type:
StringThe name of the SLT associated with the application.
$msg->slp_name()/$msg->slp_name($value)Type:
StringThe 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:
StringOutput only. Full resource pathname URL of the source Google Cloud resource.
$msg->location()/$msg->location($value)Type:
StringLocation of the resource: <region>/<zone>/"global"/"unspecified".
$msg->type()/$msg->type($value)Type:
StringThe 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:
StringThe name of the Application as known to the Backup Appliance.
$msg->backup_appliance()/$msg->backup_appliance($value)Type:
StringAppliance name.
$msg->appliance_id()/$msg->appliance_id($value)Type:
Int64Appliance Id of the Backup Appliance.
$msg->type()/$msg->type($value)Type:
StringThe type of the application. e.g. VMBackup
$msg->application_id()/$msg->application_id($value)Type:
Int64The appid field of the application within the Backup Appliance.
$msg->hostname()/$msg->hostname($value)Type:
StringHostname of the host where the application is running.
$msg->host_id()/$msg->host_id($value)Type:
Int64Hostid 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:
StringOutput 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:
Int64Required. The ID of the backup/recovery appliance that created this lock.
$msg->backup_appliance_name()/$msg->backup_appliance_name($value)Type:
StringRequired. The name of the backup/recovery appliance that created this lock.
$msg->lock_reason()/$msg->lock_reason($value)Type:
StringRequired. 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:
StringThe job name on the backup/recovery appliance that created this lock.
$msg->backup_image()/$msg->backup_image($value)Type:
StringThe image name that depends on this Backup.
$msg->sla_id()/$msg->sla_id($value)Type:
Int64The 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
$msg->lock_until_time()/$msg->lock_until_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Required. The time after which this lock is not considered valid and will no longer protect the Backup from deletion.
$msg->backup_appliance_lock_info()/$msg->backup_appliance_lock_info($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::BackupApplianceLockInfo)If the client is a backup and recovery appliance, this contains metadata about why the lock exists.
$msg->service_lock_info()/$msg->service_lock_info($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::ServiceLockInfo)Output only. Contains metadata about the lock exist for Google Cloud native backups.
Google::Cloud::Backupdr::V1::Backupvault::Backup
Message describing a Backup object.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringOutput only. Identifier. Name of the backup to create. It must have the format`"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}"`. `{backup}` cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
$msg->description()/$msg->description($value)Type:
StringOutput only. The description of the Backup instance (2048 characters or less).
$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->labels()/$msg->labels($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::Backup::LabelsEntry)Optional. Resource labels to represent user provided metadata. No labels currently defined.
$msg->enforced_retention_end_time()/$msg->enforced_retention_end_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. The backup can not be deleted before this time.
$msg->backup_retention_inheritance()/$msg->backup_retention_inheritance($value)Type:
Enum(Google::Cloud::Backupdr::V1::BackupVault::BackupRetentionInheritance)Output only. Setting for how the enforced retention end time is inherited. This value is copied from this backup's BackupVault.
$msg->expire_time()/$msg->expire_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Optional. When this backup is automatically expired.
$msg->consistency_time()/$msg->consistency_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The point in time when this backup was captured from the source.
$msg->etag()/$msg->etag($value)Type:
StringOptional. Server specified ETag to prevent updates from overwriting each other.
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Backupdr::V1::Backup::State)Output only. The Backup resource instance state.
$msg->service_locks()/$msg->service_locks($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::BackupLock)Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
$msg->backup_appliance_locks()/$msg->backup_appliance_locks($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::BackupLock)Optional. The list of BackupLocks taken by the accessor Backup Appliance.
$msg->compute_instance_backup_properties()/$msg->compute_instance_backup_properties($value)Type:
Message(Google::Cloud::Backupdr::V1::BackupvaultGce::ComputeInstanceBackupProperties)Output only. Compute Engine specific backup properties.
$msg->cloud_sql_instance_backup_properties()/$msg->cloud_sql_instance_backup_properties($value)Type:
Message(Google::Cloud::Backupdr::V1::BackupvaultCloudsql::CloudSqlInstanceBackupProperties)Output only. Cloud SQL specific backup properties.
$msg->backup_appliance_backup_properties()/$msg->backup_appliance_backup_properties($value)Type:
Message(Google::Cloud::Backupdr::V1::BackupvaultBa::BackupApplianceBackupProperties)Output only. Backup Appliance specific backup properties.
$msg->alloy_db_backup_properties()/$msg->alloy_db_backup_properties($value)Type:
Message(Google::Cloud::Backupdr::V1::BackupvaultAlloydb::AlloyDbClusterBackupProperties)Output only. AlloyDB specific backup properties.
$msg->disk_backup_properties()/$msg->disk_backup_properties($value)Type:
Message(Google::Cloud::Backupdr::V1::BackupvaultDisk::DiskBackupProperties)Output only. Disk specific backup properties.
$msg->backup_type()/$msg->backup_type($value)Type:
Enum(Google::Cloud::Backupdr::V1::Backup::BackupType)Output only. Type of the backup, unspecified, scheduled or ondemand.
$msg->gcp_backup_plan_info()/$msg->gcp_backup_plan_info($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::Backup::GCPBackupPlanInfo)Output only. Configuration for a Google Cloud resource.
$msg->resource_size_bytes()/$msg->resource_size_bytes($value)Type:
Int64Output only. source resource size in bytes at the time of the backup.
$msg->satisfies_pzs()/$msg->satisfies_pzs($value)Type:
BoolOptional. Output only. Reserved for future use.
$msg->satisfies_pzi()/$msg->satisfies_pzi($value)Type:
BoolOptional. Output only. Reserved for future use.
$msg->gcp_resource()/$msg->gcp_resource($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::BackupGcpResource)Output only. Unique identifier of the GCP resource that is being backed up.
$msg->kms_key_versions()/$msg->kms_key_versions($value)Type:
StringOptional. Output only. The list of KMS key versions used to encrypt the backup.
$msg->verification_summary()/$msg->verification_summary($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::VerificationSummary)Output only. The restore verification status of the backup.
Enum: Backup::State
STATE_UNSPECIFIED=>0CREATING=>1ACTIVE=>2DELETING=>3ERROR=>4UPLOADING=>5
Enum: Backup::BackupType
BACKUP_TYPE_UNSPECIFIED=>0SCHEDULED=>1ON_DEMAND=>2ON_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
$msg->last_verification_time()/$msg->last_verification_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Output only. The time when the backup was last verified.
$msg->last_verification_state()/$msg->last_verification_state($value)Type:
Enum(Google::Cloud::Backupdr::V1::VerificationSummary::LastVerificationState)Output only. The state of the last verification.
$msg->last_verification_execution()/$msg->last_verification_execution($value)Type:
StringOutput only. The last verification execution.
Enum: VerificationSummary::LastVerificationState
STATE_UNSPECIFIED=>0SUCCEEDED=>1FAILED=>2
Google::Cloud::Backupdr::V1::Backupvault::CreateBackupVaultRequest
Message for creating a BackupVault.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. Value for parent.
$msg->backup_vault_id()/$msg->backup_vault_id($value)Type:
StringRequired. 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:
StringOptional. 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:
BoolOptional. 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:
StringRequired. 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:
Int32Optional. 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:
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.
$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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
Int32Optional. 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:
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::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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. The type of the GCP resource. Ex: sqladmin.googleapis.com/Instance
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringA 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:
StringRequired. 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:
StringOptional. 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:
BoolOptional. Only validate the request, but do not perform mutations. The default is 'false'.
$msg->force()/$msg->force($value)Type:
BoolOptional. 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:
BoolOptional. 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:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
BoolOptional. If set to true, any data source from this backup vault will also be deleted.
$msg->etag()/$msg->etag($value)Type:
StringThe 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:
BoolOptional. Only validate the request, but do not perform mutations. The default is 'false'.
$msg->allow_missing()/$msg->allow_missing($value)Type:
BoolOptional. 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:
BoolOptional. 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:
StringRequired. 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:
Int32Optional. 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:
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::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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringOptional. 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:
BoolOptional. Enable upsert.
Google::Cloud::Backupdr::V1::Backupvault::ListBackupsRequest
Request message for listing Backups.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringRequired. 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:
Int32Optional. 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:
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.
$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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringOptional. 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:
StringRequired. Name of the resource.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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:
StringRequired. The resource name of the Backup instance, in the format 'projects/*/locations/*/backupVaults/*/dataSources/*/backups/'.
$msg->request_id()/$msg->request_id($value)Type:
StringOptional. 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
$msg->target_resource()/$msg->target_resource($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::TargetResource)Details of the target resource created/modified as part of restore.
Google::Cloud::Backupdr::V1::Backupvault::TargetResource
Details of the target resource created/modified as part of restore.
Inherits from Protobuf::Message.
Accessors
$msg->gcp_resource()/$msg->gcp_resource($value)Type:
Message(Google::Cloud::Backupdr::V1::Backupvault::GcpResource)Details of the native Google Cloud resource created as part of restore.
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:
StringName of the Google Cloud resource.
$msg->location()/$msg->location($value)Type:
StringLocation of the resource: <region>/<zone>/"global"/"unspecified".
$msg->type()/$msg->type($value)Type:
StringType 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:
StringName of the Google Cloud resource.
$msg->location()/$msg->location($value)Type:
StringLocation of the resource: <region>/<zone>/"global"/"unspecified".
$msg->type()/$msg->type($value)Type:
StringType 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.