Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RpoConfig.
Defines RPO scheduling configuration for automatically creating Backups via this BackupPlan.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#exclusion_windows
def exclusion_windows() -> ::Array<::Google::Cloud::GkeBackup::V1::ExclusionWindow>
Returns
- (::Array<::Google::Cloud::GkeBackup::V1::ExclusionWindow>) — Optional. User specified time windows during which backup can NOT happen for this BackupPlan - backups should start and finish outside of any given exclusion window. Note: backup jobs will be scheduled to start and finish outside the duration of the window as much as possible, but running jobs will not get canceled when it runs into the window. All the time and date values in exclusion_windows entry in the API are in UTC. We only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no restriction on number of single occurrence windows.
#exclusion_windows=
def exclusion_windows=(value) -> ::Array<::Google::Cloud::GkeBackup::V1::ExclusionWindow>
Parameter
- value (::Array<::Google::Cloud::GkeBackup::V1::ExclusionWindow>) — Optional. User specified time windows during which backup can NOT happen for this BackupPlan - backups should start and finish outside of any given exclusion window. Note: backup jobs will be scheduled to start and finish outside the duration of the window as much as possible, but running jobs will not get canceled when it runs into the window. All the time and date values in exclusion_windows entry in the API are in UTC. We only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no restriction on number of single occurrence windows.
Returns
- (::Array<::Google::Cloud::GkeBackup::V1::ExclusionWindow>) — Optional. User specified time windows during which backup can NOT happen for this BackupPlan - backups should start and finish outside of any given exclusion window. Note: backup jobs will be scheduled to start and finish outside the duration of the window as much as possible, but running jobs will not get canceled when it runs into the window. All the time and date values in exclusion_windows entry in the API are in UTC. We only allow <=1 recurrence (daily or weekly) exclusion window for a BackupPlan while no restriction on number of single occurrence windows.
#target_rpo_minutes
def target_rpo_minutes() -> ::Integer
Returns
- (::Integer) — Required. Defines the target RPO for the BackupPlan in minutes, which means the target maximum data loss in time that is acceptable for this BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
#target_rpo_minutes=
def target_rpo_minutes=(value) -> ::Integer
Parameter
- value (::Integer) — Required. Defines the target RPO for the BackupPlan in minutes, which means the target maximum data loss in time that is acceptable for this BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.
Returns
- (::Integer) — Required. Defines the target RPO for the BackupPlan in minutes, which means the target maximum data loss in time that is acceptable for this BackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400, i.e., 60 days.