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.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +122 -0
- data/README.md +154 -8
- data/lib/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicy_pb.rb +39 -0
- data/lib/google/cloud/backupdr/v1beta/autoprotectionpolicybinding_pb.rb +32 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/client.rb +532 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/credentials.rb +48 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/paths.rb +50 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/client.rb +491 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest/service_stub.rb +142 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary/rest.rb +53 -0
- data/lib/google/cloud/backupdr/v1beta/backup_dr_protection_summary.rb +55 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/client.rb +6101 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/credentials.rb +48 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/operations.rb +843 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/paths.rb +372 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/client.rb +5724 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/operations.rb +927 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest/service_stub.rb +3086 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr/rest.rb +54 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr.rb +56 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr_pb.rb +55 -0
- data/lib/google/cloud/backupdr/v1beta/backupdr_services_pb.rb +145 -0
- data/lib/google/cloud/backupdr/v1beta/backupplan_pb.rb +49 -0
- data/lib/google/cloud/backupdr/v1beta/backupplanassociation_pb.rb +42 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_alloydb_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_ba_pb.rb +24 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_cloudsql_pb.rb +30 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_disk_pb.rb +33 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_gce_pb.rb +66 -0
- data/lib/google/cloud/backupdr/v1beta/backupvault_pb.rb +80 -0
- data/lib/google/cloud/backupdr/v1beta/bindingmatchingresource_pb.rb +31 -0
- data/lib/google/cloud/backupdr/v1beta/bindings_override.rb +108 -0
- data/lib/google/cloud/backupdr/v1beta/datasourcereference_pb.rb +35 -0
- data/lib/google/cloud/backupdr/v1beta/protection_summary_pb.rb +40 -0
- data/lib/google/cloud/backupdr/v1beta/protection_summary_services_pb.rb +45 -0
- data/lib/google/cloud/backupdr/v1beta/rest.rb +39 -0
- data/lib/google/cloud/backupdr/v1beta/version.rb +8 -3
- data/lib/google/cloud/backupdr/v1beta.rb +46 -0
- data/lib/google-cloud-backupdr-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +593 -0
- data/proto_docs/google/api/field_behavior.rb +85 -0
- data/proto_docs/google/api/field_info.rb +88 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +227 -0
- data/proto_docs/google/cloud/backupdr/v1beta/appliedautoprotectionpolicy.rb +121 -0
- data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicy.rb +277 -0
- data/proto_docs/google/cloud/backupdr/v1beta/autoprotectionpolicybinding.rb +180 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupdr.rb +428 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupplan.rb +637 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupplanassociation.rb +423 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault.rb +1391 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_alloydb.rb +105 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_ba.rb +47 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_cloudsql.rb +131 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_disk.rb +301 -0
- data/proto_docs/google/cloud/backupdr/v1beta/backupvault_gce.rb +1010 -0
- data/proto_docs/google/cloud/backupdr/v1beta/bindingmatchingresource.rb +160 -0
- data/proto_docs/google/cloud/backupdr/v1beta/datasourcereference.rb +236 -0
- data/proto_docs/google/cloud/backupdr/v1beta/protection_summary.rb +309 -0
- data/proto_docs/google/longrunning/operations.rb +191 -0
- data/proto_docs/google/protobuf/any.rb +145 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +34 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +128 -0
- data/proto_docs/google/protobuf/wrappers.rb +148 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/month.rb +64 -0
- metadata +134 -9
|
@@ -0,0 +1,428 @@
|
|
|
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
|
+
# Network configuration for ManagementServer instance.
|
|
25
|
+
# @!attribute [rw] network
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Optional. The resource name of the Google Compute Engine VPC network to
|
|
28
|
+
# which the ManagementServer instance is connected.
|
|
29
|
+
# @!attribute [rw] peering_mode
|
|
30
|
+
# @return [::Google::Cloud::BackupDR::V1beta::NetworkConfig::PeeringMode]
|
|
31
|
+
# Optional. The network connect mode of the ManagementServer instance. For
|
|
32
|
+
# this version, only PRIVATE_SERVICE_ACCESS is supported.
|
|
33
|
+
class NetworkConfig
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
|
|
37
|
+
# VPC peering modes supported by Google Cloud Backup and DR.
|
|
38
|
+
module PeeringMode
|
|
39
|
+
# Peering mode not set.
|
|
40
|
+
PEERING_MODE_UNSPECIFIED = 0
|
|
41
|
+
|
|
42
|
+
# Connect using Private Service Access to the Management Server. Private
|
|
43
|
+
# services access provides an IP address range for multiple Google Cloud
|
|
44
|
+
# services, including Google Cloud Backup and DR.
|
|
45
|
+
PRIVATE_SERVICE_ACCESS = 1
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# ManagementURI for the Management Server resource.
|
|
50
|
+
# @!attribute [r] web_ui
|
|
51
|
+
# @return [::String]
|
|
52
|
+
# Output only. The ManagementServer AGM/RD WebUI URL.
|
|
53
|
+
# @!attribute [r] api
|
|
54
|
+
# @return [::String]
|
|
55
|
+
# Output only. The ManagementServer AGM/RD API URL.
|
|
56
|
+
class ManagementURI
|
|
57
|
+
include ::Google::Protobuf::MessageExts
|
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
|
|
62
|
+
# @!attribute [r] first_party_management_uri
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Output only. First party Management URI for Google Identities.
|
|
65
|
+
# @!attribute [r] third_party_management_uri
|
|
66
|
+
# @return [::String]
|
|
67
|
+
# Output only. Third party Management URI for External Identity Providers.
|
|
68
|
+
class WorkforceIdentityBasedManagementURI
|
|
69
|
+
include ::Google::Protobuf::MessageExts
|
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
# OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
|
|
74
|
+
# @!attribute [r] first_party_oauth2_client_id
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# Output only. First party OAuth Client ID for Google Identities.
|
|
77
|
+
# @!attribute [r] third_party_oauth2_client_id
|
|
78
|
+
# @return [::String]
|
|
79
|
+
# Output only. Third party OAuth Client ID for External Identity Providers.
|
|
80
|
+
class WorkforceIdentityBasedOAuth2ClientID
|
|
81
|
+
include ::Google::Protobuf::MessageExts
|
|
82
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# ManagementServer describes a single BackupDR ManagementServer instance.
|
|
86
|
+
# @!attribute [r] name
|
|
87
|
+
# @return [::String]
|
|
88
|
+
# Output only. Identifier. The resource name.
|
|
89
|
+
# @!attribute [rw] description
|
|
90
|
+
# @return [::String]
|
|
91
|
+
# Optional. The description of the ManagementServer instance (2048 characters
|
|
92
|
+
# or less).
|
|
93
|
+
# @!attribute [rw] labels
|
|
94
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
95
|
+
# Optional. Resource labels to represent user provided metadata.
|
|
96
|
+
# Labels currently defined:
|
|
97
|
+
# 1. migrate_from_go=<false|true>
|
|
98
|
+
# If set to true, the MS is created in migration ready mode.
|
|
99
|
+
# @!attribute [r] create_time
|
|
100
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
101
|
+
# Output only. The time when the instance was created.
|
|
102
|
+
# @!attribute [r] update_time
|
|
103
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
104
|
+
# Output only. The time when the instance was updated.
|
|
105
|
+
# @!attribute [rw] type
|
|
106
|
+
# @return [::Google::Cloud::BackupDR::V1beta::ManagementServer::InstanceType]
|
|
107
|
+
# Optional. The type of the ManagementServer resource.
|
|
108
|
+
# @!attribute [r] management_uri
|
|
109
|
+
# @return [::Google::Cloud::BackupDR::V1beta::ManagementURI]
|
|
110
|
+
# Output only. The hostname or ip address of the exposed AGM endpoints, used
|
|
111
|
+
# by clients to connect to AGM/RD graphical user interface and APIs.
|
|
112
|
+
# @!attribute [r] workforce_identity_based_management_uri
|
|
113
|
+
# @return [::Google::Cloud::BackupDR::V1beta::WorkforceIdentityBasedManagementURI]
|
|
114
|
+
# Output only. The hostnames of the exposed AGM endpoints for both types of
|
|
115
|
+
# user i.e. 1p and 3p, used to connect AGM/RM UI.
|
|
116
|
+
# @!attribute [r] state
|
|
117
|
+
# @return [::Google::Cloud::BackupDR::V1beta::ManagementServer::InstanceState]
|
|
118
|
+
# Output only. The ManagementServer state.
|
|
119
|
+
# @!attribute [rw] networks
|
|
120
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1beta::NetworkConfig>]
|
|
121
|
+
# Optional. VPC networks to which the ManagementServer instance is connected.
|
|
122
|
+
# For this version, only a single network is supported. This field is
|
|
123
|
+
# optional if MS is created without PSA
|
|
124
|
+
# @!attribute [rw] etag
|
|
125
|
+
# @return [::String]
|
|
126
|
+
# Optional. Server specified ETag for the ManagementServer resource to
|
|
127
|
+
# prevent simultaneous updates from overwiting each other.
|
|
128
|
+
# @!attribute [r] oauth2_client_id
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# Output only. The OAuth 2.0 client id is required to make API calls to the
|
|
131
|
+
# Backup and DR instance API of this ManagementServer. This is the value that
|
|
132
|
+
# should be provided in the 'aud' field of the OIDC ID Token (see openid
|
|
133
|
+
# specification
|
|
134
|
+
# https://openid.net/specs/openid-connect-core-1_0.html#IDToken).
|
|
135
|
+
# @!attribute [r] workforce_identity_based_oauth2_client_id
|
|
136
|
+
# @return [::Google::Cloud::BackupDR::V1beta::WorkforceIdentityBasedOAuth2ClientID]
|
|
137
|
+
# Output only. The OAuth client IDs for both types of user i.e. 1p and 3p.
|
|
138
|
+
# @!attribute [r] ba_proxy_uri
|
|
139
|
+
# @return [::Array<::String>]
|
|
140
|
+
# Output only. The hostname or ip address of the exposed AGM endpoints, used
|
|
141
|
+
# by BAs to connect to BA proxy.
|
|
142
|
+
# @!attribute [r] satisfies_pzs
|
|
143
|
+
# @return [::Google::Protobuf::BoolValue]
|
|
144
|
+
# Output only. Reserved for future use.
|
|
145
|
+
# @!attribute [r] satisfies_pzi
|
|
146
|
+
# @return [::Boolean]
|
|
147
|
+
# Output only. Reserved for future use.
|
|
148
|
+
class ManagementServer
|
|
149
|
+
include ::Google::Protobuf::MessageExts
|
|
150
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
151
|
+
|
|
152
|
+
# @!attribute [rw] key
|
|
153
|
+
# @return [::String]
|
|
154
|
+
# @!attribute [rw] value
|
|
155
|
+
# @return [::String]
|
|
156
|
+
class LabelsEntry
|
|
157
|
+
include ::Google::Protobuf::MessageExts
|
|
158
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# Type of backup service resource.
|
|
162
|
+
module InstanceType
|
|
163
|
+
# Instance type is not mentioned.
|
|
164
|
+
INSTANCE_TYPE_UNSPECIFIED = 0
|
|
165
|
+
|
|
166
|
+
# Instance for backup and restore management (i.e., AGM).
|
|
167
|
+
BACKUP_RESTORE = 1
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
# State of Management server instance.
|
|
171
|
+
module InstanceState
|
|
172
|
+
# State not set.
|
|
173
|
+
INSTANCE_STATE_UNSPECIFIED = 0
|
|
174
|
+
|
|
175
|
+
# The instance is being created.
|
|
176
|
+
CREATING = 1
|
|
177
|
+
|
|
178
|
+
# The instance has been created and is fully usable.
|
|
179
|
+
READY = 2
|
|
180
|
+
|
|
181
|
+
# The instance configuration is being updated. Certain kinds of updates
|
|
182
|
+
# may cause the instance to become unusable while the update is in
|
|
183
|
+
# progress.
|
|
184
|
+
UPDATING = 3
|
|
185
|
+
|
|
186
|
+
# The instance is being deleted.
|
|
187
|
+
DELETING = 4
|
|
188
|
+
|
|
189
|
+
# The instance is being repaired and may be unstable.
|
|
190
|
+
REPAIRING = 5
|
|
191
|
+
|
|
192
|
+
# Maintenance is being performed on this instance.
|
|
193
|
+
MAINTENANCE = 6
|
|
194
|
+
|
|
195
|
+
# The instance is experiencing an issue and might be unusable. You can get
|
|
196
|
+
# further details from the statusMessage field of Instance resource.
|
|
197
|
+
ERROR = 7
|
|
198
|
+
end
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# Request message for listing management servers.
|
|
202
|
+
# @!attribute [rw] parent
|
|
203
|
+
# @return [::String]
|
|
204
|
+
# Required. The project and location for which to retrieve management servers
|
|
205
|
+
# information, in the format 'projects/\\{project_id}/locations/\\{location}'.
|
|
206
|
+
# In Google Cloud Backup and DR, locations map to Google Cloud regions, for
|
|
207
|
+
# example
|
|
208
|
+
# **us-central1**. To retrieve management servers for all locations, use "-"
|
|
209
|
+
# for the
|
|
210
|
+
# '\\{location}' value.
|
|
211
|
+
# @!attribute [rw] page_size
|
|
212
|
+
# @return [::Integer]
|
|
213
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
214
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
215
|
+
# @!attribute [rw] page_token
|
|
216
|
+
# @return [::String]
|
|
217
|
+
# Optional. A token identifying a page of results the server should return.
|
|
218
|
+
# @!attribute [rw] filter
|
|
219
|
+
# @return [::String]
|
|
220
|
+
# Optional. Filtering results.
|
|
221
|
+
# @!attribute [rw] order_by
|
|
222
|
+
# @return [::String]
|
|
223
|
+
# Optional. Hint for how to order the results.
|
|
224
|
+
class ListManagementServersRequest
|
|
225
|
+
include ::Google::Protobuf::MessageExts
|
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
227
|
+
end
|
|
228
|
+
|
|
229
|
+
# Response message for listing management servers.
|
|
230
|
+
# @!attribute [rw] management_servers
|
|
231
|
+
# @return [::Array<::Google::Cloud::BackupDR::V1beta::ManagementServer>]
|
|
232
|
+
# The list of ManagementServer instances in the project for the specified
|
|
233
|
+
# location.
|
|
234
|
+
#
|
|
235
|
+
# If the '\\{location}' value in the request is "-", the response contains a
|
|
236
|
+
# list of instances from all locations. In case any location is unreachable,
|
|
237
|
+
# the response will only return management servers in reachable locations and
|
|
238
|
+
# the 'unreachable' field will be populated with a list of unreachable
|
|
239
|
+
# locations.
|
|
240
|
+
# @!attribute [rw] next_page_token
|
|
241
|
+
# @return [::String]
|
|
242
|
+
# A token identifying a page of results the server should return.
|
|
243
|
+
# @!attribute [rw] unreachable
|
|
244
|
+
# @return [::Array<::String>]
|
|
245
|
+
# Locations that could not be reached.
|
|
246
|
+
class ListManagementServersResponse
|
|
247
|
+
include ::Google::Protobuf::MessageExts
|
|
248
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
# Request message for getting a management server instance.
|
|
252
|
+
# @!attribute [rw] name
|
|
253
|
+
# @return [::String]
|
|
254
|
+
# Required. Name of the management server resource name, in the format
|
|
255
|
+
# 'projects/\\{project_id}/locations/\\{location}/managementServers/\\{resource_name}'
|
|
256
|
+
class GetManagementServerRequest
|
|
257
|
+
include ::Google::Protobuf::MessageExts
|
|
258
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
# Request message for creating a management server instance.
|
|
262
|
+
# @!attribute [rw] parent
|
|
263
|
+
# @return [::String]
|
|
264
|
+
# Required. The management server project and location in the format
|
|
265
|
+
# 'projects/\\{project_id}/locations/\\{location}'. In Google Cloud Backup and DR
|
|
266
|
+
# locations map to Google Cloud regions, for example **us-central1**.
|
|
267
|
+
# @!attribute [rw] management_server_id
|
|
268
|
+
# @return [::String]
|
|
269
|
+
# Required. The name of the management server to create. The name must be
|
|
270
|
+
# unique for the specified project and location.
|
|
271
|
+
# @!attribute [rw] management_server
|
|
272
|
+
# @return [::Google::Cloud::BackupDR::V1beta::ManagementServer]
|
|
273
|
+
# Required. A [management server
|
|
274
|
+
# resource][google.cloud.backupdr.v1.ManagementServer]
|
|
275
|
+
# @!attribute [rw] request_id
|
|
276
|
+
# @return [::String]
|
|
277
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
278
|
+
# request ID so that if you must retry your request, the server will know to
|
|
279
|
+
# ignore the request if it has already been completed. The server will
|
|
280
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
281
|
+
#
|
|
282
|
+
# For example, consider a situation where you make an initial request and
|
|
283
|
+
# the request times out. If you make the request again with the same request
|
|
284
|
+
# ID, the server can check if original operation with the same request ID
|
|
285
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
286
|
+
# clients from accidentally creating duplicate commitments.
|
|
287
|
+
#
|
|
288
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
289
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
290
|
+
class CreateManagementServerRequest
|
|
291
|
+
include ::Google::Protobuf::MessageExts
|
|
292
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
293
|
+
end
|
|
294
|
+
|
|
295
|
+
# Request message for deleting a management server instance.
|
|
296
|
+
# @!attribute [rw] name
|
|
297
|
+
# @return [::String]
|
|
298
|
+
# Required. Name of the resource
|
|
299
|
+
# @!attribute [rw] request_id
|
|
300
|
+
# @return [::String]
|
|
301
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
302
|
+
# request ID so that if you must retry your request, the server will know to
|
|
303
|
+
# ignore the request if it has already been completed. The server will
|
|
304
|
+
# guarantee that for at least 60 minutes after the first request.
|
|
305
|
+
#
|
|
306
|
+
# For example, consider a situation where you make an initial request and
|
|
307
|
+
# the request times out. If you make the request again with the same request
|
|
308
|
+
# ID, the server can check if original operation with the same request ID
|
|
309
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
310
|
+
# clients from accidentally creating duplicate commitments.
|
|
311
|
+
#
|
|
312
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
313
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
314
|
+
class DeleteManagementServerRequest
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Request message for initializing the service.
|
|
320
|
+
# @!attribute [rw] cloud_sql_instance_initialization_config
|
|
321
|
+
# @return [::Google::Cloud::BackupDR::V1beta::CloudSqlInstanceInitializationConfig]
|
|
322
|
+
# Optional. The configuration for initializing a Cloud SQL instance.
|
|
323
|
+
# @!attribute [rw] name
|
|
324
|
+
# @return [::String]
|
|
325
|
+
# Required. The resource name of the serviceConfig used to initialize the
|
|
326
|
+
# service. The location must be the location of the BackupVault.
|
|
327
|
+
# Format: `projects/{project_id}/locations/{location}/serviceConfig`.
|
|
328
|
+
# @!attribute [rw] resource_type
|
|
329
|
+
# @return [::String]
|
|
330
|
+
# Required. The resource type to which the default service config will be
|
|
331
|
+
# applied. Examples include, "compute.googleapis.com/Instance" and
|
|
332
|
+
# "storage.googleapis.com/Bucket".
|
|
333
|
+
# @!attribute [rw] request_id
|
|
334
|
+
# @return [::String]
|
|
335
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
336
|
+
# request ID so that if you must retry your request, the server will know to
|
|
337
|
+
# ignore the request if it has already been completed. The server will
|
|
338
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
339
|
+
#
|
|
340
|
+
# For example, consider a situation where you make an initial request and t
|
|
341
|
+
# he request times out. If you make the request again with the same request
|
|
342
|
+
# ID, the server can check if original operation with the same request ID
|
|
343
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
344
|
+
# clients from accidentally creating duplicate commitments.
|
|
345
|
+
#
|
|
346
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
347
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
348
|
+
# @!attribute [rw] backup_plan_location
|
|
349
|
+
# @return [::String]
|
|
350
|
+
# Optional. The location where the BackupPlan will be created. This field is
|
|
351
|
+
# required for multi-region BackupVaults and is optional for regional
|
|
352
|
+
# BackupVaults. It is useful when creating a Backup Vault in a multi-region,
|
|
353
|
+
# allowing the BackupPlan to reside in a specific region within that
|
|
354
|
+
# multi-region. If this field is not provided, the BackupPlan will be created
|
|
355
|
+
# in the same location as specified in the `name` field.
|
|
356
|
+
# @!attribute [rw] validate_only
|
|
357
|
+
# @return [::Boolean]
|
|
358
|
+
# Optional. If set, validates the request and returns the result, but does
|
|
359
|
+
# not actually run it.
|
|
360
|
+
class InitializeServiceRequest
|
|
361
|
+
include ::Google::Protobuf::MessageExts
|
|
362
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
# Response message for initializing the service.
|
|
366
|
+
# @!attribute [rw] backup_vault_name
|
|
367
|
+
# @return [::String]
|
|
368
|
+
# The resource name of the default `BackupVault` created.
|
|
369
|
+
# Format:
|
|
370
|
+
# `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.
|
|
371
|
+
# @!attribute [rw] backup_plan_name
|
|
372
|
+
# @return [::String]
|
|
373
|
+
# The resource name of the default `BackupPlan` created.
|
|
374
|
+
# Format:
|
|
375
|
+
# `projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.
|
|
376
|
+
class InitializeServiceResponse
|
|
377
|
+
include ::Google::Protobuf::MessageExts
|
|
378
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
# Represents the metadata of the long-running operation.
|
|
382
|
+
# @!attribute [r] create_time
|
|
383
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
384
|
+
# Output only. The time the operation was created.
|
|
385
|
+
# @!attribute [r] end_time
|
|
386
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
387
|
+
# Output only. The time the operation finished running.
|
|
388
|
+
# @!attribute [r] target
|
|
389
|
+
# @return [::String]
|
|
390
|
+
# Output only. Server-defined resource path for the target of the operation.
|
|
391
|
+
# @!attribute [r] verb
|
|
392
|
+
# @return [::String]
|
|
393
|
+
# Output only. Name of the verb executed by the operation.
|
|
394
|
+
# @!attribute [r] status_message
|
|
395
|
+
# @return [::String]
|
|
396
|
+
# Output only. Human-readable status of the operation, if any.
|
|
397
|
+
# @!attribute [r] requested_cancellation
|
|
398
|
+
# @return [::Boolean]
|
|
399
|
+
# Output only. Identifies whether the user has requested cancellation
|
|
400
|
+
# of the operation. Operations that have successfully been cancelled
|
|
401
|
+
# have
|
|
402
|
+
# {::Google::Longrunning::Operation#error google.longrunning.Operation.error}
|
|
403
|
+
# value with a {::Google::Rpc::Status#code google.rpc.Status.code} of 1,
|
|
404
|
+
# corresponding to 'Code.CANCELLED'.
|
|
405
|
+
# @!attribute [r] api_version
|
|
406
|
+
# @return [::String]
|
|
407
|
+
# Output only. API version used to start the operation.
|
|
408
|
+
# @!attribute [r] additional_info
|
|
409
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
410
|
+
# Output only. AdditionalInfo contains additional Info related to backup plan
|
|
411
|
+
# association resource.
|
|
412
|
+
class OperationMetadata
|
|
413
|
+
include ::Google::Protobuf::MessageExts
|
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
415
|
+
|
|
416
|
+
# @!attribute [rw] key
|
|
417
|
+
# @return [::String]
|
|
418
|
+
# @!attribute [rw] value
|
|
419
|
+
# @return [::String]
|
|
420
|
+
class AdditionalInfoEntry
|
|
421
|
+
include ::Google::Protobuf::MessageExts
|
|
422
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
end
|
|
426
|
+
end
|
|
427
|
+
end
|
|
428
|
+
end
|