GetBackupPlanResult class
Result data returned by getBackupPlan.
Constructors
-
GetBackupPlanResult({required BackupConfigResponse backupConfig, required ScheduleResponse backupSchedule, required String cluster, required String createTime, required bool deactivated, required String description, required String etag, required Map<
String, String> labels, required String name, required int protectedPodCount, required RetentionPolicyResponse retentionPolicy, required String state, required String stateReason, required String uid, required String updateTime}) -
Creates a new GetBackupPlanResult.
backupConfigOptional. Defines the configuration of Backups created via this BackupPlan.backupScheduleOptional. Defines a schedule for automatic Backup creation via this BackupPlan.clusterImmutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*createTimeThe timestamp when this BackupPlan resource was created.deactivatedOptional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: FalsedescriptionOptional. User specified descriptive string for this BackupPlan.etagetagis used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetagis returned in the response toGetBackupPlan, and systems are expected to put that etag in the request toUpdateBackupPlanorDeleteBackupPlanto ensure that their change will be applied to the same version of the resource.labelsOptional. A set of custom labels supplied by user.nameThe full name of the BackupPlan resource. Format:projects/*/locations/*/backupPlans/*protectedPodCountThe number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.retentionPolicyOptional. RetentionPolicy governs lifecycle of Backups created under this plan.stateState of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to "DEACTIVATED" if the BackupPlan is deactivated on an UpdatestateReasonHuman-readable description of why BackupPlan is in the currentstateuidServer generated global unique identifier of UUID format.updateTimeThe timestamp when this BackupPlan resource was last updated.const -
GetBackupPlanResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- backupConfig → BackupConfigResponse
-
Optional. Defines the configuration of Backups created via this BackupPlan.
final
- backupSchedule → ScheduleResponse
-
Optional. Defines a schedule for automatic Backup creation via this BackupPlan.
final
- cluster → String
-
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*-projects/*/zones/*/clusters/*final - createTime → String
-
The timestamp when this BackupPlan resource was created.
final
- deactivated → bool
-
Optional. This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
final
- description → String
-
Optional. User specified descriptive string for this BackupPlan.
final
- etag → String
-
etagis used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetagis returned in the response toGetBackupPlan, and systems are expected to put that etag in the request toUpdateBackupPlanorDeleteBackupPlanto ensure that their change will be applied to the same version of the resource.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. A set of custom labels supplied by user.
final
- name → String
-
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*final - protectedPodCount → int
-
The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
final
- retentionPolicy → RetentionPolicyResponse
-
Optional. RetentionPolicy governs lifecycle of Backups created under this plan.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
State of the BackupPlan. This State field reflects the various stages a BackupPlan can be in during the Create operation. It will be set to "DEACTIVATED" if the BackupPlan is deactivated on an Update
final
- stateReason → String
-
Human-readable description of why BackupPlan is in the current
statefinal - uid → String
-
Server generated global unique identifier of UUID format.
final
- updateTime → String
-
The timestamp when this BackupPlan resource was last updated.
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