Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RestoreConfig::VolumeDataRestorePolicyBinding.
Binds resources in the scope to the given VolumeDataRestorePolicy.
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.
#volume_type
def volume_type() -> ::Google::Cloud::GkeBackup::V1::VolumeTypeEnum::VolumeType
Returns
- (::Google::Cloud::GkeBackup::V1::VolumeTypeEnum::VolumeType) — The volume type, as determined by the PVC's bound PV, to apply the policy to.
#volume_type=
def volume_type=(value) -> ::Google::Cloud::GkeBackup::V1::VolumeTypeEnum::VolumeType
Parameter
- value (::Google::Cloud::GkeBackup::V1::VolumeTypeEnum::VolumeType) — The volume type, as determined by the PVC's bound PV, to apply the policy to.
Returns
- (::Google::Cloud::GkeBackup::V1::VolumeTypeEnum::VolumeType) — The volume type, as determined by the PVC's bound PV, to apply the policy to.