Backup for GKE v1 API - Class RestoreConfig.Types.VolumeDataRestorePolicyBinding (2.6.0)

public sealed class RestoreConfig.Types.VolumeDataRestorePolicyBinding : IMessage<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IEquatable<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IDeepCloneable<RestoreConfig.Types.VolumeDataRestorePolicyBinding>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class RestoreConfig.Types.VolumeDataRestorePolicyBinding.

Binds resources in the scope to the given VolumeDataRestorePolicy.

Inheritance

object > RestoreConfig.Types.VolumeDataRestorePolicyBinding

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

VolumeDataRestorePolicyBinding()

public VolumeDataRestorePolicyBinding()

VolumeDataRestorePolicyBinding(VolumeDataRestorePolicyBinding)

public VolumeDataRestorePolicyBinding(RestoreConfig.Types.VolumeDataRestorePolicyBinding other)
Parameter
Name Description
other RestoreConfigTypesVolumeDataRestorePolicyBinding

Properties

HasVolumeType

public bool HasVolumeType { get; }

Gets whether the "volume_type" field is set

Property Value
Type Description
bool

Policy

public RestoreConfig.Types.VolumeDataRestorePolicy Policy { get; set; }

Required. The VolumeDataRestorePolicy to apply when restoring volumes in scope.

Property Value
Type Description
RestoreConfigTypesVolumeDataRestorePolicy

ScopeCase

public RestoreConfig.Types.VolumeDataRestorePolicyBinding.ScopeOneofCase ScopeCase { get; }
Property Value
Type Description
RestoreConfigTypesVolumeDataRestorePolicyBindingScopeOneofCase

VolumeType

public VolumeTypeEnum.Types.VolumeType VolumeType { get; set; }

The volume type, as determined by the PVC's bound PV, to apply the policy to.

Property Value
Type Description
VolumeTypeEnumTypesVolumeType