RestorePlanArgs constructor
Creates a new RestorePlanArgs.
backupPlan Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format: projects/*/locations/*/backupPlans/*.
cluster Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/*
description Optional. User specified descriptive string for this RestorePlan.
labels Optional. A set of custom labels supplied by user.
location Optional.
project Optional.
restoreConfig Configuration of Restores created via this RestorePlan.
restorePlanId Required. The client-provided short name for the RestorePlan resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of RestorePlans in this location
Implementation
const RestorePlanArgs({
required this.backupPlan,
required this.cluster,
this.description,
this.labels,
this.location,
this.project,
required this.restoreConfig,
required this.restorePlanId,
});