# Class BackupVault (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

    BackupVault(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A NetApp BackupVault.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the backup vault. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.BackupVault.State` Output only. The backup vault state. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Create time of the backup vault. |
| `description` | `str` Description of the backup vault. |
| `labels` | `MutableMapping[str, str]` Resource labels to represent user provided metadata. |
| `backup_vault_type` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.BackupVault.BackupVaultType` Optional. Type of backup vault to be created. Default is IN_REGION. |
| `source_region` | `str` Output only. Region in which the backup vault is created. Format: `projects/{project_id}/locations/{location}` |
| `backup_region` | `str` Optional. Region where the backups are stored. Format: `projects/{project_id}/locations/{location}` |
| `source_backup_vault` | `str` Output only. Name of the Backup vault created in source region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| `destination_backup_vault` | `str` Output only. Name of the Backup vault created in backup region. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}` |
| `backup_retention_policy` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.BackupVault.BackupRetentionPolicy` Optional. Backup retention policy defining the retention of backups. |
| `kms_config` | `str` Optional. Specifies the Key Management System (KMS) configuration to be used for backup encryption. Format: `projects/{project}/locations/{location}/kmsConfigs/{kms_config}` |
| `encryption_state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.BackupVault.EncryptionState` Output only. Field indicating encryption state of CMEK backups. |
| `backups_crypto_key_version` | `str` Output only. The crypto key version used to encrypt the backup vault. Format: `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}` |

## Classes

### BackupRetentionPolicy

    BackupRetentionPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Retention policy for backups in the backup vault

### BackupVaultType

    BackupVaultType(value)

Backup Vault Type.

### EncryptionState

    EncryptionState(value)

Encryption state of customer-managed encryption keys (CMEK)
backups.

### LabelsEntry

    LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `kwargs` | `dict` Keys and values corresponding to the fields of the message. |
| `mapping` | ``Union[dict, `.Message`]`` A dictionary or message to be used to determine the values for this message. |
| `ignore_unknown_fields` | `Optional(bool)` If True, do not raise errors for unknown fields. Only applied if `mapping` is a mapping type or there are keyword parameters. |

### State

    State(value)

The Backup Vault States