Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::VolumeDataRestorePolicyOverride.
Defines an override to apply a VolumeDataRestorePolicy for scoped resources.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#policy
def policy() -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy
Returns
- (::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy) — Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
#policy=
def policy=(value) -> ::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy
Parameter
- value (::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy) — Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
Returns
- (::Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicy) — Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.
#selected_pvcs
def selected_pvcs() -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Returns
- (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of PVCs to apply the policy override to.
#selected_pvcs=
def selected_pvcs=(value) -> ::Google::Cloud::GkeBackup::V1::NamespacedNames
Parameter
- value (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of PVCs to apply the policy override to.
Returns
- (::Google::Cloud::GkeBackup::V1::NamespacedNames) — A list of PVCs to apply the policy override to.