# Package types (0.8.1)

0.8.1 (latest) 0.8.0 0.7.0 0.6.0 0.5.19 0.4.4 0.3.0 0.2.2 0.1.1 API documentation for `gke_backup_v1.types` package.

## Classes

### [Backup](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.Backup)

Represents a request to perform a single point-in-time
capture of some portion of the state of a GKE cluster, the
record of the backup operation itself, and an anchor for the
underlying artifacts that comprise the Backup (the config backup
and VolumeBackups).

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BackupChannel](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupChannel)

A BackupChannel imposes constraints on where clusters can be backed
up. The BackupChannel should be in the same project and region as
the cluster being backed up. The backup can be created only in
destination_project.

### [BackupPlan](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupPlan)

Defines the configuration and scheduling for a "line" of
Backups.

### [BackupPlanBinding](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.BackupPlanBinding)

A BackupPlanBinding binds a BackupPlan with a BackupChannel.
This resource is created automatically when a BackupPlan is
created using a BackupChannel. This also serves as a holder for
cross-project fields that need to be displayed in the current
project.

### [CreateBackupChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateBackupChannelRequest)

Request message for CreateBackupChannel.

### [CreateBackupPlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateBackupPlanRequest)

Request message for CreateBackupPlan.

### [CreateBackupRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateBackupRequest)

Request message for CreateBackup.

### [CreateRestoreChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateRestoreChannelRequest)

Request message for CreateRestoreChannel.

### [CreateRestorePlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateRestorePlanRequest)

Request message for CreateRestorePlan.

### [CreateRestoreRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.CreateRestoreRequest)

Request message for CreateRestore.

### [DeleteBackupChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteBackupChannelRequest)

Request message for DeleteBackupChannel.

### [DeleteBackupPlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteBackupPlanRequest)

Request message for DeleteBackupPlan.

### [DeleteBackupRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteBackupRequest)

Request message for DeleteBackup.

### [DeleteRestoreChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteRestoreChannelRequest)

Request message for DeleteRestoreChannel.

### [DeleteRestorePlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteRestorePlanRequest)

Request message for DeleteRestorePlan.

### [DeleteRestoreRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.DeleteRestoreRequest)

Request message for DeleteRestore.

### [EncryptionKey](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.EncryptionKey)

Defined a customer managed encryption key that will be used
to encrypt Backup artifacts.

### [ExclusionWindow](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ExclusionWindow)

Defines a time window during which no backup should
happen. All time and date are in UTC.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [GetBackupChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupChannelRequest)

Request message for GetBackupChannel.

### [GetBackupIndexDownloadUrlRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupIndexDownloadUrlRequest)

Request message for GetBackupIndexDownloadUrl.

### [GetBackupIndexDownloadUrlResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupIndexDownloadUrlResponse)

Response message for GetBackupIndexDownloadUrl.

### [GetBackupPlanBindingRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupPlanBindingRequest)

Request message for GetBackupPlanBinding.

### [GetBackupPlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupPlanRequest)

Request message for GetBackupPlan.

### [GetBackupRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetBackupRequest)

Request message for GetBackup.

### [GetRestoreChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetRestoreChannelRequest)

Request message for GetRestoreChannel.

### [GetRestorePlanBindingRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetRestorePlanBindingRequest)

Request message for GetRestorePlanBinding.

### [GetRestorePlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetRestorePlanRequest)

Request message for GetRestorePlan.

### [GetRestoreRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetRestoreRequest)

Request message for GetRestore.

### [GetVolumeBackupRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetVolumeBackupRequest)

Request message for GetVolumeBackup.

### [GetVolumeRestoreRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.GetVolumeRestoreRequest)

Request message for GetVolumeRestore.

### [ListBackupChannelsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupChannelsRequest)

Request message for ListBackupChannels.

### [ListBackupChannelsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupChannelsResponse)

Response message for ListBackupChannels.

### [ListBackupPlanBindingsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupPlanBindingsRequest)

Request message for ListBackupPlanBindings.

### [ListBackupPlanBindingsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupPlanBindingsResponse)

Response message for ListBackupPlanBindings.

### [ListBackupPlansRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupPlansRequest)

Request message for ListBackupPlans.

### [ListBackupPlansResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupPlansResponse)

Response message for ListBackupPlans.

### [ListBackupsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupsRequest)

