google-cloud-backupdr-v1beta 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -6
  3. data/lib/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy_pb.rb +1 -1
  4. data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicy_pb.rb +2 -1
  5. data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicybinding_pb.rb +2 -1
  6. data/lib/google/cloud/backupdr/v1beta/backupdr/client.rb +2265 -114
  7. data/lib/google/cloud/backupdr/v1beta/backupdr/paths.rb +99 -0
  8. data/lib/google/cloud/backupdr/v1beta/backupdr/rest/client.rb +2137 -112
  9. data/lib/google/cloud/backupdr/v1beta/backupdr/rest/service_stub.rb +1491 -386
  10. data/lib/google/cloud/backupdr/v1beta/backupdr_pb.rb +5 -1
  11. data/lib/google/cloud/backupdr/v1beta/backupdr_services_pb.rb +45 -0
  12. data/lib/google/cloud/backupdr/v1beta/backupplan_pb.rb +1 -1
  13. data/lib/google/cloud/backupdr/v1beta/backupplanassociation_pb.rb +1 -1
  14. data/lib/google/cloud/backupdr/v1beta/backupvault_alloydb_pb.rb +1 -1
  15. data/lib/google/cloud/backupdr/v1beta/backupvault_ba_pb.rb +1 -1
  16. data/lib/google/cloud/backupdr/v1beta/backupvault_cloudsql_pb.rb +1 -1
  17. data/lib/google/cloud/backupdr/v1beta/backupvault_disk_pb.rb +1 -1
  18. data/lib/google/cloud/backupdr/v1beta/backupvault_gce_pb.rb +1 -1
  19. data/lib/google/cloud/backupdr/v1beta/backupvault_pb.rb +3 -1
  20. data/lib/google/cloud/backupdr/v1beta/bindingmatchingresource_pb.rb +1 -1
  21. data/lib/google/cloud/backupdr/v1beta/datasourcereference_pb.rb +1 -1
  22. data/lib/google/cloud/backupdr/v1beta/protection_summary_pb.rb +1 -1
  23. data/lib/google/cloud/backupdr/v1beta/restore_template_common_pb.rb +28 -0
  24. data/lib/google/cloud/backupdr/v1beta/restore_template_execution_pb.rb +45 -0
  25. data/lib/google/cloud/backupdr/v1beta/restore_template_pb.rb +40 -0
  26. data/lib/google/cloud/backupdr/v1beta/restore_verification_plan_association_pb.rb +36 -0
  27. data/lib/google/cloud/backupdr/v1beta/restore_verification_plan_pb.rb +34 -0
  28. data/lib/google/cloud/backupdr/v1beta/version.rb +1 -1
  29. data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicy.rb +38 -7
  30. data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicybinding.rb +32 -5
  31. data/proto_docs/google/cloud/backupdr/v1beta/backupvault.rb +31 -0
  32. data/proto_docs/google/cloud/backupdr/v1beta/bindingmatchingresource.rb +6 -6
  33. data/proto_docs/google/cloud/backupdr/v1beta/restore_template.rb +292 -0
  34. data/proto_docs/google/cloud/backupdr/v1beta/restore_template_common.rb +80 -0
  35. data/proto_docs/google/cloud/backupdr/v1beta/restore_template_execution.rb +399 -0
  36. data/proto_docs/google/cloud/backupdr/v1beta/restore_verification_plan.rb +270 -0
  37. data/proto_docs/google/cloud/backupdr/v1beta/restore_verification_plan_association.rb +264 -0
  38. data/proto_docs/google/protobuf/struct.rb +108 -0
  39. metadata +14 -3
@@ -24,14 +24,15 @@ module Google
24
24
  # An AutoprotectionPolicyBinding (APPA) acts as the bridge between an
25
25
  # AutoprotectionPolicy and the scope (Project, Folder, or Organization) where
26
26
  # the policy should be applied.
27
- # @!attribute [rw] name
27
+ # @!attribute [r] name
28
28
  # @return [::String]
29
- # Identifier. The resource name of the AutoProtectionPolicyBinding.
30
- # Format:
29
+ # Output only. Identifier. The resource name of the
30
+ # AutoProtectionPolicyBinding. Format:
31
31
  # `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`
32
32
  # @!attribute [rw] description
