BackupArgs class
The set of arguments for Backup. The set of arguments for Backup.
Constructors
-
BackupArgs({required Input<
String> backupId, Input<String> ? description, Input<String> ? kmsKey, Input<Map< ? labels, Input<String, String> >String> ? location, Input<String> ? project, Input<String> ? sourceInstance}) -
Creates a new BackupArgs.
backupIdRequired. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.descriptionA description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.kmsKeyImmutable. KMS key name used for data encryption.labelsResource labels to represent user provided metadata.locationOptional.projectOptional.sourceFileShareName of the file share in the source Filestore instance that the backup is created from.sourceInstanceThe resource name of the source Filestore instance, in the formatprojects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.const -
BackupArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backupId
→ Input<
String> -
Required. The ID to use for the backup. The ID must be unique within the specified project and location. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. Values that do not match this pattern will trigger an INVALID_ARGUMENT error.
final
-
description
→ Input<
String> ? -
A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKey
→ Input<
String> ? -
Immutable. KMS key name used for data encryption.
final
-
labels
→ Input<
Map< ?String, String> > -
Resource labels to represent user provided metadata.
final
-
location
→ Input<
String> ? -
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Name of the file share in the source Filestore instance that the backup is created from.
final
-
sourceInstance
→ Input<
String> ? -
The resource name of the source Filestore instance, in the format
projects/{project_number}/locations/{location_id}/instances/{instance_id}, used to create this backup.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