Skip to content

Commit cbe3118

Browse files
feat: [google-cloud-gke-backup] add smart scheduling (#12506)
- [ ] Regenerate this pull request now. BEGIN_COMMIT_OVERRIDE feat: add smart scheduling feat: add backup indexing docs: remove the next id annotation docs: add output only and optional api field behavior label docs: update retention policy and cron schedule comment to include new constraints from smart scheduling END_COMMIT_OVERRIDE PiperOrigin-RevId: 618989341 Source-Link: googleapis/googleapis@b8691ed Source-Link: googleapis/googleapis-gen@d5fd4fb Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWdrZS1iYWNrdXAvLk93bEJvdC55YW1sIiwiaCI6ImQ1ZmQ0ZmJhYTE4NjA4NzJhNDJhNDNlZDdjZTc5OTY2MjQ3NTkxY2MifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent f9bb7c8 commit cbe3118

22 files changed

+2011
-390
lines changed

packages/google-cloud-gke-backup/google/cloud/gke_backup/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
)
2424
from google.cloud.gke_backup_v1.services.backup_for_gke.client import BackupForGKEClient
2525
from google.cloud.gke_backup_v1.types.backup import Backup
26-
from google.cloud.gke_backup_v1.types.backup_plan import BackupPlan
26+
from google.cloud.gke_backup_v1.types.backup_plan import (
27+
BackupPlan,
28+
ExclusionWindow,
29+
RpoConfig,
30+
)
2731
from google.cloud.gke_backup_v1.types.common import (
2832
EncryptionKey,
2933
NamespacedName,
@@ -39,6 +43,8 @@
3943
DeleteBackupRequest,
4044
DeleteRestorePlanRequest,
4145
DeleteRestoreRequest,
46+
GetBackupIndexDownloadUrlRequest,
47+
GetBackupIndexDownloadUrlResponse,
4248
GetBackupPlanRequest,
4349
GetBackupRequest,
4450
GetRestorePlanRequest,
@@ -72,6 +78,8 @@
7278
"BackupForGKEAsyncClient",
7379
"Backup",
7480
"BackupPlan",
81+
"ExclusionWindow",
82+
"RpoConfig",
7583
"EncryptionKey",
7684
"NamespacedName",
7785
"NamespacedNames",
@@ -84,6 +92,8 @@
8492
"DeleteBackupRequest",
8593
"DeleteRestorePlanRequest",
8694
"DeleteRestoreRequest",
95+
"GetBackupIndexDownloadUrlRequest",
96+
"GetBackupIndexDownloadUrlResponse",
8797
"GetBackupPlanRequest",
8898
"GetBackupRequest",
8999
"GetRestorePlanRequest",

packages/google-cloud-gke-backup/google/cloud/gke_backup_v1/__init__.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from .services.backup_for_gke import BackupForGKEAsyncClient, BackupForGKEClient
2222
from .types.backup import Backup
23-
from .types.backup_plan import BackupPlan
23+
from .types.backup_plan import BackupPlan, ExclusionWindow, RpoConfig
2424
from .types.common import EncryptionKey, NamespacedName, NamespacedNames, Namespaces
2525
from .types.gkebackup import (
2626
CreateBackupPlanRequest,
@@ -31,6 +31,8 @@
3131
DeleteBackupRequest,
3232
DeleteRestorePlanRequest,
3333
DeleteRestoreRequest,
34+
GetBackupIndexDownloadUrlRequest,
35+
GetBackupIndexDownloadUrlResponse,
3436
GetBackupPlanRequest,
3537
GetBackupRequest,
3638
GetRestorePlanRequest,
@@ -73,6 +75,9 @@
7375
"DeleteRestorePlanRequest",
7476
"DeleteRestoreRequest",
7577
"EncryptionKey",
78+
"ExclusionWindow",
79+
"GetBackupIndexDownloadUrlRequest",
80+
"GetBackupIndexDownloadUrlResponse",
7681
"GetBackupPlanRequest",
7782
"GetBackupRequest",
7883
"GetRestorePlanRequest",
@@ -98,6 +103,7 @@
98103
"Restore",
99104
"RestoreConfig",
100105
"RestorePlan",
106+
"RpoConfig",
101107
"UpdateBackupPlanRequest",
102108
"UpdateBackupRequest",
103109
"UpdateRestorePlanRequest",

packages/google-cloud-gke-backup/google/cloud/gke_backup_v1/gapic_metadata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"get_backup"
5656
]
5757
},
58+
"GetBackupIndexDownloadUrl": {
59+
"methods": [
60+
"get_backup_index_download_url"
61+
]
62+
},
5863
"GetBackupPlan": {
5964
"methods": [
6065
"get_backup_plan"
@@ -180,6 +185,11 @@
180185
"get_backup"
181186
]
182187
},
188+
"GetBackupIndexDownloadUrl": {
189+
"methods": [
190+
"get_backup_index_download_url"
191+
]
192+
},
183193
"GetBackupPlan": {
184194
"methods": [
185195
"get_backup_plan"
@@ -305,6 +315,11 @@
305315
"get_backup"
306316
]
307317
},
318+
"GetBackupIndexDownloadUrl": {
319+
"methods": [
320+
"get_backup_index_download_url"
321+
]
322+
},
308323
"GetBackupPlan": {
309324
"methods": [
310325
"get_backup_plan"

0 commit comments

Comments
 (0)