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. backupConfig Optional. Defines the configuration of Backups created via this BackupPlan. backupSchedule Optional. Defines a schedule for automatic Backup creation via this BackupPlan. cluster Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* createTime The timestamp when this BackupPlan resource was created. deactivated 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 description Optional. User specified descriptive string for this BackupPlan. etag etag is 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: An etag is returned in the response to GetBackupPlan, and systems are expected to put that etag in the request to UpdateBackupPlan or DeleteBackupPlan to ensure that their change will be applied to the same version of the resource. labels Optional. A set of custom labels supplied by user. name The full name of the BackupPlan resource. Format: projects/*/locations/*/backupPlans/* protectedPodCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. retentionPolicy Optional. RetentionPolicy governs lifecycle of Backups created under this plan. state 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 stateReason Human-readable description of why BackupPlan is in the current state uid Server generated global unique identifier of UUID format. updateTime The 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
etag is 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: An etag is returned in the response to GetBackupPlan, and systems are expected to put that etag in the request to UpdateBackupPlan or DeleteBackupPlan to 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 state
final
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