Request message for ListBackups.

### [ListBackupsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListBackupsResponse)

Response message for ListBackups.

### [ListRestoreChannelsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestoreChannelsRequest)

Request message for ListRestoreChannels.

### [ListRestoreChannelsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestoreChannelsResponse)

Response message for ListRestoreChannels.

### [ListRestorePlanBindingsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestorePlanBindingsRequest)

Request message for ListRestorePlanBindings.

### [ListRestorePlanBindingsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestorePlanBindingsResponse)

Response message for ListRestorePlanBindings.

### [ListRestorePlansRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestorePlansRequest)

Request message for ListRestorePlans.

### [ListRestorePlansResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestorePlansResponse)

Response message for ListRestorePlans.

### [ListRestoresRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestoresRequest)

Request message for ListRestores.

### [ListRestoresResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListRestoresResponse)

Response message for ListRestores.

### [ListVolumeBackupsRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListVolumeBackupsRequest)

Request message for ListVolumeBackups.

### [ListVolumeBackupsResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListVolumeBackupsResponse)

Response message for ListVolumeBackups.

### [ListVolumeRestoresRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListVolumeRestoresRequest)

Request message for ListVolumeRestores.

### [ListVolumeRestoresResponse](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ListVolumeRestoresResponse)

Response message for ListVolumeRestores.

### [NamespacedName](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.NamespacedName)

A reference to a namespaced resource in Kubernetes.

### [NamespacedNames](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.NamespacedNames)

A list of namespaced Kubernetes resources.

### [Namespaces](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.Namespaces)

A list of Kubernetes Namespaces.

### [OperationMetadata](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.OperationMetadata)

Represents the metadata of the long-running operation.

### [ResourceSelector](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.ResourceSelector)

Defines a selector to identify a single or a group of
resources. Conditions in the selector are optional, but at least
one field should be set to a non-empty value. If a condition is
not specified, no restrictions will be applied on that
dimension.
If more than one condition is specified, a resource will be
selected if and only if all conditions are met.

### [Restore](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.Restore)

Represents both a request to Restore some portion of a Backup
into a target GKE cluster and a record of the restore operation
itself.

### [RestoreChannel](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RestoreChannel)

A RestoreChannel imposes constraints on where backups can be
restored. The RestoreChannel should be in the same project and
region as the backups. The backups can only be restored in the
`destination_project`.

### [RestoreConfig](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RestoreConfig)

Configuration of a restore.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RestorePlan](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RestorePlan)

The configuration of a potential series of Restore operations
to be performed against Backups belong to a particular
BackupPlan.

### [RestorePlanBinding](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RestorePlanBinding)

A RestorePlanBinding binds a RestorePlan with a
RestoreChannel. This resource is created automatically when a
RestorePlan is created using a RestoreChannel. This also serves
as a holder for cross-project fields that need to be displayed
in the current project.

### [RpoConfig](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.RpoConfig)

Defines RPO scheduling configuration for automatically
creating Backups via this BackupPlan.

### [UpdateBackupChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateBackupChannelRequest)

Request message for UpdateBackupChannel.

### [UpdateBackupPlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateBackupPlanRequest)

Request message for UpdateBackupPlan.

### [UpdateBackupRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateBackupRequest)

Request message for UpdateBackup.

### [UpdateRestoreChannelRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateRestoreChannelRequest)

Request message for UpdateRestoreChannel.

### [UpdateRestorePlanRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateRestorePlanRequest)

Request message for UpdateRestorePlan.

### [UpdateRestoreRequest](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.UpdateRestoreRequest)

Request message for UpdateRestore.

### [VolumeBackup](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.VolumeBackup)

Represents the backup of a specific persistent volume as a
component of a Backup - both the record of the operation and a
pointer to the underlying storage-specific artifacts.

### [VolumeDataRestorePolicyOverride](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.VolumeDataRestorePolicyOverride)

Defines an override to apply a VolumeDataRestorePolicy for
scoped resources.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [VolumeRestore](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.VolumeRestore)

Represents the operation of restoring a volume from a
VolumeBackup.

### [VolumeTypeEnum](https://docs.cloud.google.com/python/docs/reference/gkebackup/latest/google.cloud.gke_backup_v1.types.VolumeTypeEnum)

Message to encapsulate VolumeType enum.