SnapshotArgs class
The set of arguments for Snapshot. The set of arguments for Snapshot.
Constructors
-
SnapshotArgs({Input<
String> ? description, required Input<String> instanceId, Input<Map< ? labels, Input<String, String> >String> ? location, Input<String> ? project, required Input<String> snapshotId}) -
Creates a new SnapshotArgs.
descriptionA description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.instanceIdRequired.labelsResource labels to represent user provided metadata.locationOptional.projectOptional.snapshotIdRequired. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.const -
SnapshotArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> ? -
A description of the snapshot with 2048 characters or less. Requests with longer descriptions will be rejected.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceId
→ Input<
String> -
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
-
snapshotId
→ Input<
String> -
Required. The ID to use for the snapshot. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
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