Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class RpoConfig.
Defines RPO scheduling configuration for automatically creating
Backups via this BackupPlan.
Generated from protobuf message google.cloud.gkebackup.v1.RpoConfig
Namespace
Google \ Cloud \ GkeBackup \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ target_rpo_minutes
int
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.
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.
getTargetRpoMinutes
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
Type
Description
int
setTargetRpoMinutes
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.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getExclusionWindows
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Gke Backup V1 Client - Class RpoConfig (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-gke-backup/latest/V1.RpoConfig)\n- [1.2.0](/php/docs/reference/cloud-gke-backup/1.2.0/V1.RpoConfig)\n- [1.0.3](/php/docs/reference/cloud-gke-backup/1.0.3/V1.RpoConfig)\n- [0.8.1](/php/docs/reference/cloud-gke-backup/0.8.1/V1.RpoConfig)\n- [0.7.2](/php/docs/reference/cloud-gke-backup/0.7.2/V1.RpoConfig)\n- [0.6.0](/php/docs/reference/cloud-gke-backup/0.6.0/V1.RpoConfig)\n- [0.5.3](/php/docs/reference/cloud-gke-backup/0.5.3/V1.RpoConfig)\n- [0.4.0](/php/docs/reference/cloud-gke-backup/0.4.0/V1.RpoConfig)\n- [0.3.1](/php/docs/reference/cloud-gke-backup/0.3.1/V1.RpoConfig)\n- [0.2.0](/php/docs/reference/cloud-gke-backup/0.2.0/V1.RpoConfig)\n- [0.1.7](/php/docs/reference/cloud-gke-backup/0.1.7/V1.RpoConfig) \nReference documentation and code samples for the Google Cloud Gke Backup V1 Client class RpoConfig.\n\nDefines RPO scheduling configuration for automatically creating\nBackups via this BackupPlan.\n\nGenerated from protobuf message `google.cloud.gkebackup.v1.RpoConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeBackup \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getTargetRpoMinutes\n\nRequired. Defines the target RPO for the BackupPlan in minutes, which means\nthe target maximum data loss in time that is acceptable for this\nBackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,\ni.e., 60 days.\n\n### setTargetRpoMinutes\n\nRequired. Defines the target RPO for the BackupPlan in minutes, which means\nthe target maximum data loss in time that is acceptable for this\nBackupPlan. This must be at least 60, i.e., 1 hour, and at most 86400,\ni.e., 60 days.\n\n### getExclusionWindows\n\nOptional. User specified time windows during which backup can NOT happen\nfor this BackupPlan - backups should start and finish outside of any given\nexclusion window. Note: backup jobs will be scheduled to start and\nfinish outside the duration of the window as much as possible, but\nrunning jobs will not get canceled when it runs into the window.\n\nAll the time and date values in exclusion_windows entry in the API are in\nUTC.\nWe only allow \\\u003c=1 recurrence (daily or weekly) exclusion window for a\nBackupPlan while no restriction on number of single occurrence\nwindows.\n\n### setExclusionWindows\n\nOptional. User specified time windows during which backup can NOT happen\nfor this BackupPlan - backups should start and finish outside of any given\nexclusion window. Note: backup jobs will be scheduled to start and\nfinish outside the duration of the window as much as possible, but\nrunning jobs will not get canceled when it runs into the window.\n\nAll the time and date values in exclusion_windows entry in the API are in\nUTC.\nWe only allow \\\u003c=1 recurrence (daily or weekly) exclusion window for a\nBackupPlan while no restriction on number of single occurrence\nwindows."]]