RestoreArgs class
The set of arguments for Restore. The set of arguments for Restore.
Constructors
-
RestoreArgs({required Input<
String> backup, Input<String> ? description, Input<Map< ? labels, Input<String, String> >String> ? location, Input<String> ? project, required Input<String> restoreId, required Input<String> restorePlanId}) -
Creates a new RestoreArgs.
backupImmutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:projects/*/locations/*/backupPlans/*/backups/*.descriptionUser specified descriptive string for this Restore.labelsA set of custom labels supplied by user.locationOptional.projectOptional.restoreIdRequired. The client-provided short name for the Restore 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 Restores in this RestorePlan.restorePlanIdRequired.const -
RestoreArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backup
→ Input<
String> -
Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*.final -
description
→ Input<
String> ? -
User specified descriptive string for this Restore.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
A set of custom labels supplied by user.
final
-
location
→ Input<
String> ? -
final
-
project
→ Input<
String> ? -
final
-
restoreId
→ Input<
String> -
Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
final
-
restorePlanId
→ Input<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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