google-cloud-backupdr-v1beta 0.a → 0.1.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +122 -0
  4. data/README.md +154 -8
  5. data/lib/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy_pb.rb +30 -0
  6. data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicy_pb.rb +39 -0
  7. data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicybinding_pb.rb +32 -0
  8. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/client.rb +532 -0
  9. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/credentials.rb +48 -0
  10. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/paths.rb +50 -0
  11. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/client.rb +491 -0
  12. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/service_stub.rb +142 -0
  13. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest.rb +53 -0
  14. data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary.rb +55 -0
  15. data/lib/google/cloud/backupdr/v1beta/backupdr/client.rb +6101 -0
  16. data/lib/google/cloud/backupdr/v1beta/backupdr/credentials.rb +48 -0
  17. data/lib/google/cloud/backupdr/v1beta/backupdr/operations.rb +843 -0
  18. data/lib/google/cloud/backupdr/v1beta/backupdr/paths.rb +372 -0
  19. data/lib/google/cloud/backupdr/v1beta/backupdr/rest/client.rb +5724 -0
  20. data/lib/google/cloud/backupdr/v1beta/backupdr/rest/operations.rb +927 -0
  21. data/lib/google/cloud/backupdr/v1beta/backupdr/rest/service_stub.rb +3086 -0
  22. data/lib/google/cloud/backupdr/v1beta/backupdr/rest.rb +54 -0
  23. data/lib/google/cloud/backupdr/v1beta/backupdr.rb +56 -0
  24. data/lib/google/cloud/backupdr/v1beta/backupdr_pb.rb +55 -0
  25. data/lib/google/cloud/backupdr/v1beta/backupdr_services_pb.rb +145 -0
  26. data/lib/google/cloud/backupdr/v1beta/backupplan_pb.rb +49 -0
  27. data/lib/google/cloud/backupdr/v1beta/backupplanassociation_pb.rb +42 -0
  28. data/lib/google/cloud/backupdr/v1beta/backupvault_alloydb_pb.rb +30 -0
  29. data/lib/google/cloud/backupdr/v1beta/backupvault_ba_pb.rb +24 -0
  30. data/lib/google/cloud/backupdr/v1beta/backupvault_cloudsql_pb.rb +30 -0
  31. data/lib/google/cloud/backupdr/v1beta/backupvault_disk_pb.rb +33 -0
  32. data/lib/google/cloud/backupdr/v1beta/backupvault_gce_pb.rb +66 -0
  33. data/lib/google/cloud/backupdr/v1beta/backupvault_pb.rb +80 -0
  34. data/lib/google/cloud/backupdr/v1beta/bindingmatchingresource_pb.rb +31 -0
  35. data/lib/google/cloud/backupdr/v1beta/bindings_override.rb +108 -0
  36. data/lib/google/cloud/backupdr/v1beta/datasourcereference_pb.rb +35 -0
  37. data/lib/google/cloud/backupdr/v1beta/protection_summary_pb.rb +40 -0
  38. data/lib/google/cloud/backupdr/v1beta/protection_summary_services_pb.rb +45 -0
  39. data/lib/google/cloud/backupdr/v1beta/rest.rb +39 -0
  40. data/lib/google/cloud/backupdr/v1beta/version.rb +8 -3
  41. data/lib/google/cloud/backupdr/v1beta.rb +46 -0
  42. data/lib/google-cloud-backupdr-v1beta.rb +21 -0
  43. data/proto_docs/README.md +4 -0
  44. data/proto_docs/google/api/client.rb +593 -0
  45. data/proto_docs/google/api/field_behavior.rb +85 -0
  46. data/proto_docs/google/api/field_info.rb +88 -0
  47. data/proto_docs/google/api/launch_stage.rb +71 -0
  48. data/proto_docs/google/api/resource.rb +227 -0
  49. data/proto_docs/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy.rb +121 -0
  50. data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicy.rb +277 -0
  51. data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicybinding.rb +180 -0
  52. data/proto_docs/google/cloud/backupdr/v1beta/backupdr.rb +428 -0
  53. data/proto_docs/google/cloud/backupdr/v1beta/backupplan.rb +637 -0
  54. data/proto_docs/google/cloud/backupdr/v1beta/backupplanassociation.rb +423 -0
  55. data/proto_docs/google/cloud/backupdr/v1beta/backupvault.rb +1391 -0
  56. data/proto_docs/google/cloud/backupdr/v1beta/backupvault_alloydb.rb +105 -0
  57. data/proto_docs/google/cloud/backupdr/v1beta/backupvault_ba.rb +47 -0
  58. data/proto_docs/google/cloud/backupdr/v1beta/backupvault_cloudsql.rb +131 -0
  59. data/proto_docs/google/cloud/backupdr/v1beta/backupvault_disk.rb +301 -0
  60. data/proto_docs/google/cloud/backupdr/v1beta/backupvault_gce.rb +1010 -0
  61. data/proto_docs/google/cloud/backupdr/v1beta/bindingmatchingresource.rb +160 -0
  62. data/proto_docs/google/cloud/backupdr/v1beta/datasourcereference.rb +236 -0
  63. data/proto_docs/google/cloud/backupdr/v1beta/protection_summary.rb +309 -0
  64. data/proto_docs/google/longrunning/operations.rb +191 -0
  65. data/proto_docs/google/protobuf/any.rb +145 -0
  66. data/proto_docs/google/protobuf/duration.rb +98 -0
  67. data/proto_docs/google/protobuf/empty.rb +34 -0
  68. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  69. data/proto_docs/google/protobuf/timestamp.rb +128 -0
  70. data/proto_docs/google/protobuf/wrappers.rb +148 -0
  71. data/proto_docs/google/rpc/status.rb +48 -0
  72. data/proto_docs/google/type/dayofweek.rb +49 -0
  73. data/proto_docs/google/type/month.rb +64 -0
  74. metadata +134 -9
@@ -0,0 +1,277 @@
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
+ # An AutoprotectionPolicy is a policy resource designed to automate backup
25
+ # management, moving from manual per-resource protection to a bulk approach.
26
+ # The policy dynamically discovers and applies a specified backup plan to all
27
+ # eligible resources that match its defined scope and criteria.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Identifier. The resource name of the AutoprotectionPolicy.
31
+ # Format:
32
+ # `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}`
33
+ # @!attribute [rw] description
34
+ # @return [::String]
35
+ # Optional. A description of the policy.
36
+ # @!attribute [rw] backup_plan_details
37
+ # @return [::Array<::Google::Cloud::BackupDR::V1beta::BackupPlanDetail>]
38
+ # Required. The backup plan details for matching resources.
39
+ # @!attribute [rw] criteria
40
+ # @return [::Google::Cloud::BackupDR::V1beta::Criteria]
41
+ # Required. The criteria for matching resources.
42
+ # @!attribute [r] state
43
+ # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy::State]
44
+ # Output only. The current state of the AutoprotectionPolicy.
45
+ # @!attribute [rw] etag
46
+ # @return [::String]
47
+ # Output only. The etag for the policy.
48
+ # If this is provided on update, it must match the server's etag, otherwise
49
+ # the request will be rejected with an ABORTED error.
50
+ # @!attribute [r] binding_summary
51
+ # @return [::Google::Cloud::BackupDR::V1beta::BindingSummary]
52
+ # Output only. Summary of total count of different containers covered through
53
+ # this policy.
54
+ # @!attribute [r] policy_evaluation_summary
55
+ # @return [::Google::Cloud::BackupDR::V1beta::PolicyEvaluationSummary]
56
+ # Output only. Summary of last policy application when job was run per
57
+ # workload type.
58
+ # @!attribute [r] create_time
59
+ # @return [::Google::Protobuf::Timestamp]
60
+ # Output only. The timestamp when the policy was created.
61
+ # @!attribute [r] update_time
62
+ # @return [::Google::Protobuf::Timestamp]
63
+ # Output only. The timestamp when the policy was last updated.
64
+ class AutoProtectionPolicy
65
+ include ::Google::Protobuf::MessageExts
66
+ extend ::Google::Protobuf::MessageExts::ClassMethods
67
+
68
+ # The state of an AutoprotectionPolicy.
69
+ module State
70
+ # The state of the policy is unspecified.
71
+ STATE_UNSPECIFIED = 0
72
+
73
+ # The policy is being created.
74
+ CREATING = 1
75
+
76
+ # The policy is active and protecting matching resources.
77
+ ACTIVE = 2
78
+
79
+ # The policy is being updated.
80
+ UPDATING = 3
81
+
82
+ # The policy is being deleted.
83
+ DELETING = 4
84
+ end
85
+ end
86
+
87
+ # BackupPlanDetail defines configuration of protection.
88
+ # @!attribute [rw] resource_type
89
+ # @return [::String]
90
+ # Required. The type of resource that this policy will automatically protect.
91
+ # For MVP, `compute.googleapis.com/Instance` and
92
+ # `compute.googleapis.com/Disk` are supported.
93
+ # @!attribute [rw] backup_plan
94
+ # @return [::String]
95
+ # Required. The resource name of the BackupPlan to apply to resources that
96
+ # match the policy's criteria. This backup plan must be in the same location
97
+ # as AutoProtectionPolicy. Format:
98
+ # projects/\\{project}/locations/\\{location}/backupPlans/\\{backupPlanId}
99
+ class BackupPlanDetail
100
+ include ::Google::Protobuf::MessageExts
101
+ extend ::Google::Protobuf::MessageExts::ClassMethods
102
+ end
103
+
104
+ # Criteria specifies a set of criteria for matching resources.
105
+ # @!attribute [rw] matching_conditions
106
+ # @return [::Array<::Google::Cloud::BackupDR::V1beta::MatchingCondition>]
107
+ # Required. A list of matching conditions that a resource must meet to be
108
+ # protected by the policy.
109
+ class Criteria
110
+ include ::Google::Protobuf::MessageExts
111
+ extend ::Google::Protobuf::MessageExts::ClassMethods
112
+ end
113
+
114
+ # MatchingCondition specifies a set of conditions for matching resources.
115
+ # @!attribute [rw] label_condition
116
+ # @return [::Google::Cloud::BackupDR::V1beta::KeyValuePair]
117
+ # Optional. A condition that matches resources based on their labels.
118
+ # For MVP, this is limited to a single label match.
119
+ class MatchingCondition
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+ end
123
+
124
+ # PolicyEvaluationSummary contains the summary of the last run of job that
125
+ # applies policy to matching resources.
126
+ # @!attribute [r] matching_resource_count
127
+ # @return [::Integer]
128
+ # Output only. The number of resources that currently match the policy's
129
+ # criteria.
130
+ # @!attribute [r] protected_resource_count
131
+ # @return [::Integer]
132
+ # Output only. The number of matching resources that are successfully
133
+ # protected.
134
+ # @!attribute [r] failed_resource_count
135
+ # @return [::Integer]
136
+ # Output only. The number of matching resources whose protection failed
137
+ # during job run.
138
+ class PolicyEvaluationSummary
139
+ include ::Google::Protobuf::MessageExts
140
+ extend ::Google::Protobuf::MessageExts::ClassMethods
141
+ end
142
+
143
+ # BindingSummary contains count of different containers covered through this
144
+ # policy.
145
+ # @!attribute [r] project_count
146
+ # @return [::Integer]
147
+ # Output only. Total count of Projects protected with this policy.
148
+ class BindingSummary
149
+ include ::Google::Protobuf::MessageExts
150
+ extend ::Google::Protobuf::MessageExts::ClassMethods
151
+ end
152
+
153
+ # KeyValuePair defines a key-value pair for matching resource labels.
154
+ # @!attribute [rw] key
155
+ # @return [::String]
156
+ # Required. The key of the label to match.
157
+ # This must be in the format `{label_key}`.
158
+ # The key must match the regex
159
+ # Format:`[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}`.
160
+ # @!attribute [rw] values
161
+ # @return [::Array<::String>]
162
+ # Required. The values of the label to match.
163
+ # There will be explicit “OR” between values of array.
164
+ # Each value must be in the format `{label_value}`.
165
+ # The value must match the regex
166
+ # Format: `[\\p{Ll}\\p{Lo}\\p{N}_-]{1,63}`.
167
+ class KeyValuePair
168
+ include ::Google::Protobuf::MessageExts
169
+ extend ::Google::Protobuf::MessageExts::ClassMethods
170
+ end
171
+
172
+ # Request message for creating an AutoProtectionPolicy.
173
+ # @!attribute [rw] parent
174
+ # @return [::String]
175
+ # Required. The parent resource where this policy will be created.
176
+ # Format: projects/\\{project}/locations/\\{location}
177
+ # @!attribute [rw] auto_protection_policy_id
178
+ # @return [::String]
179
+ # Required. The ID to use for the policy.
180
+ # This will become the final component of the policy's resource name.
181
+ # @!attribute [rw] auto_protection_policy
182
+ # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy]
183
+ # Required. The AutoProtectionPolicy resource to create.
184
+ class CreateAutoProtectionPolicyRequest
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
+ end
188
+
189
+ # Request message for getting an AutoProtectionPolicy.
190
+ # @!attribute [rw] name
191
+ # @return [::String]
192
+ # Required. The name of the policy to retrieve.
193
+ # Format:
194
+ # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}
195
+ class GetAutoProtectionPolicyRequest
196
+ include ::Google::Protobuf::MessageExts
197
+ extend ::Google::Protobuf::MessageExts::ClassMethods
198
+ end
199
+
200
+ # Request message for updating an AutoProtectionPolicy.
201
+ # @!attribute [rw] auto_protection_policy
202
+ # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy]
203
+ # Required. The policy to update.
204
+ # @!attribute [rw] update_mask
205
+ # @return [::Google::Protobuf::FieldMask]
206
+ # Required. Field mask is used to specify the fields to be overwritten in the
207
+ # AutoProtectionPolicy resource by the update.
208
+ # The fields specified in the update_mask are relative to the resource, not
209
+ # the full request. A field will be overwritten if it is in the mask. If the
210
+ # user does not provide a mask then all fields will be overwritten.
211
+ class UpdateAutoProtectionPolicyRequest
212
+ include ::Google::Protobuf::MessageExts
213
+ extend ::Google::Protobuf::MessageExts::ClassMethods
214
+ end
215
+
216
+ # Request message for deleting an AutoProtectionPolicy.
217
+ # @!attribute [rw] name
218
+ # @return [::String]
219
+ # Required. The name of the policy to delete.
220
+ # Format:
221
+ # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}
222
+ # @!attribute [rw] etag
223
+ # @return [::String]
224
+ # The current etag of the AutoProtectionPolicy.
225
+ # If an etag is provided and does not match the current etag of the
226
+ # connection, the request will be rejected with an ABORTED error.
227
+ class DeleteAutoProtectionPolicyRequest
228
+ include ::Google::Protobuf::MessageExts
229
+ extend ::Google::Protobuf::MessageExts::ClassMethods
230
+ end
231
+
232
+ # Request message for ListAutoProtectionPolicies.
233
+ # @!attribute [rw] parent
234
+ # @return [::String]
235
+ # Required. The project and location for which to retrieve the list of
236
+ # policies. Format: projects/\\{project}/locations/\\{location}
237
+ # @!attribute [rw] page_size
238
+ # @return [::Integer]
239
+ # Optional. The maximum number of policies to return in a single page.
240
+ # If unspecified, a server-default value will be used.
241
+ # @!attribute [rw] page_token
242
+ # @return [::String]
243
+ # Optional. A page token, received from a previous
244
+ # `ListAutoProtectionPolicies` call. Provide this to retrieve the subsequent
245
+ # page.
246
+ # @!attribute [rw] filter
247
+ # @return [::String]
248
+ # Optional. A filter expression that filters resources listed in the
249
+ # response. The following fields are filterable:
250
+ # @!attribute [rw] order_by
251
+ # @return [::String]
252
+ # Optional. An expression that sorts the results in the response. The
253
+ # following fields are sortable:
254
+ class ListAutoProtectionPoliciesRequest
255
+ include ::Google::Protobuf::MessageExts
256
+ extend ::Google::Protobuf::MessageExts::ClassMethods
257
+ end
258
+
259
+ # Response message for ListAutoProtectionPolicies.
260
+ # @!attribute [rw] auto_protection_policies
261
+ # @return [::Array<::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicy>]
262
+ # A list of the AutoProtectionPolicy resources found.
263
+ # @!attribute [rw] next_page_token
264
+ # @return [::String]
265
+ # A token that can be sent as `page_token` to retrieve the next page.
266
+ # If this field is omitted, there are no subsequent pages.
267
+ # @!attribute [rw] unreachable
268
+ # @return [::Array<::String>]
269
+ # Locations that could not be reached.
270
+ class ListAutoProtectionPoliciesResponse
271
+ include ::Google::Protobuf::MessageExts
272
+ extend ::Google::Protobuf::MessageExts::ClassMethods
273
+ end
274
+ end
275
+ end
276
+ end
277
+ end
@@ -0,0 +1,180 @@
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
+ # An AutoprotectionPolicyBinding (APPA) acts as the bridge between an
25
+ # AutoprotectionPolicy and the scope (Project, Folder, or Organization) where
26
+ # the policy should be applied.
27
+ # @!attribute [rw] name
28
+ # @return [::String]
29
+ # Identifier. The resource name of the AutoProtectionPolicyBinding.
30
+ # Format:
31
+ # `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}`
32
+ # @!attribute [rw] description
33
+ # @return [::String]
34
+ # Optional. A description of the binding.
35
+ # @!attribute [r] state
36
+ # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding::State]
37
+ # Output only. The current state of the AutoProtectionPolicyBinding.
38
+ # @!attribute [rw] scope
39
+ # @return [::String]
40
+ # Required. Immutable. Resource Id of target container on which policy will
41
+ # be applied. Format: projects/\\{project_id}
42
+ # @!attribute [r] binding_evaluation_summary
43
+ # @return [::Google::Cloud::BackupDR::V1beta::BindingEvaluationSummary]
44
+ # Output only. Summaries of the last policy application when the job has run,
45
+ # with one entry per resource type specified in the AutoProtectionPolicy.
46
+ # @!attribute [r] create_time
47
+ # @return [::Google::Protobuf::Timestamp]
48
+ # Output only. The timestamp when the binding was created.
49
+ # @!attribute [r] update_time
50
+ # @return [::Google::Protobuf::Timestamp]
51
+ # Output only. The timestamp when the binding was last updated.
52
+ # @!attribute [rw] etag
53
+ # @return [::String]
54
+ # Optional. Output only. The etag for the binding.
55
+ # If this is provided on update, it must match the server's etag.
56
+ class AutoProtectionPolicyBinding
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+
60
+ # The state of an AutoProtectionPolicyBinding.
61
+ module State
62
+ # The state of the binding is unspecified.
63
+ STATE_UNSPECIFIED = 0
64
+
65
+ # The binding is being created.
66
+ CREATING = 1
67
+
68
+ # The binding is active.
69
+ ACTIVE = 2
70
+
71
+ # The binding deletion is initiated.
72
+ DELETION_INITIATED = 3
73
+ end
74
+ end
75
+
76
+ # BindingEvaluationSummary contains the summary of the last run of job
77
+ # that applies policy to matching resources for a given binding.
78
+ # @!attribute [r] matching_resource_count
79
+ # @return [::Integer]
80
+ # Output only. The number of resources that currently match the policy's
81
+ # criteria.
82
+ # @!attribute [r] protected_resource_count
83
+ # @return [::Integer]
84
+ # Output only. The number of matching resources that are successfully
85
+ # protected.
86
+ # @!attribute [r] failed_resource_count
87
+ # @return [::Integer]
88
+ # Output only. The number of matching resources whose protection failed
89
+ # during job run.
90
+ class BindingEvaluationSummary
91
+ include ::Google::Protobuf::MessageExts
92
+ extend ::Google::Protobuf::MessageExts::ClassMethods
93
+ end
94
+
95
+ # Request message for creating an AutoProtectionPolicyBinding.
96
+ # @!attribute [rw] parent
97
+ # @return [::String]
98
+ # Required. The parent resource where this binding will be created.
99
+ # Format:
100
+ # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}
101
+ # @!attribute [rw] auto_protection_policy_binding_id
102
+ # @return [::String]
103
+ # Required. The ID to use for the binding.
104
+ # This will become the final component of the binding's resource name.
105
+ # @!attribute [rw] auto_protection_policy_binding
106
+ # @return [::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding]
107
+ # Required. The AutoProtectionPolicyBinding resource to create.
108
+ class CreateAutoProtectionPolicyBindingRequest
109
+ include ::Google::Protobuf::MessageExts
110
+ extend ::Google::Protobuf::MessageExts::ClassMethods
111
+ end
112
+
113
+ # Request message for getting an AutoProtectionPolicyBinding.
114
+ # @!attribute [rw] name
115
+ # @return [::String]
116
+ # Required. The name of the binding to retrieve.
117
+ # Format:
118
+ # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}/bindings/\\{binding}
119
+ class GetAutoProtectionPolicyBindingRequest
120
+ include ::Google::Protobuf::MessageExts
121
+ extend ::Google::Protobuf::MessageExts::ClassMethods
122
+ end
123
+
124
+ # Request message for ListAutoProtectionPolicyBindings.
125
+ # @!attribute [rw] parent
126
+ # @return [::String]
127
+ # Required. The project and location for which to retrieve the list of
128
+ # policies. Format: projects/\\{project}/locations/\\{location}
129
+ # @!attribute [rw] page_size
130
+ # @return [::Integer]
131
+ # Optional. The maximum number of policies to return in a single page.
132
+ # If unspecified, a server-default value will be used.
133
+ # @!attribute [rw] page_token
134
+ # @return [::String]
135
+ # Optional. A page token, received from a previous
136
+ # `ListAutoProtectionPolicies` call. Provide this to retrieve the subsequent
137
+ # page.
138
+ # @!attribute [rw] filter
139
+ # @return [::String]
140
+ # Optional. A filter expression that filters resources listed in the
141
+ # response. The following fields are filterable:
142
+ # @!attribute [rw] order_by
143
+ # @return [::String]
144
+ # Optional. An expression that sorts the results in the response. The
145
+ # following fields are sortable:
146
+ class ListAutoProtectionPolicyBindingsRequest
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # Response message for ListAutoProtectionPolicyBindings.
152
+ # @!attribute [rw] auto_protection_policy_bindings
153
+ # @return [::Array<::Google::Cloud::BackupDR::V1beta::AutoProtectionPolicyBinding>]
154
+ # A list of the AutoProtectionPolicyBindings resources found.
155
+ # @!attribute [rw] next_page_token
156
+ # @return [::String]
157
+ # A token that can be sent as `page_token` to retrieve the next page.
158
+ # If this field is omitted, there are no subsequent pages.
159
+ # @!attribute [rw] unreachable
160
+ # @return [::Array<::String>]
161
+ # Unordered list. Locations that could not be reached.
162
+ class ListAutoProtectionPolicyBindingsResponse
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Request message for initiating delete of an AutoProtectionPolicyBinding.
168
+ # @!attribute [rw] name
169
+ # @return [::String]
170
+ # Required. The name of the binding to delete.
171
+ # Format:
172
+ # projects/\\{project}/locations/\\{location}/autoProtectionPolicies/\\{auto_protection_policy}/bindings/\\{binding}
173
+ class InitiateDeleteAutoProtectionPolicyBindingRequest
174
+ include ::Google::Protobuf::MessageExts
175
+ extend ::Google::Protobuf::MessageExts::ClassMethods
176
+ end
177
+ end
178
+ end
179
+ end
180
+ end