33
33
  # @return [::String]
34
- # Optional. A description of the binding.
34
+ # Optional. A description of the binding. The description must be at most
35
+ # 2048 characters.
35
36
  # @!attribute [r] state
36
37
  # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding::State]
37
38
  # Output only. The current state of the AutoProtectionPolicyBinding.
@@ -51,7 +52,7 @@ module Google
51
52
  # Output only. The timestamp when the binding was last updated.
52
53
  # @!attribute [rw] etag
53
54
  # @return [::String]
54
- # Optional. Output only. The etag for the binding.
55
+ # Output only. The etag for the binding.
55
56
  # If this is provided on update, it must match the server's etag.
56
57
  class AutoProtectionPolicyBinding
57
58
  include ::Google::Protobuf::MessageExts
@@ -102,9 +103,21 @@ module Google
102
103
  # @return [::String]
103
104
  # Required. The ID to use for the binding.
104
105
  # This will become the final component of the binding's resource name.
106
+ #
107
+ # This value must start with a lowercase letter followed by up to 62
108
+ # lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
105
109
  # @!attribute [rw] auto_protection_policy_binding
106
110
  # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding]
107
111
  # Required. The AutoProtectionPolicyBinding resource to create.
112
+ # @!attribute [rw] request_id
113
+ # @return [::String]
114
+ # Optional. An optional request ID to identify requests. Specify a unique
115
+ # request ID so that if you must retry your request, the server will know to
116
+ # ignore the request if it has already been completed. The server will
117
+ # guarantee that for at least 60 minutes since the first request.
118
+ #
119
+ # The request ID must be a valid UUID with the exception that zero UUID is
120
+ # not supported (00000000-0000-0000-0000-000000000000).
108
121
  class CreateAutoProtectionPolicyBindingRequest
109
122
  include ::Google::Protobuf::MessageExts
110
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -170,6 +183,20 @@ module Google
170
183
  # Required. The name of the binding to delete.
171
184
  # Format:
172
185
  # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}/bindings/\\{binding}
186
+ # @!attribute [rw] etag
187
+ # @return [::String]
188
+ # Optional. The current etag of the AutoProtectionPolicyBinding.
189
+ # If an etag is provided and does not match the current etag of the
190
+ # binding, deletion will be blocked and an ABORTED error will be returned.
191
+ # @!attribute [rw] request_id
192
+ # @return [::String]
193
+ # Optional. An optional request ID to identify requests. Specify a unique
194
+ # request ID so that if you must retry your request, the server will know to
195
+ # ignore the request if it has already been completed. The server will
196
+ # guarantee that for at least 60 minutes since the first request.
197
+ #
198
+ # The request ID must be a valid UUID with the exception that zero UUID is
199
+ # not supported (00000000-0000-0000-0000-000000000000).
173
200
  class InitiateDeleteAutoProtectionPolicyBindingRequest
174
201
  include ::Google::Protobuf::MessageExts
175
202
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -627,6 +627,9 @@ module Google
627
627
  # @return [::Array<::String>]
628
628
  # Optional. Output only. The list of KMS key versions used to encrypt the
629
629
  # backup.
630
+ # @!attribute [r] verification_summary
631
+ # @return [::Google::Cloud::BackupDR::V1beta::VerificationSummary]
632
+ # Output only. The restore verification status of the backup.
630
633
  class Backup
631
634
  include ::Google::Protobuf::MessageExts
632
635
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -704,6 +707,34 @@ module Google
704
707
  end
705
708
  end
706
709
 
710
+ # VerificationSummary contains the status and timestamp of the
711
+ # latest Automated Verification test.
712
+ # @!attribute [r] last_verification_time
713
+ # @return [::Google::Protobuf::Timestamp]
714
+ # Output only. The time when the backup was last verified.
715
+ # @!attribute [r] last_verification_state
716
+ # @return [::Google::Cloud::BackupDR::V1beta::VerificationSummary::LastVerificationState]
717
+ # Output only. The state of the last verification.
718
+ # @!attribute [r] last_verification_execution
719
+ # @return [::String]
720
+ # Output only. The last verification execution.
721
+ class VerificationSummary
722
+ include ::Google::Protobuf::MessageExts
723
+ extend ::Google::Protobuf::MessageExts::ClassMethods
724
+
725
+ # LastVerificationState represents the state of the verification.
726
+ module LastVerificationState
727
+ # Verification state is unspecified.
728
+ STATE_UNSPECIFIED = 0
729
+
730
+ # Verification succeeded.
731
+ SUCCEEDED = 1
732
+
733
+ # Verification failed.
734
+ FAILED = 2
735
+ end
736
+ end
737
+
707
738
  # Message for creating a BackupVault.
