ClusterResourceRestoreScopeResponse class
Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume
Constructors
-
ClusterResourceRestoreScopeResponse({required Input<
bool> allGroupKinds, required Input<List< excludedGroupKinds, required Input<GroupKindResponse> >bool> noGroupKinds, required Input<List< selectedGroupKinds})GroupKindResponse> > -
Creates a new ClusterResourceRestoreScopeResponse.
allGroupKindsOptional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.excludedGroupKindsOptional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.noGroupKindsOptional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.selectedGroupKindsOptional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.const -
ClusterResourceRestoreScopeResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allGroupKinds
→ Input<
bool> -
Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
final
-
excludedGroupKinds
→ Input<
List< GroupKindResponse> > -
Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
noGroupKinds
→ Input<
bool> -
Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectedGroupKinds
→ Input<
List< GroupKindResponse> > -
Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited