Skip to content

Commit 27c262d

Browse files
feat: [google-cloud-backupdr] Client library for the backupvault api is added (#13110)
- [ ] Regenerate this pull request now. fix!: Remove visibility of unneeded InitiateBackup RPC fix!: Remove visibility of unneeded AbandonBackup RPC fix!: Remove visibility of unneeded FinalizeBackup RPC fix!: Remove visibility of unneeded RemoveDataSource RPC fix!: Remove visibility of unneeded SetInternalStatus RPC PiperOrigin-RevId: 683196317 Source-Link: googleapis/googleapis@c532f35 Source-Link: googleapis/googleapis-gen@fd43f57 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhY2t1cGRyLy5Pd2xCb3QueWFtbCIsImgiOiJmZDQzZjU3MzNiMDAyMzU4ZmE2Nzk2MjNmNjA5OWFhZmI2NjYwYzhlIn0= BEGIN_NESTED_COMMIT feat: [google-cloud-backupdr] Client library for the backupvault api is added feat: Add backupplan proto feat: Add backupplanassociation proto feat: Add backupvault_ba proto feat: Add backupvault_gce proto docs: A comment for field `oauth2_client_id` in message `.google.cloud.backupdr.v1.ManagementServer` is changed docs: A comment for field `parent` in message `.google.cloud.backupdr.v1.ListManagementServersRequest` is changed docs: A comment for field `management_servers` in message `.google.cloud.backupdr.v1.ListManagementServersResponse` is changed docs: A comment for field `name` in message `.google.cloud.backupdr.v1.GetManagementServerRequest` is changed docs: A comment for field `parent` in message `.google.cloud.backupdr.v1.CreateManagementServerRequest` is changed docs: A comment for field `requested_cancellation` in message `.google.cloud.backupdr.v1.OperationMetadata` is changed PiperOrigin-RevId: 678800741 Source-Link: googleapis/googleapis@d36e288 Source-Link: googleapis/googleapis-gen@fba9d22 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhY2t1cGRyLy5Pd2xCb3QueWFtbCIsImgiOiJmYmE5ZDIyNWI0M2RjZjczNjEwMDY0OTE4MTA0ODVjZGYxYjU3Y2RiIn0= END_NESTED_COMMIT BEGIN_COMMIT_OVERRIDE feat: [google-cloud-backupdr] Client library for the backupvault api is added feat: Add backupplan proto feat: Add backupplanassociation proto feat: Add backupvault_ba proto feat: Add backupvault_gce proto docs: A comment for field `oauth2_client_id` in message `.google.cloud.backupdr.v1.ManagementServer` is changed docs: A comment for field `parent` in message `.google.cloud.backupdr.v1.ListManagementServersRequest` is changed docs: A comment for field `management_servers` in message `.google.cloud.backupdr.v1.ListManagementServersResponse` is changed docs: A comment for field `name` in message `.google.cloud.backupdr.v1.GetManagementServerRequest` is changed docs: A comment for field `parent` in message `.google.cloud.backupdr.v1.CreateManagementServerRequest` is changed docs: A comment for field `requested_cancellation` in message `.google.cloud.backupdr.v1.OperationMetadata` is changed END_COMMIT_OVERRIDE --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: ohmayr <omairnaveed@ymail.com>
1 parent bd7ac53 commit 27c262d

File tree

66 files changed

+44283
-985
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+44283
-985
lines changed

packages/google-cloud-backupdr/google/cloud/backupdr/__init__.py

Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,94 @@
3333
WorkforceIdentityBasedManagementURI,
3434
WorkforceIdentityBasedOAuth2ClientID,
3535
)
36+
from google.cloud.backupdr_v1.types.backupplan import (
37+
BackupPlan,
38+
BackupRule,
39+
BackupWindow,
40+
CreateBackupPlanRequest,
41+
DeleteBackupPlanRequest,
42+
GetBackupPlanRequest,
43+
ListBackupPlansRequest,
44+
ListBackupPlansResponse,
45+
StandardSchedule,
46+
WeekDayOfMonth,
47+
)
48+
from google.cloud.backupdr_v1.types.backupplanassociation import (
49+
BackupPlanAssociation,
50+
CreateBackupPlanAssociationRequest,
51+
DeleteBackupPlanAssociationRequest,
52+
GetBackupPlanAssociationRequest,
53+
ListBackupPlanAssociationsRequest,
54+
ListBackupPlanAssociationsResponse,
55+
RuleConfigInfo,
56+
TriggerBackupRequest,
57+
)
58+
from google.cloud.backupdr_v1.types.backupvault import (
59+
Backup,
60+
BackupApplianceBackupConfig,
61+
BackupApplianceLockInfo,
62+
BackupConfigInfo,
63+
BackupConfigState,
64+
BackupLock,
65+
BackupVault,
66+
BackupVaultView,
67+
BackupView,
68+
CreateBackupVaultRequest,
69+
DataSource,
70+
DataSourceBackupApplianceApplication,
71+
DataSourceGcpResource,
72+
DeleteBackupRequest,
73+
DeleteBackupVaultRequest,
74+
FetchUsableBackupVaultsRequest,
75+
FetchUsableBackupVaultsResponse,
76+
GcpBackupConfig,
77+
GcpResource,
78+
GetBackupRequest,
79+
GetBackupVaultRequest,
80+
GetDataSourceRequest,
81+
ListBackupsRequest,
82+
ListBackupsResponse,
83+
ListBackupVaultsRequest,
84+
ListBackupVaultsResponse,
85+
ListDataSourcesRequest,
86+
ListDataSourcesResponse,
87+
RestoreBackupRequest,
88+
RestoreBackupResponse,
89+
ServiceLockInfo,
90+
TargetResource,
91+
UpdateBackupRequest,
92+
UpdateBackupVaultRequest,
93+
UpdateDataSourceRequest,
94+
)
95+
from google.cloud.backupdr_v1.types.backupvault_ba import (
96+
BackupApplianceBackupProperties,
97+
)
98+
from google.cloud.backupdr_v1.types.backupvault_gce import (
99+
AcceleratorConfig,
100+
AccessConfig,
101+
AdvancedMachineFeatures,
102+
AliasIpRange,
103+
AllocationAffinity,
104+
AttachedDisk,
105+
ComputeInstanceBackupProperties,
106+
ComputeInstanceDataSourceProperties,
107+
ComputeInstanceRestoreProperties,
108+
ComputeInstanceTargetEnvironment,
109+
ConfidentialInstanceConfig,
110+
CustomerEncryptionKey,
111+
DisplayDevice,
112+
Entry,
113+
GuestOsFeature,
114+
InstanceParams,
115+
KeyRevocationActionType,
116+
Metadata,
117+
NetworkInterface,
118+
NetworkPerformanceConfig,
119+
Scheduling,
120+
SchedulingDuration,
121+
ServiceAccount,
122+
Tags,
123+
)
36124

37125
__all__ = (
38126
"BackupDRClient",
@@ -48,4 +136,82 @@
48136
"OperationMetadata",
49137
"WorkforceIdentityBasedManagementURI",
50138
"WorkforceIdentityBasedOAuth2ClientID",
139+
"BackupPlan",
140+
"BackupRule",
141+
"BackupWindow",
142+
"CreateBackupPlanRequest",
143+
"DeleteBackupPlanRequest",
144+
"GetBackupPlanRequest",
145+
"ListBackupPlansRequest",
146+
"ListBackupPlansResponse",
147+
"StandardSchedule",
148+
"WeekDayOfMonth",
149+
"BackupPlanAssociation",
150+
"CreateBackupPlanAssociationRequest",
151+
"DeleteBackupPlanAssociationRequest",
152+
"GetBackupPlanAssociationRequest",
153+
"ListBackupPlanAssociationsRequest",
154+
"ListBackupPlanAssociationsResponse",
155+
"RuleConfigInfo",
156+
"TriggerBackupRequest",
157+
"Backup",
158+
"BackupApplianceBackupConfig",
159+
"BackupApplianceLockInfo",
160+
"BackupConfigInfo",
161+
"BackupLock",
162+
"BackupVault",
163+
"CreateBackupVaultRequest",
164+
"DataSource",
165+
"DataSourceBackupApplianceApplication",
166+
"DataSourceGcpResource",
167+
"DeleteBackupRequest",
168+
"DeleteBackupVaultRequest",
169+
"FetchUsableBackupVaultsRequest",
170+
"FetchUsableBackupVaultsResponse",
171+
"GcpBackupConfig",
172+
"GcpResource",
173+
"GetBackupRequest",
174+
"GetBackupVaultRequest",
175+
"GetDataSourceRequest",
176+
"ListBackupsRequest",
177+
"ListBackupsResponse",
178+
"ListBackupVaultsRequest",
179+
"ListBackupVaultsResponse",
180+
"ListDataSourcesRequest",
181+
"ListDataSourcesResponse",
182+
"RestoreBackupRequest",
183+
"RestoreBackupResponse",
184+
"ServiceLockInfo",
185+
"TargetResource",
186+
"UpdateBackupRequest",
187+
"UpdateBackupVaultRequest",
188+
"UpdateDataSourceRequest",
189+
"BackupConfigState",
190+
"BackupVaultView",
191+
"BackupView",
192+
"BackupApplianceBackupProperties",
193+
"AcceleratorConfig",
194+
"AccessConfig",
195+
"AdvancedMachineFeatures",
196+
"AliasIpRange",
197+
"AllocationAffinity",
198+
"AttachedDisk",
199+
"ComputeInstanceBackupProperties",
200+
"ComputeInstanceDataSourceProperties",
201+
"ComputeInstanceRestoreProperties",
202+
"ComputeInstanceTargetEnvironment",
203+
"ConfidentialInstanceConfig",
204+
"CustomerEncryptionKey",
205+
"DisplayDevice",
206+
"Entry",
207+
"GuestOsFeature",
208+
"InstanceParams",
209+
"Metadata",
210+
"NetworkInterface",
211+
"NetworkPerformanceConfig",
212+
"Scheduling",
213+
"SchedulingDuration",
214+
"ServiceAccount",
215+
"Tags",
216+
"KeyRevocationActionType",
51217
)

packages/google-cloud-backupdr/google/cloud/backupdr_v1/__init__.py

Lines changed: 164 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,183 @@
3232
WorkforceIdentityBasedManagementURI,
3333
WorkforceIdentityBasedOAuth2ClientID,
3434
)
35+
from .types.backupplan import (
36+
BackupPlan,
37+
BackupRule,
38+
BackupWindow,
39+
CreateBackupPlanRequest,
40+
DeleteBackupPlanRequest,
41+
GetBackupPlanRequest,
42+
ListBackupPlansRequest,
43+
ListBackupPlansResponse,
44+
StandardSchedule,
45+
WeekDayOfMonth,
46+
)
47+
from .types.backupplanassociation import (
48+
BackupPlanAssociation,
49+
CreateBackupPlanAssociationRequest,
50+
DeleteBackupPlanAssociationRequest,
51+
GetBackupPlanAssociationRequest,
52+
ListBackupPlanAssociationsRequest,
53+
ListBackupPlanAssociationsResponse,
54+
RuleConfigInfo,
55+
TriggerBackupRequest,
56+
)
57+
from .types.backupvault import (
58+
Backup,
59+
BackupApplianceBackupConfig,
60+
BackupApplianceLockInfo,
61+
BackupConfigInfo,
62+
BackupConfigState,
63+
BackupLock,
64+
BackupVault,
65+
BackupVaultView,
66+
BackupView,
67+
CreateBackupVaultRequest,
68+
DataSource,
69+
DataSourceBackupApplianceApplication,
70+
DataSourceGcpResource,
71+
DeleteBackupRequest,
72+
DeleteBackupVaultRequest,
73+
FetchUsableBackupVaultsRequest,
74+
FetchUsableBackupVaultsResponse,
75+
GcpBackupConfig,
76+
GcpResource,
77+
GetBackupRequest,
78+
GetBackupVaultRequest,
79+
GetDataSourceRequest,
80+
ListBackupsRequest,
81+
ListBackupsResponse,
82+
ListBackupVaultsRequest,
83+
ListBackupVaultsResponse,
84+
ListDataSourcesRequest,
85+
ListDataSourcesResponse,
86+
RestoreBackupRequest,
87+
RestoreBackupResponse,
88+
ServiceLockInfo,
89+
TargetResource,
90+
UpdateBackupRequest,
91+
UpdateBackupVaultRequest,
92+
UpdateDataSourceRequest,
93+
)
94+
from .types.backupvault_ba import BackupApplianceBackupProperties
95+
from .types.backupvault_gce import (
96+
AcceleratorConfig,
97+
AccessConfig,
98+
AdvancedMachineFeatures,
99+
AliasIpRange,
100+
AllocationAffinity,
101+
AttachedDisk,
102+
ComputeInstanceBackupProperties,
103+
ComputeInstanceDataSourceProperties,
104+
ComputeInstanceRestoreProperties,
105+
ComputeInstanceTargetEnvironment,
106+
ConfidentialInstanceConfig,
107+
CustomerEncryptionKey,
108+
DisplayDevice,
109+
Entry,
110+
GuestOsFeature,
111+
InstanceParams,
112+
KeyRevocationActionType,
113+
Metadata,
114+
NetworkInterface,
115+
NetworkPerformanceConfig,
116+
Scheduling,
117+
SchedulingDuration,
118+
ServiceAccount,
119+
Tags,
120+
)
35121

36122
__all__ = (
37123
"BackupDRAsyncClient",
124+
"AcceleratorConfig",
125+
"AccessConfig",
126+
"AdvancedMachineFeatures",
127+
"AliasIpRange",
128+
"AllocationAffinity",
129+
"AttachedDisk",
130+
"Backup",
131+
"BackupApplianceBackupConfig",
132+
"BackupApplianceBackupProperties",
133+
"BackupApplianceLockInfo",
134+
"BackupConfigInfo",
135+
"BackupConfigState",
38136
"BackupDRClient",
137+
"BackupLock",
138+
"BackupPlan",
139+
"BackupPlanAssociation",
140+
"BackupRule",
141+
"BackupVault",
142+
"BackupVaultView",
143+
"BackupView",
144+
"BackupWindow",
145+
"ComputeInstanceBackupProperties",
146+
"ComputeInstanceDataSourceProperties",
147+
"ComputeInstanceRestoreProperties",
148+
"ComputeInstanceTargetEnvironment",
149+
"ConfidentialInstanceConfig",
150+
"CreateBackupPlanAssociationRequest",
151+
"CreateBackupPlanRequest",
152+
"CreateBackupVaultRequest",
39153
"CreateManagementServerRequest",
154+
"CustomerEncryptionKey",
155+
"DataSource",
156+
"DataSourceBackupApplianceApplication",
157+
"DataSourceGcpResource",
158+
"DeleteBackupPlanAssociationRequest",
159+
"DeleteBackupPlanRequest",
160+
"DeleteBackupRequest",
161+
"DeleteBackupVaultRequest",
40162
"DeleteManagementServerRequest",
163+
"DisplayDevice",
164+
"Entry",
165+
"FetchUsableBackupVaultsRequest",
166+
"FetchUsableBackupVaultsResponse",
167+
"GcpBackupConfig",
168+
"GcpResource",
169+
"GetBackupPlanAssociationRequest",
170+
"GetBackupPlanRequest",
171+
"GetBackupRequest",
172+
"GetBackupVaultRequest",
173+
"GetDataSourceRequest",
41174
"GetManagementServerRequest",
175+
"GuestOsFeature",
176+
"InstanceParams",
177+
"KeyRevocationActionType",
178+
"ListBackupPlanAssociationsRequest",
179+
"ListBackupPlanAssociationsResponse",
180+
"ListBackupPlansRequest",
181+
"ListBackupPlansResponse",
182+
"ListBackupVaultsRequest",
183+
"ListBackupVaultsResponse",
184+
"ListBackupsRequest",
185+
"ListBackupsResponse",
186+
"ListDataSourcesRequest",
187+
"ListDataSourcesResponse",
42188
"ListManagementServersRequest",
43189
"ListManagementServersResponse",
44190
"ManagementServer",
45191
"ManagementURI",
192+
"Metadata",
46193
"NetworkConfig",
194+
"NetworkInterface",
195+
"NetworkPerformanceConfig",
47196
"OperationMetadata",
197+
"RestoreBackupRequest",
198+
"RestoreBackupResponse",
199+
"RuleConfigInfo",
200+
"Scheduling",
201+
"SchedulingDuration",
202+
"ServiceAccount",
203+
"ServiceLockInfo",
204+
"StandardSchedule",
205+
"Tags",
206+
"TargetResource",
207+
"TriggerBackupRequest",
208+
"UpdateBackupRequest",
209+
"UpdateBackupVaultRequest",
210+
"UpdateDataSourceRequest",
211+
"WeekDayOfMonth",
48212
"WorkforceIdentityBasedManagementURI",
49213
"WorkforceIdentityBasedOAuth2ClientID",
50214
)

0 commit comments

Comments
 (0)