708
739
  # @!attribute [rw] parent
709
740
  # @return [::String]
@@ -86,15 +86,15 @@ module Google
86
86
 
87
87
  # BindingMatchingResource contains the details of a resource that matches the
88
88
  # criteria of a binding.
89
- # @!attribute [rw] name
89
+ # @!attribute [r] name
90
90
  # @return [::String]
91
- # Identifier. The resource name of the `BindingMatchingResource`.
92
- # Format:
91
+ # Output only. Identifier. The resource name of the
92
+ # `BindingMatchingResource`. Format:
93
93
  # `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}`
94
- # @!attribute [rw] resource
94
+ # @!attribute [r] resource
95
95
  # @return [::String]
96
- # Required. Immutable. Resource name of the workload that matches the
97
- # criteria of the binding.
96
+ # Output only. Resource name of the workload that matches the criteria of the
97
+ # binding.
98
98
  #
99
99
  # The format can be either a relative resource name (e.g.,
100
100
  # `projects/my-project/zones/us-central1-a/instances/my-instance`) or a
@@ -0,0 +1,292 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module BackupDR
23
+ module V1beta
24
+ # A `RestoreTemplate` encapsulates DR readiness configurations for validating
25
+ # backups.
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Identifier. The resource name of the RestoreTemplate.
29
+ # @!attribute [rw] description
30
+ # @return [::String]
31
+ # Optional. User-provided description of the restore template.
32
+ # @!attribute [r] create_time
33
+ # @return [::Google::Protobuf::Timestamp]
34
+ # Output only. The time when the restore template was created.
35
+ # @!attribute [r] update_time
36
+ # @return [::Google::Protobuf::Timestamp]
37
+ # Output only. The time when the restore template was last updated.
38
+ # @!attribute [rw] resource_type
39
+ # @return [::String]
40
+ # Required. Immutable. The specific type of the workload being restored.
41
+ # The format is "\\{service_name}/\\{resource_kind}", for example,
42
+ # "compute.googleapis.com/Instance".
43
+ # @!attribute [rw] labels
44
+ # @return [::Google::Protobuf::Map{::String => ::String}]
45
+ # Optional. User-defined labels.
46
+ # @!attribute [rw] backup_selection_config
47
+ # @return [::Google::Cloud::BackupDR::V1beta::BackupSelectionConfig]
48
+ # Required. Backup selection configuration.
49
+ # @!attribute [rw] pre_restore_config
50
+ # @return [::Google::Cloud::BackupDR::V1beta::PreRestoreConfig]
51
+ # Optional. Pre-restore configuration.
52
+ # @!attribute [rw] post_restore_config
53
+ # @return [::Google::Cloud::BackupDR::V1beta::PostRestoreConfig]
54
+ # Optional. Post-restore configuration.
55
+ # @!attribute [rw] verification_config
56
+ # @return [::Google::Cloud::BackupDR::V1beta::VerificationConfig]
57
+ # Optional. Verification configuration.
58
+ # @!attribute [rw] restore_properties
59
+ # @return [::Google::Protobuf::Struct]
60
+ # Required. Defines target environments where the resource will be restored.
61
+ #
62
+ # The target resource name in `restore_properties` supports the
63
+ # `{EXECUTION_ID}` token to dynamically generate unique resource names for
64
+ # each execution. During restore execution, every occurrence of
65
+ # `{EXECUTION_ID}` in the target resource name is replaced with the
66
+ # 8-character `RestoreTemplateExecution` ID (for example,
67
+ # `"restored-resource-{EXECUTION_ID}"` or
68
+ # `"restored-{EXECUTION_ID}-resource"` resolves to
69
+ # `"restored-resource-5d437b06"` or `"restored-5d437b06-resource"`).
70
+ # @!attribute [r] state
71
+ # @return [::Google::Cloud::BackupDR::V1beta::RestoreTemplate::State]
72
+ # Output only. The state of the restore template.
73
+ # @!attribute [r] execution_summary
74
+ # @return [::Google::Cloud::BackupDR::V1beta::ExecutionSummary]
75
+ # Output only. Summary of the last execution.
76
+ # @!attribute [rw] etag
77
+ # @return [::String]
78
+ # Optional. Etag for concurrency control.
79
+ class RestoreTemplate
80
+ include ::Google::Protobuf::MessageExts
81
+ extend ::Google::Protobuf::MessageExts::ClassMethods
82
+
83
+ # @!attribute [rw] key
84
+ # @return [::String]
85
+ # @!attribute [rw] value
86
+ # @return [::String]
87
+ class LabelsEntry
88
+ include ::Google::Protobuf::MessageExts
89
+ extend ::Google::Protobuf::MessageExts::ClassMethods
90
+ end
91
+
92
+ # The state of the RestoreTemplate.
93
+ module State
94
+ # State not specified.
95
+ STATE_UNSPECIFIED = 0
96
+
97
+ # The template is being created.
98
+ CREATING = 1
99
+
100
+ # The template is active and ready to use.
101
+ ACTIVE = 2
102
+
103
+ # The template is being updated.
104
+ UPDATING = 3
105
+
106
+ # The template is being deleted.
107
+ DELETING = 4
108
+ end
109
+ end
110
+
111
+ # Summary of the last execution.
112
+ # @!attribute [r] last_execution
113
+ # @return [::String]
114
+ # Output only. The resource name of the last execution.
115
+ # Format:
116
+ # `projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}`
117
+ # @!attribute [r] last_execution_state
118
+ # @return [::Google::Cloud::BackupDR::V1beta::RestoreTemplateExecution::ExecutionState]
119
+ # Output only. The state of the last execution.
120
+ class ExecutionSummary
121
+ include ::Google::Protobuf::MessageExts
122
+ extend ::Google::Protobuf::MessageExts::ClassMethods
123
+ end
124
+
125
+ # Request message for creating a RestoreTemplate instance.
126
+ # @!attribute [rw] parent
127
+ # @return [::String]
128
+ # Required. The restore template project and location in the format
129
+ # 'projects/\\{project_id}/locations/\\{location}'.
130
+ # @!attribute [rw] restore_template_id
131
+ # @return [::String]
132
+ # Required. The ID of the restore template to create. The ID must be
133
+ # unique for the specified project and location.
134
+ # @!attribute [rw] restore_template
135
+ # @return [::Google::Cloud::BackupDR::V1beta::RestoreTemplate]
136
+ # Required. A RestoreTemplate resource.
137
+ # @!attribute [rw] request_id
138
+ # @return [::String]
139
+ # Optional. An optional request ID to identify requests. Specify a unique
140
+ # request ID so that if you must retry your request, the server will know to
141
+ # ignore the request if it has already been completed.
142
+ #
143
+ # The request ID must be a valid UUID with the exception that zero UUID is
144
+ # not supported (00000000-0000-0000-0000-000000000000).
145
+ class CreateRestoreTemplateRequest
146
+ include ::Google::Protobuf::MessageExts
147
+ extend ::Google::Protobuf::MessageExts::ClassMethods
148
+ end
149
+
150
+ # Request message for getting a RestoreTemplate instance.
151
+ # @!attribute [rw] name
152
+ # @return [::String]
153
+ # Required. The name of the restore template to retrieve.
154
+ # Format:
155
+ # 'projects/\\{project_id}/locations/\\{location}/restoreTemplates/\\{restore_template_id}'
156
+ class GetRestoreTemplateRequest
157
+ include ::Google::Protobuf::MessageExts
158
+ extend ::Google::Protobuf::MessageExts::ClassMethods
159
+ end
160
+
161
+ # Request message for updating a RestoreTemplate instance.
162
+ # @!attribute [rw] update_mask
163
+ # @return [::Google::Protobuf::FieldMask]
164
+ # Optional. The list of fields to update.
165
+ # Field mask is used to specify the fields to be overwritten in the
166
+ # RestoreTemplate resource by the update.
167
+ # The fields specified in the update_mask are relative to the resource, not
168
+ # the full request. A field will be overwritten if it is in the mask.
169
+ # @!attribute [rw] restore_template
170
+ # @return [::Google::Cloud::BackupDR::V1beta::RestoreTemplate]
171
+ # Required. The restore template to update.
172
+ # @!attribute [rw] request_id
173
+ # @return [::String]
174
+ # Optional. An optional request ID to identify requests. Specify a unique
175
+ # request ID so that if you must retry your request, the server will know to
176
+ # ignore the request if it has already been completed.
177
+ #
178
+ # The request ID must be a valid UUID with the exception that zero UUID is
179
+ # not supported (00000000-0000-0000-0000-000000000000).
180
+ # @!attribute [rw] validate_only
181
+ # @return [::Boolean]
182
+ # Optional. Only validate the request, but do not perform mutations.
183
+ # The default is 'false'.
184
+ class UpdateRestoreTemplateRequest
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
+ end
188
+
189
+ # Request message for deleting a RestoreTemplate instance.
190
+ # @!attribute [rw] name
191
+ # @return [::String]
192
+ # Required. The name of the restore template to delete.
193
+ # Format:
194
+ # 'projects/\\{project_id}/locations/\\{location}/restoreTemplates/\\{restore_template_id}'
195
+ # @!attribute [rw] request_id
196
+ # @return [::String]
197
+ # Optional. An optional request ID to identify requests. Specify a unique
198
+ # request ID so that if you must retry your request, the server will know to
199
+ # ignore the request if it has already been completed.
200
+ #
201
+ # The request ID must be a valid UUID with the exception that zero UUID is
202
+ # not supported (00000000-0000-0000-0000-000000000000).
203
+ # @!attribute [rw] force
204
+ # @return [::Boolean]
205
+ # Optional. If set to true, any child RestoreTemplateExecutions will also be
206
+ # deleted. If false and the RestoreTemplate has any child executions, the
207
+ # request will fail.
208
+ class DeleteRestoreTemplateRequest
209
+ include ::Google::Protobuf::MessageExts
210
+ extend ::Google::Protobuf::MessageExts::ClassMethods
211
+ end
212
+
213
+ # Request message for running a RestoreTemplate.
214
+ # @!attribute [rw] name
215
+ # @return [::String]
216
+ # Required. The name of the restore template to run.
217
+ # Format:
218
+ # 'projects/\\{project_id}/locations/\\{location}/restoreTemplates/\\{restore_template_id}'
219
+ # @!attribute [rw] backup
220
+ # @return [::String]
221
+ # Optional. The resource name of the Backup to restore from.
222
+ # If not specified, the latest backup matching the backup selection
223
+ # configuration in the RestoreTemplate will be used.
224
+ # Format:
225
+ # 'projects/\\{project}/locations/\\{location}/backupVaults/\\{backup_vault}/dataSources/\\{data_source}/backups/\\{backup}'
226
+ # @!attribute [rw] request_id
227
+ # @return [::String]
228
+ # Optional. An optional request ID to identify requests. Specify a unique
229
+ # request ID so that if you must retry your request, the server will know to
230
+ # ignore the request if it has already been completed.
231
+ #
232
+ # The request ID must be a valid UUID with the exception that zero UUID is
233
+ # not supported (00000000-0000-0000-0000-000000000000).
234
+ class RunRestoreTemplateRequest
235
+ include ::Google::Protobuf::MessageExts
236
+ extend ::Google::Protobuf::MessageExts::ClassMethods
237
+ end
238
+
239
+ # Response message for RunRestoreTemplate.
240
+ # @!attribute [r] restore_template_execution
241
+ # @return [::String]
242
+ # Output only. The resource name of the initiated RestoreTemplateExecution.
243
+ # Format:
244
+ # `projects/{project}/locations/{location}/restoreTemplates/{restore_template}/executions/{execution}`
245
+ class RunRestoreTemplateResponse
246
+ include ::Google::Protobuf::MessageExts
247
+ extend ::Google::Protobuf::MessageExts::ClassMethods
248
+ end
249
+
250
+ # Request message for listing RestoreTemplates.
251
+ # @!attribute [rw] parent
252
+ # @return [::String]
253
+ # Required. The project and location from which to list the restore
254
+ # templates.
255
+ # Format: `projects/{project}/locations/{location}`.
256
+ # @!attribute [rw] page_size
257
+ # @return [::Integer]
258
+ # Optional. The maximum number of items to return.
259
+ # @!attribute [rw] page_token
260
+ # @return [::String]
261
+ # Optional. A page token, received from a previous `ListRestoreTemplates`
262
+ # call.
263
+ # @!attribute [rw] filter
264
+ # @return [::String]
265
+ # Optional. Field match expression used to filter the results.
266
+ # @!attribute [rw] order_by
267
+ # @return [::String]
268
+ # Optional. Field by which to sort the results.
269
+ class ListRestoreTemplatesRequest
270
+ include ::Google::Protobuf::MessageExts
271
+ extend ::Google::Protobuf::MessageExts::ClassMethods
272
+ end
273
+
274
+ # Response message for listing RestoreTemplates.
275
+ # @!attribute [rw] restore_templates
276
+ # @return [::Array<::Google::Cloud::BackupDR::V1beta::RestoreTemplate>]
277
+ # The list of RestoreTemplates.
278
+ # @!attribute [rw] next_page_token
279
+ # @return [::String]
280
+ # A token which may be sent as `page_token` in a subsequent
281
+ # `ListRestoreTemplates` call.
282
+ # @!attribute [rw] unreachable
283
+ # @return [::Array<::String>]
284
+ # Locations that could not be reached.
285
+ class ListRestoreTemplatesResponse
286
+ include ::Google::Protobuf::MessageExts
287
+ extend ::Google::Protobuf::MessageExts::ClassMethods
288
+ end
289
+ end
290
+ end
291
+ end
292
+ end
@@ -0,0 +1,80 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module BackupDR
23
+ module V1beta
24
+ # Configuration for selecting a backup.
25
+ # @!attribute [rw] data_source
26
+ # @return [::String]
27
+ # Required. Immutable. The fully qualified URI of the backupdr data source.
28
+ class BackupSelectionConfig
29
+ include ::Google::Protobuf::MessageExts
30
+ extend ::Google::Protobuf::MessageExts::ClassMethods
31
+ end
32
+
33
+ # Configuration for Pre-Restore.
34
+ # @!attribute [rw] cloud_run_job
35
+ # @return [::String]
36
+ # Cloud Run job action to execute.
37
+ # Format: `projects/{project}/locations/{location}/jobs/{job}`
38
+ # @!attribute [rw] timeout
39
+ # @return [::Google::Protobuf::Duration]
40
+ # Optional. The timeout for this phase.
41
+ # If set, the timeout must be positive and less than or equal to 24 hours
42
+ # (86400s).
43
+ class PreRestoreConfig
44
+ include ::Google::Protobuf::MessageExts
45
+ extend ::Google::Protobuf::MessageExts::ClassMethods
46
+ end
47
+
48
+ # Configuration for Post-Restore.
49
+ # @!attribute [rw] cloud_run_job
50
+ # @return [::String]
51
+ # Cloud Run job action to execute.
52
+ # Format: `projects/{project}/locations/{location}/jobs/{job}`
53
+ # @!attribute [rw] timeout
54
+ # @return [::Google::Protobuf::Duration]
55
+ # Optional. The timeout for this phase.
56
+ # If set, the timeout must be positive and less than or equal to 24 hours
57
+ # (86400s).
58
+ class PostRestoreConfig
59
+ include ::Google::Protobuf::MessageExts
60
+ extend ::Google::Protobuf::MessageExts::ClassMethods
61
+ end
62
+
63
+ # Configuration for Verification.
64
+ # @!attribute [rw] cloud_run_job
65
+ # @return [::String]
66
+ # Cloud Run job action to execute.
67
+ # Format: `projects/{project}/locations/{location}/jobs/{job}`
68
+ # @!attribute [rw] timeout
69
+ # @return [::Google::Protobuf::Duration]
70
+ # Optional. The timeout for this phase.
71
+ # If set, the timeout must be positive and less than or equal to 24 hours
72
+ # (86400s).
73
+ class VerificationConfig
74
+ include ::Google::Protobuf::MessageExts
75
+ extend ::Google::Protobuf::MessageExts::ClassMethods
76
+ end
77
+ end
78
+ end
79
+ end
80
+ end