google-cloud-alloy_db-v1beta 0.a → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +149 -0
- data/README.md +144 -8
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/client.rb +3306 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/credentials.rb +47 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/operations.rb +770 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/paths.rb +149 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/client.rb +2588 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/operations.rb +794 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest/service_stub.rb +1537 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin/rest.rb +54 -0
- data/lib/google/cloud/alloy_db/v1beta/alloy_db_admin.rb +56 -0
- data/lib/google/cloud/alloy_db/v1beta/bindings_override.rb +102 -0
- data/lib/google/cloud/alloy_db/v1beta/rest.rb +38 -0
- data/lib/google/cloud/alloy_db/v1beta/version.rb +8 -3
- data/lib/google/cloud/alloy_db/v1beta.rb +45 -0
- data/lib/google/cloud/alloydb/v1beta/resources_pb.rb +93 -0
- data/lib/google/cloud/alloydb/v1beta/service_pb.rb +94 -0
- data/lib/google/cloud/alloydb/v1beta/service_services_pb.rb +115 -0
- data/lib/google-cloud-alloy_db-v1beta.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/alloydb/v1beta/resources.rb +1068 -0
- data/proto_docs/google/cloud/alloydb/v1beta/service.rb +998 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +144 -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 +127 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +48 -0
- data/proto_docs/google/type/dayofweek.rb +49 -0
- data/proto_docs/google/type/expr.rb +75 -0
- data/proto_docs/google/type/timeofday.rb +45 -0
- metadata +250 -12
@@ -0,0 +1,998 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 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 AlloyDB
|
23
|
+
module V1beta
|
24
|
+
# Message for requesting list of Clusters
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. The name of the parent resource. For the required format, see the
|
28
|
+
# comment on the Cluster.name field. Additionally, you can perform an
|
29
|
+
# aggregated list operation by specifying a value with the following format:
|
30
|
+
# * projects/\\{project}/locations/-
|
31
|
+
# @!attribute [rw] page_size
|
32
|
+
# @return [::Integer]
|
33
|
+
# Optional. Requested page size. Server may return fewer items than
|
34
|
+
# requested. If unspecified, server will pick an appropriate default.
|
35
|
+
# @!attribute [rw] page_token
|
36
|
+
# @return [::String]
|
37
|
+
# A token identifying a page of results the server should return.
|
38
|
+
# @!attribute [rw] filter
|
39
|
+
# @return [::String]
|
40
|
+
# Optional. Filtering results
|
41
|
+
# @!attribute [rw] order_by
|
42
|
+
# @return [::String]
|
43
|
+
# Optional. Hint for how to order the results
|
44
|
+
class ListClustersRequest
|
45
|
+
include ::Google::Protobuf::MessageExts
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
47
|
+
end
|
48
|
+
|
49
|
+
# Message for response to listing Clusters
|
50
|
+
# @!attribute [rw] clusters
|
51
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Cluster>]
|
52
|
+
# The list of Cluster
|
53
|
+
# @!attribute [rw] next_page_token
|
54
|
+
# @return [::String]
|
55
|
+
# A token identifying a page of results the server should return.
|
56
|
+
# @!attribute [rw] unreachable
|
57
|
+
# @return [::Array<::String>]
|
58
|
+
# Locations that could not be reached.
|
59
|
+
class ListClustersResponse
|
60
|
+
include ::Google::Protobuf::MessageExts
|
61
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
62
|
+
end
|
63
|
+
|
64
|
+
# Message for getting a Cluster
|
65
|
+
# @!attribute [rw] name
|
66
|
+
# @return [::String]
|
67
|
+
# Required. The name of the resource. For the required format, see the
|
68
|
+
# comment on the Cluster.name field.
|
69
|
+
class GetClusterRequest
|
70
|
+
include ::Google::Protobuf::MessageExts
|
71
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
72
|
+
end
|
73
|
+
|
74
|
+
# @!attribute [rw] parent
|
75
|
+
# @return [::String]
|
76
|
+
# Required. The name of the parent resource (the primary cluster). For the
|
77
|
+
# required format, see the comment on the Cluster.name field.
|
78
|
+
# @!attribute [rw] cluster_id
|
79
|
+
# @return [::String]
|
80
|
+
# Required. ID of the requesting object (the secondary cluster).
|
81
|
+
# @!attribute [rw] cluster
|
82
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Cluster]
|
83
|
+
# Required. Configuration of the requesting object (the secondary cluster).
|
84
|
+
# @!attribute [rw] request_id
|
85
|
+
# @return [::String]
|
86
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
87
|
+
# request ID so that if you must retry your request, the server will know to
|
88
|
+
# ignore the request if it has already been completed. The server will
|
89
|
+
# guarantee that for at least 60 minutes since the first request.
|
90
|
+
#
|
91
|
+
# For example, consider a situation where you make an initial request and
|
92
|
+
# the request times out. If you make the request again with the same request
|
93
|
+
# ID, the server can check if original operation with the same request ID
|
94
|
+
# was received, and if so, will ignore the second request. This prevents
|
95
|
+
# clients from accidentally creating duplicate commitments.
|
96
|
+
#
|
97
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
98
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
99
|
+
# @!attribute [rw] validate_only
|
100
|
+
# @return [::Boolean]
|
101
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
102
|
+
# any other type of validation), but do not actually execute the create
|
103
|
+
# request.
|
104
|
+
class CreateSecondaryClusterRequest
|
105
|
+
include ::Google::Protobuf::MessageExts
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
107
|
+
end
|
108
|
+
|
109
|
+
# Message for creating a Cluster
|
110
|
+
# @!attribute [rw] parent
|
111
|
+
# @return [::String]
|
112
|
+
# Required. The name of the parent resource. For the required format, see the
|
113
|
+
# comment on the Cluster.name field.
|
114
|
+
# @!attribute [rw] cluster_id
|
115
|
+
# @return [::String]
|
116
|
+
# Required. ID of the requesting object.
|
117
|
+
# @!attribute [rw] cluster
|
118
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Cluster]
|
119
|
+
# Required. The resource being created
|
120
|
+
# @!attribute [rw] request_id
|
121
|
+
# @return [::String]
|
122
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
123
|
+
# request ID so that if you must retry your request, the server will know to
|
124
|
+
# ignore the request if it has already been completed. The server will
|
125
|
+
# guarantee that for at least 60 minutes since the first request.
|
126
|
+
#
|
127
|
+
# For example, consider a situation where you make an initial request and
|
128
|
+
# the request times out. If you make the request again with the same request
|
129
|
+
# ID, the server can check if original operation with the same request ID
|
130
|
+
# was received, and if so, will ignore the second request. This prevents
|
131
|
+
# clients from accidentally creating duplicate commitments.
|
132
|
+
#
|
133
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
134
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
135
|
+
# @!attribute [rw] validate_only
|
136
|
+
# @return [::Boolean]
|
137
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
138
|
+
# any other type of validation), but do not actually execute the create
|
139
|
+
# request.
|
140
|
+
class CreateClusterRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# Message for updating a Cluster
|
146
|
+
# @!attribute [rw] update_mask
|
147
|
+
# @return [::Google::Protobuf::FieldMask]
|
148
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
149
|
+
# Cluster resource by the update.
|
150
|
+
# The fields specified in the update_mask are relative to the resource, not
|
151
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
152
|
+
# user does not provide a mask then all fields will be overwritten.
|
153
|
+
# @!attribute [rw] cluster
|
154
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Cluster]
|
155
|
+
# Required. The resource being updated
|
156
|
+
# @!attribute [rw] request_id
|
157
|
+
# @return [::String]
|
158
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
159
|
+
# request ID so that if you must retry your request, the server will know to
|
160
|
+
# ignore the request if it has already been completed. The server will
|
161
|
+
# guarantee that for at least 60 minutes since the first request.
|
162
|
+
#
|
163
|
+
# For example, consider a situation where you make an initial request and
|
164
|
+
# the request times out. If you make the request again with the same request
|
165
|
+
# ID, the server can check if original operation with the same request ID
|
166
|
+
# was received, and if so, will ignore the second request. This prevents
|
167
|
+
# clients from accidentally creating duplicate commitments.
|
168
|
+
#
|
169
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
170
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
171
|
+
# @!attribute [rw] validate_only
|
172
|
+
# @return [::Boolean]
|
173
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
174
|
+
# any other type of validation), but do not actually execute the update
|
175
|
+
# request.
|
176
|
+
# @!attribute [rw] allow_missing
|
177
|
+
# @return [::Boolean]
|
178
|
+
# Optional. If set to true, update succeeds even if cluster is not found. In
|
179
|
+
# that case, a new cluster is created and `update_mask` is ignored.
|
180
|
+
class UpdateClusterRequest
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
end
|
184
|
+
|
185
|
+
# Message for deleting a Cluster
|
186
|
+
# @!attribute [rw] name
|
187
|
+
# @return [::String]
|
188
|
+
# Required. The name of the resource. For the required format, see the
|
189
|
+
# comment on the Cluster.name field.
|
190
|
+
# @!attribute [rw] request_id
|
191
|
+
# @return [::String]
|
192
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
193
|
+
# request ID so that if you must retry your request, the server will know to
|
194
|
+
# ignore the request if it has already been completed. The server will
|
195
|
+
# guarantee that for at least 60 minutes after the first request.
|
196
|
+
#
|
197
|
+
# For example, consider a situation where you make an initial request and
|
198
|
+
# the request times out. If you make the request again with the same request
|
199
|
+
# ID, the server can check if original operation with the same request ID
|
200
|
+
# was received, and if so, will ignore the second request. This prevents
|
201
|
+
# clients from accidentally creating duplicate commitments.
|
202
|
+
#
|
203
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
204
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
205
|
+
# @!attribute [rw] etag
|
206
|
+
# @return [::String]
|
207
|
+
# Optional. The current etag of the Cluster.
|
208
|
+
# If an etag is provided and does not match the current etag of the Cluster,
|
209
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
210
|
+
# @!attribute [rw] validate_only
|
211
|
+
# @return [::Boolean]
|
212
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
213
|
+
# any other type of validation), but do not actually execute the delete.
|
214
|
+
# @!attribute [rw] force
|
215
|
+
# @return [::Boolean]
|
216
|
+
# Optional. Whether to cascade delete child instances for given cluster.
|
217
|
+
class DeleteClusterRequest
|
218
|
+
include ::Google::Protobuf::MessageExts
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
220
|
+
end
|
221
|
+
|
222
|
+
# Message for promoting a Cluster
|
223
|
+
# @!attribute [rw] name
|
224
|
+
# @return [::String]
|
225
|
+
# Required. The name of the resource. For the required format, see the
|
226
|
+
# comment on the Cluster.name field
|
227
|
+
# @!attribute [rw] request_id
|
228
|
+
# @return [::String]
|
229
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
230
|
+
# request ID so that if you must retry your request, the server will know to
|
231
|
+
# ignore the request if it has already been completed. The server will
|
232
|
+
# guarantee that for at least 60 minutes after the first request.
|
233
|
+
#
|
234
|
+
# For example, consider a situation where you make an initial request and
|
235
|
+
# the request times out. If you make the request again with the same request
|
236
|
+
# ID, the server can check if original operation with the same request ID
|
237
|
+
# was received, and if so, will ignore the second request. This prevents
|
238
|
+
# clients from accidentally creating duplicate commitments.
|
239
|
+
#
|
240
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
241
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
242
|
+
# @!attribute [rw] etag
|
243
|
+
# @return [::String]
|
244
|
+
# Optional. The current etag of the Cluster.
|
245
|
+
# If an etag is provided and does not match the current etag of the Cluster,
|
246
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
247
|
+
# @!attribute [rw] validate_only
|
248
|
+
# @return [::Boolean]
|
249
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
250
|
+
# any other type of validation), but do not actually execute the delete.
|
251
|
+
class PromoteClusterRequest
|
252
|
+
include ::Google::Protobuf::MessageExts
|
253
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
254
|
+
end
|
255
|
+
|
256
|
+
# Message for restoring a Cluster from a backup or another cluster at a given
|
257
|
+
# point in time.
|
258
|
+
# @!attribute [rw] backup_source
|
259
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::BackupSource]
|
260
|
+
# Backup source.
|
261
|
+
# @!attribute [rw] continuous_backup_source
|
262
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::ContinuousBackupSource]
|
263
|
+
# ContinuousBackup source. Continuous backup needs to be enabled in the
|
264
|
+
# source cluster for this operation to succeed.
|
265
|
+
# @!attribute [rw] parent
|
266
|
+
# @return [::String]
|
267
|
+
# Required. The name of the parent resource. For the required format, see the
|
268
|
+
# comment on the Cluster.name field.
|
269
|
+
# @!attribute [rw] cluster_id
|
270
|
+
# @return [::String]
|
271
|
+
# Required. ID of the requesting object.
|
272
|
+
# @!attribute [rw] cluster
|
273
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Cluster]
|
274
|
+
# Required. The resource being created
|
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
|
+
# @!attribute [rw] validate_only
|
291
|
+
# @return [::Boolean]
|
292
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
293
|
+
# any other type of validation), but do not actually execute the import
|
294
|
+
# request.
|
295
|
+
class RestoreClusterRequest
|
296
|
+
include ::Google::Protobuf::MessageExts
|
297
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
298
|
+
end
|
299
|
+
|
300
|
+
# Message for requesting list of Instances
|
301
|
+
# @!attribute [rw] parent
|
302
|
+
# @return [::String]
|
303
|
+
# Required. The name of the parent resource. For the required format, see the
|
304
|
+
# comment on the Instance.name field. Additionally, you can perform an
|
305
|
+
# aggregated list operation by specifying a value with one of the following
|
306
|
+
# formats:
|
307
|
+
# * projects/\\{project}/locations/-/clusters/-
|
308
|
+
# * projects/\\{project}/locations/\\{region}/clusters/-
|
309
|
+
# @!attribute [rw] page_size
|
310
|
+
# @return [::Integer]
|
311
|
+
# Optional. Requested page size. Server may return fewer items than
|
312
|
+
# requested. If unspecified, server will pick an appropriate default.
|
313
|
+
# @!attribute [rw] page_token
|
314
|
+
# @return [::String]
|
315
|
+
# A token identifying a page of results the server should return.
|
316
|
+
# @!attribute [rw] filter
|
317
|
+
# @return [::String]
|
318
|
+
# Optional. Filtering results
|
319
|
+
# @!attribute [rw] order_by
|
320
|
+
# @return [::String]
|
321
|
+
# Optional. Hint for how to order the results
|
322
|
+
class ListInstancesRequest
|
323
|
+
include ::Google::Protobuf::MessageExts
|
324
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
325
|
+
end
|
326
|
+
|
327
|
+
# Message for response to listing Instances
|
328
|
+
# @!attribute [rw] instances
|
329
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance>]
|
330
|
+
# The list of Instance
|
331
|
+
# @!attribute [rw] next_page_token
|
332
|
+
# @return [::String]
|
333
|
+
# A token identifying a page of results the server should return.
|
334
|
+
# @!attribute [rw] unreachable
|
335
|
+
# @return [::Array<::String>]
|
336
|
+
# Locations that could not be reached.
|
337
|
+
class ListInstancesResponse
|
338
|
+
include ::Google::Protobuf::MessageExts
|
339
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
340
|
+
end
|
341
|
+
|
342
|
+
# Message for getting a Instance
|
343
|
+
# @!attribute [rw] name
|
344
|
+
# @return [::String]
|
345
|
+
# Required. The name of the resource. For the required format, see the
|
346
|
+
# comment on the Instance.name field.
|
347
|
+
# @!attribute [rw] view
|
348
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::InstanceView]
|
349
|
+
# The view of the instance to return.
|
350
|
+
class GetInstanceRequest
|
351
|
+
include ::Google::Protobuf::MessageExts
|
352
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
353
|
+
end
|
354
|
+
|
355
|
+
# Message for creating a Instance
|
356
|
+
# @!attribute [rw] parent
|
357
|
+
# @return [::String]
|
358
|
+
# Required. The name of the parent resource. For the required format, see the
|
359
|
+
# comment on the Instance.name field.
|
360
|
+
# @!attribute [rw] instance_id
|
361
|
+
# @return [::String]
|
362
|
+
# Required. ID of the requesting object.
|
363
|
+
# @!attribute [rw] instance
|
364
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance]
|
365
|
+
# Required. The resource being created
|
366
|
+
# @!attribute [rw] request_id
|
367
|
+
# @return [::String]
|
368
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
369
|
+
# request ID so that if you must retry your request, the server will know to
|
370
|
+
# ignore the request if it has already been completed. The server will
|
371
|
+
# guarantee that for at least 60 minutes since the first request.
|
372
|
+
#
|
373
|
+
# For example, consider a situation where you make an initial request and
|
374
|
+
# the request times out. If you make the request again with the same request
|
375
|
+
# ID, the server can check if original operation with the same request ID
|
376
|
+
# was received, and if so, will ignore the second request. This prevents
|
377
|
+
# clients from accidentally creating duplicate commitments.
|
378
|
+
#
|
379
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
380
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
381
|
+
# @!attribute [rw] validate_only
|
382
|
+
# @return [::Boolean]
|
383
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
384
|
+
# any other type of validation), but do not actually execute the create
|
385
|
+
# request.
|
386
|
+
class CreateInstanceRequest
|
387
|
+
include ::Google::Protobuf::MessageExts
|
388
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
389
|
+
end
|
390
|
+
|
391
|
+
# Message for creating a Secondary Instance
|
392
|
+
# @!attribute [rw] parent
|
393
|
+
# @return [::String]
|
394
|
+
# Required. The name of the parent resource. For the required format, see the
|
395
|
+
# comment on the Instance.name field.
|
396
|
+
# @!attribute [rw] instance_id
|
397
|
+
# @return [::String]
|
398
|
+
# Required. ID of the requesting object.
|
399
|
+
# @!attribute [rw] instance
|
400
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance]
|
401
|
+
# Required. The resource being created
|
402
|
+
# @!attribute [rw] request_id
|
403
|
+
# @return [::String]
|
404
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
405
|
+
# request ID so that if you must retry your request, the server will know to
|
406
|
+
# ignore the request if it has already been completed. The server will
|
407
|
+
# guarantee that for at least 60 minutes since the first request.
|
408
|
+
#
|
409
|
+
# For example, consider a situation where you make an initial request and
|
410
|
+
# the request times out. If you make the request again with the same request
|
411
|
+
# ID, the server can check if original operation with the same request ID
|
412
|
+
# was received, and if so, will ignore the second request. This prevents
|
413
|
+
# clients from accidentally creating duplicate commitments.
|
414
|
+
#
|
415
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
416
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
417
|
+
# @!attribute [rw] validate_only
|
418
|
+
# @return [::Boolean]
|
419
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
420
|
+
# any other type of validation), but do not actually execute the create
|
421
|
+
# request.
|
422
|
+
class CreateSecondaryInstanceRequest
|
423
|
+
include ::Google::Protobuf::MessageExts
|
424
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
425
|
+
end
|
426
|
+
|
427
|
+
# See usage below for notes.
|
428
|
+
# @!attribute [rw] create_instance_requests
|
429
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::CreateInstanceRequest>]
|
430
|
+
# Required. Primary and read replica instances to be created. This list
|
431
|
+
# should not be empty.
|
432
|
+
class CreateInstanceRequests
|
433
|
+
include ::Google::Protobuf::MessageExts
|
434
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
435
|
+
end
|
436
|
+
|
437
|
+
# Message for creating a batch of instances under the specified cluster.
|
438
|
+
# @!attribute [rw] parent
|
439
|
+
# @return [::String]
|
440
|
+
# Required. The name of the parent resource.
|
441
|
+
# @!attribute [rw] requests
|
442
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::CreateInstanceRequests]
|
443
|
+
# Required. Resources being created.
|
444
|
+
# @!attribute [rw] request_id
|
445
|
+
# @return [::String]
|
446
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
447
|
+
# request ID so that if you must retry your request, the server will know to
|
448
|
+
# ignore the request if it has already been completed. The server will
|
449
|
+
# guarantee that for at least 60 minutes since the first request.
|
450
|
+
#
|
451
|
+
# For example, consider a situation where you make an initial request and
|
452
|
+
# the request times out. If you make the request again with the same request
|
453
|
+
# ID, the server can check if original operation with the same request ID
|
454
|
+
# was received, and if so, will ignore the second request. This prevents
|
455
|
+
# clients from accidentally creating duplicate commitments.
|
456
|
+
#
|
457
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
458
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
459
|
+
class BatchCreateInstancesRequest
|
460
|
+
include ::Google::Protobuf::MessageExts
|
461
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
462
|
+
end
|
463
|
+
|
464
|
+
# Message for creating batches of instances in a cluster.
|
465
|
+
# @!attribute [rw] instances
|
466
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Instance>]
|
467
|
+
# Created instances.
|
468
|
+
class BatchCreateInstancesResponse
|
469
|
+
include ::Google::Protobuf::MessageExts
|
470
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
471
|
+
end
|
472
|
+
|
473
|
+
# Message for metadata that is specific to BatchCreateInstances API.
|
474
|
+
# @!attribute [rw] instance_targets
|
475
|
+
# @return [::Array<::String>]
|
476
|
+
# The instances being created in the API call. Each string in this list
|
477
|
+
# is the server defined resource path for target instances in the request
|
478
|
+
# and for the format of each string, see the comment on the Instance.name
|
479
|
+
# field.
|
480
|
+
# @!attribute [rw] instance_statuses
|
481
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AlloyDB::V1beta::BatchCreateInstanceStatus}]
|
482
|
+
# A map representing state of the instances involved in the
|
483
|
+
# BatchCreateInstances operation during the operation execution.
|
484
|
+
# The instance state will be in STATE_UNSPECIFIED state if the instance has
|
485
|
+
# not yet been picked up for processing.
|
486
|
+
# The key of the map is the name of the instance resource.
|
487
|
+
# For the format, see the comment on the Instance.name field.
|
488
|
+
class BatchCreateInstancesMetadata
|
489
|
+
include ::Google::Protobuf::MessageExts
|
490
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
491
|
+
|
492
|
+
# @!attribute [rw] key
|
493
|
+
# @return [::String]
|
494
|
+
# @!attribute [rw] value
|
495
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::BatchCreateInstanceStatus]
|
496
|
+
class InstanceStatusesEntry
|
497
|
+
include ::Google::Protobuf::MessageExts
|
498
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
# Message for current status of an instance in the BatchCreateInstances
|
503
|
+
# operation.
|
504
|
+
# For example, lets say a BatchCreateInstances workflow has 4 instances,
|
505
|
+
# Instance1 through Instance4. Lets also assume that 2 instances succeeded
|
506
|
+
# but the third failed to create and the 4th was never picked up for creation
|
507
|
+
# because of failure of the previous one. Then, resulting states would look
|
508
|
+
# something like:
|
509
|
+
# 1. Instance1 = ROLLED_BACK
|
510
|
+
# 2. Instance2 = ROLLED_BACK
|
511
|
+
# 3. Instance3 = FAILED
|
512
|
+
# 4. Instance4 = FAILED
|
513
|
+
# However, while the operation is running, the instance might be in other
|
514
|
+
# states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states
|
515
|
+
# / do not get further updated once the operation is done.
|
516
|
+
# @!attribute [rw] state
|
517
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::BatchCreateInstanceStatus::State]
|
518
|
+
# The current state of an instance involved in the batch create operation.
|
519
|
+
# Once the operation is complete, the final state of the instances in the
|
520
|
+
# LRO can be one of:
|
521
|
+
# 1. ACTIVE, indicating that instances were created successfully
|
522
|
+
# 2. FAILED, indicating that a particular instance failed creation
|
523
|
+
# 3. ROLLED_BACK indicating that although the instance was created
|
524
|
+
# successfully, it had to be rolled back and deleted due to failure in
|
525
|
+
# other steps of the workflow.
|
526
|
+
# @!attribute [rw] error_msg
|
527
|
+
# @return [::String]
|
528
|
+
# DEPRECATED - Use the error field instead.
|
529
|
+
# Error, if any error occurred and is available, during instance creation.
|
530
|
+
# @!attribute [rw] error
|
531
|
+
# @return [::Google::Rpc::Status]
|
532
|
+
# The RPC status of the instance creation operation. This field will be
|
533
|
+
# present if an error happened during the instance creation.
|
534
|
+
# @!attribute [rw] type
|
535
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance::InstanceType]
|
536
|
+
class BatchCreateInstanceStatus
|
537
|
+
include ::Google::Protobuf::MessageExts
|
538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
539
|
+
|
540
|
+
# State contains all valid instance states for the BatchCreateInstances
|
541
|
+
# operation. This is mainly used for status reporting through the LRO
|
542
|
+
# metadata.
|
543
|
+
module State
|
544
|
+
# The state of the instance is unknown.
|
545
|
+
STATE_UNSPECIFIED = 0
|
546
|
+
|
547
|
+
# Instance is pending creation and has not yet been picked up for
|
548
|
+
# processsing in the backend.
|
549
|
+
PENDING_CREATE = 1
|
550
|
+
|
551
|
+
# The instance is active and running.
|
552
|
+
READY = 2
|
553
|
+
|
554
|
+
# The instance is being created.
|
555
|
+
CREATING = 3
|
556
|
+
|
557
|
+
# The instance is being deleted.
|
558
|
+
DELETING = 4
|
559
|
+
|
560
|
+
# The creation of the instance failed or a fatal error occurred during
|
561
|
+
# an operation on the instance or a batch of instances.
|
562
|
+
FAILED = 5
|
563
|
+
|
564
|
+
# The instance was created successfully, but was rolled back and deleted
|
565
|
+
# due to some other failure during BatchCreateInstances operation.
|
566
|
+
ROLLED_BACK = 6
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
# Message for updating a Instance
|
571
|
+
# @!attribute [rw] update_mask
|
572
|
+
# @return [::Google::Protobuf::FieldMask]
|
573
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
574
|
+
# Instance resource by the update.
|
575
|
+
# The fields specified in the update_mask are relative to the resource, not
|
576
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
577
|
+
# user does not provide a mask then all fields will be overwritten.
|
578
|
+
# @!attribute [rw] instance
|
579
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Instance]
|
580
|
+
# Required. The resource being updated
|
581
|
+
# @!attribute [rw] request_id
|
582
|
+
# @return [::String]
|
583
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
584
|
+
# request ID so that if you must retry your request, the server will know to
|
585
|
+
# ignore the request if it has already been completed. The server will
|
586
|
+
# guarantee that for at least 60 minutes since the first request.
|
587
|
+
#
|
588
|
+
# For example, consider a situation where you make an initial request and
|
589
|
+
# the request times out. If you make the request again with the same request
|
590
|
+
# ID, the server can check if original operation with the same request ID
|
591
|
+
# was received, and if so, will ignore the second request. This prevents
|
592
|
+
# clients from accidentally creating duplicate commitments.
|
593
|
+
#
|
594
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
595
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
596
|
+
# @!attribute [rw] validate_only
|
597
|
+
# @return [::Boolean]
|
598
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
599
|
+
# any other type of validation), but do not actually execute the update
|
600
|
+
# request.
|
601
|
+
# @!attribute [rw] allow_missing
|
602
|
+
# @return [::Boolean]
|
603
|
+
# Optional. If set to true, update succeeds even if instance is not found. In
|
604
|
+
# that case, a new instance is created and `update_mask` is ignored.
|
605
|
+
class UpdateInstanceRequest
|
606
|
+
include ::Google::Protobuf::MessageExts
|
607
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
608
|
+
end
|
609
|
+
|
610
|
+
# Message for deleting a Instance
|
611
|
+
# @!attribute [rw] name
|
612
|
+
# @return [::String]
|
613
|
+
# Required. The name of the resource. For the required format, see the
|
614
|
+
# comment on the Instance.name field.
|
615
|
+
# @!attribute [rw] request_id
|
616
|
+
# @return [::String]
|
617
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
618
|
+
# request ID so that if you must retry your request, the server will know to
|
619
|
+
# ignore the request if it has already been completed. The server will
|
620
|
+
# guarantee that for at least 60 minutes after the first request.
|
621
|
+
#
|
622
|
+
# For example, consider a situation where you make an initial request and
|
623
|
+
# the request times out. If you make the request again with the same request
|
624
|
+
# ID, the server can check if original operation with the same request ID
|
625
|
+
# was received, and if so, will ignore the second request. This prevents
|
626
|
+
# clients from accidentally creating duplicate commitments.
|
627
|
+
#
|
628
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
629
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
630
|
+
# @!attribute [rw] etag
|
631
|
+
# @return [::String]
|
632
|
+
# Optional. The current etag of the Instance.
|
633
|
+
# If an etag is provided and does not match the current etag of the Instance,
|
634
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
635
|
+
# @!attribute [rw] validate_only
|
636
|
+
# @return [::Boolean]
|
637
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
638
|
+
# any other type of validation), but do not actually execute the delete.
|
639
|
+
class DeleteInstanceRequest
|
640
|
+
include ::Google::Protobuf::MessageExts
|
641
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
642
|
+
end
|
643
|
+
|
644
|
+
# Message for triggering failover on an Instance
|
645
|
+
# @!attribute [rw] name
|
646
|
+
# @return [::String]
|
647
|
+
# Required. The name of the resource. For the required format, see the
|
648
|
+
# comment on the Instance.name field.
|
649
|
+
# @!attribute [rw] request_id
|
650
|
+
# @return [::String]
|
651
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
652
|
+
# request ID so that if you must retry your request, the server will know to
|
653
|
+
# ignore the request if it has already been completed. The server will
|
654
|
+
# guarantee that for at least 60 minutes after the first request.
|
655
|
+
#
|
656
|
+
# For example, consider a situation where you make an initial request and
|
657
|
+
# the request times out. If you make the request again with the same request
|
658
|
+
# ID, the server can check if original operation with the same request ID
|
659
|
+
# was received, and if so, will ignore the second request. This prevents
|
660
|
+
# clients from accidentally creating duplicate commitments.
|
661
|
+
#
|
662
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
663
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
664
|
+
# @!attribute [rw] validate_only
|
665
|
+
# @return [::Boolean]
|
666
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
667
|
+
# any other type of validation), but do not actually execute the failover.
|
668
|
+
class FailoverInstanceRequest
|
669
|
+
include ::Google::Protobuf::MessageExts
|
670
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
671
|
+
end
|
672
|
+
|
673
|
+
# @!attribute [rw] name
|
674
|
+
# @return [::String]
|
675
|
+
# Required. The name of the resource. For the required format, see the
|
676
|
+
# comment on the Instance.name field.
|
677
|
+
# @!attribute [rw] request_id
|
678
|
+
# @return [::String]
|
679
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
680
|
+
# request ID so that if you must retry your request, the server will know to
|
681
|
+
# ignore the request if it has already been completed. The server will
|
682
|
+
# guarantee that for at least 60 minutes after the first request.
|
683
|
+
#
|
684
|
+
# For example, consider a situation where you make an initial request and
|
685
|
+
# the request times out. If you make the request again with the same request
|
686
|
+
# ID, the server can check if original operation with the same request ID
|
687
|
+
# was received, and if so, will ignore the second request. This prevents
|
688
|
+
# clients from accidentally creating duplicate commitments.
|
689
|
+
#
|
690
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
691
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
692
|
+
# @!attribute [rw] validate_only
|
693
|
+
# @return [::Boolean]
|
694
|
+
# Optional. If set, performs request validation (e.g. permission checks and
|
695
|
+
# any other type of validation), but do not actually execute the restart.
|
696
|
+
class RestartInstanceRequest
|
697
|
+
include ::Google::Protobuf::MessageExts
|
698
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
699
|
+
end
|
700
|
+
|
701
|
+
# Message for requesting list of Backups
|
702
|
+
# @!attribute [rw] parent
|
703
|
+
# @return [::String]
|
704
|
+
# Required. Parent value for ListBackupsRequest
|
705
|
+
# @!attribute [rw] page_size
|
706
|
+
# @return [::Integer]
|
707
|
+
# Requested page size. Server may return fewer items than requested.
|
708
|
+
# If unspecified, server will pick an appropriate default.
|
709
|
+
# @!attribute [rw] page_token
|
710
|
+
# @return [::String]
|
711
|
+
# A token identifying a page of results the server should return.
|
712
|
+
# @!attribute [rw] filter
|
713
|
+
# @return [::String]
|
714
|
+
# Filtering results
|
715
|
+
# @!attribute [rw] order_by
|
716
|
+
# @return [::String]
|
717
|
+
# Hint for how to order the results
|
718
|
+
class ListBackupsRequest
|
719
|
+
include ::Google::Protobuf::MessageExts
|
720
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
721
|
+
end
|
722
|
+
|
723
|
+
# Message for response to listing Backups
|
724
|
+
# @!attribute [rw] backups
|
725
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::Backup>]
|
726
|
+
# The list of Backup
|
727
|
+
# @!attribute [rw] next_page_token
|
728
|
+
# @return [::String]
|
729
|
+
# A token identifying a page of results the server should return.
|
730
|
+
# @!attribute [rw] unreachable
|
731
|
+
# @return [::Array<::String>]
|
732
|
+
# Locations that could not be reached.
|
733
|
+
class ListBackupsResponse
|
734
|
+
include ::Google::Protobuf::MessageExts
|
735
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
736
|
+
end
|
737
|
+
|
738
|
+
# Message for getting a Backup
|
739
|
+
# @!attribute [rw] name
|
740
|
+
# @return [::String]
|
741
|
+
# Required. Name of the resource
|
742
|
+
class GetBackupRequest
|
743
|
+
include ::Google::Protobuf::MessageExts
|
744
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
745
|
+
end
|
746
|
+
|
747
|
+
# Message for creating a Backup
|
748
|
+
# @!attribute [rw] parent
|
749
|
+
# @return [::String]
|
750
|
+
# Required. Value for parent.
|
751
|
+
# @!attribute [rw] backup_id
|
752
|
+
# @return [::String]
|
753
|
+
# Required. ID of the requesting object.
|
754
|
+
# @!attribute [rw] backup
|
755
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Backup]
|
756
|
+
# Required. The resource being created
|
757
|
+
# @!attribute [rw] request_id
|
758
|
+
# @return [::String]
|
759
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
760
|
+
# request ID so that if you must retry your request, the server will know to
|
761
|
+
# ignore the request if it has already been completed. The server will
|
762
|
+
# guarantee that for at least 60 minutes since the first request.
|
763
|
+
#
|
764
|
+
# For example, consider a situation where you make an initial request and
|
765
|
+
# the request times out. If you make the request again with the same request
|
766
|
+
# ID, the server can check if original operation with the same request ID
|
767
|
+
# was received, and if so, will ignore the second request. This prevents
|
768
|
+
# clients from accidentally creating duplicate commitments.
|
769
|
+
#
|
770
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
771
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
772
|
+
# @!attribute [rw] validate_only
|
773
|
+
# @return [::Boolean]
|
774
|
+
# Optional. If set, the backend validates the request, but doesn't actually
|
775
|
+
# execute it.
|
776
|
+
class CreateBackupRequest
|
777
|
+
include ::Google::Protobuf::MessageExts
|
778
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
779
|
+
end
|
780
|
+
|
781
|
+
# Message for updating a Backup
|
782
|
+
# @!attribute [rw] update_mask
|
783
|
+
# @return [::Google::Protobuf::FieldMask]
|
784
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
785
|
+
# Backup resource by the update.
|
786
|
+
# The fields specified in the update_mask are relative to the resource, not
|
787
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
788
|
+
# user does not provide a mask then all fields will be overwritten.
|
789
|
+
# @!attribute [rw] backup
|
790
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::Backup]
|
791
|
+
# Required. The resource being updated
|
792
|
+
# @!attribute [rw] request_id
|
793
|
+
# @return [::String]
|
794
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
795
|
+
# request ID so that if you must retry your request, the server will know to
|
796
|
+
# ignore the request if it has already been completed. The server will
|
797
|
+
# guarantee that for at least 60 minutes since the first request.
|
798
|
+
#
|
799
|
+
# For example, consider a situation where you make an initial request and
|
800
|
+
# the request times out. If you make the request again with the same request
|
801
|
+
# ID, the server can check if original operation with the same request ID
|
802
|
+
# was received, and if so, will ignore the second request. This prevents
|
803
|
+
# clients from accidentally creating duplicate commitments.
|
804
|
+
#
|
805
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
806
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
807
|
+
# @!attribute [rw] validate_only
|
808
|
+
# @return [::Boolean]
|
809
|
+
# Optional. If set, the backend validates the request, but doesn't actually
|
810
|
+
# execute it.
|
811
|
+
# @!attribute [rw] allow_missing
|
812
|
+
# @return [::Boolean]
|
813
|
+
# Optional. If set to true, update succeeds even if instance is not found. In
|
814
|
+
# that case, a new backup is created and `update_mask` is ignored.
|
815
|
+
class UpdateBackupRequest
|
816
|
+
include ::Google::Protobuf::MessageExts
|
817
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
818
|
+
end
|
819
|
+
|
820
|
+
# Message for deleting a Backup
|
821
|
+
# @!attribute [rw] name
|
822
|
+
# @return [::String]
|
823
|
+
# Required. Name of the resource. For the required format, see the comment on
|
824
|
+
# the Backup.name field.
|
825
|
+
# @!attribute [rw] request_id
|
826
|
+
# @return [::String]
|
827
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
828
|
+
# request ID so that if you must retry your request, the server will know to
|
829
|
+
# ignore the request if it has already been completed. The server will
|
830
|
+
# guarantee that for at least 60 minutes after the first request.
|
831
|
+
#
|
832
|
+
# For example, consider a situation where you make an initial request and
|
833
|
+
# the request times out. If you make the request again with the same request
|
834
|
+
# ID, the server can check if original operation with the same request ID
|
835
|
+
# was received, and if so, will ignore the second request. This prevents
|
836
|
+
# clients from accidentally creating duplicate commitments.
|
837
|
+
#
|
838
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
839
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
840
|
+
# @!attribute [rw] validate_only
|
841
|
+
# @return [::Boolean]
|
842
|
+
# Optional. If set, the backend validates the request, but doesn't actually
|
843
|
+
# execute it.
|
844
|
+
# @!attribute [rw] etag
|
845
|
+
# @return [::String]
|
846
|
+
# Optional. The current etag of the Backup.
|
847
|
+
# If an etag is provided and does not match the current etag of the Backup,
|
848
|
+
# deletion will be blocked and an ABORTED error will be returned.
|
849
|
+
class DeleteBackupRequest
|
850
|
+
include ::Google::Protobuf::MessageExts
|
851
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
852
|
+
end
|
853
|
+
|
854
|
+
# Message for listing the information about the supported Database flags.
|
855
|
+
# @!attribute [rw] parent
|
856
|
+
# @return [::String]
|
857
|
+
# Required. The name of the parent resource. The required format is:
|
858
|
+
# * projects/\\{project}/locations/\\{location}
|
859
|
+
#
|
860
|
+
# Regardless of the parent specified here, as long it is contains a valid
|
861
|
+
# project and location, the service will return a static list of supported
|
862
|
+
# flags resources. Note that we do not yet support region-specific
|
863
|
+
# flags.
|
864
|
+
# @!attribute [rw] page_size
|
865
|
+
# @return [::Integer]
|
866
|
+
# Requested page size. Server may return fewer items than requested.
|
867
|
+
# If unspecified, server will pick an appropriate default.
|
868
|
+
# @!attribute [rw] page_token
|
869
|
+
# @return [::String]
|
870
|
+
# A token identifying a page of results the server should return.
|
871
|
+
class ListSupportedDatabaseFlagsRequest
|
872
|
+
include ::Google::Protobuf::MessageExts
|
873
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
874
|
+
end
|
875
|
+
|
876
|
+
# Message for response to listing SupportedDatabaseFlags.
|
877
|
+
# @!attribute [rw] supported_database_flags
|
878
|
+
# @return [::Array<::Google::Cloud::AlloyDB::V1beta::SupportedDatabaseFlag>]
|
879
|
+
# The list of SupportedDatabaseFlags.
|
880
|
+
# @!attribute [rw] next_page_token
|
881
|
+
# @return [::String]
|
882
|
+
# A token identifying a page of results the server should return.
|
883
|
+
class ListSupportedDatabaseFlagsResponse
|
884
|
+
include ::Google::Protobuf::MessageExts
|
885
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
886
|
+
end
|
887
|
+
|
888
|
+
# Message for requests to generate a client certificate signed by the Cluster
|
889
|
+
# CA.
|
890
|
+
# @!attribute [rw] parent
|
891
|
+
# @return [::String]
|
892
|
+
# Required. The name of the parent resource. The required format is:
|
893
|
+
# * projects/\\{project}/locations/\\{location}/clusters/\\{cluster}
|
894
|
+
# @!attribute [rw] request_id
|
895
|
+
# @return [::String]
|
896
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
897
|
+
# request ID so that if you must retry your request, the server will know to
|
898
|
+
# ignore the request if it has already been completed. The server will
|
899
|
+
# guarantee that for at least 60 minutes after the first request.
|
900
|
+
#
|
901
|
+
# For example, consider a situation where you make an initial request and
|
902
|
+
# the request times out. If you make the request again with the same request
|
903
|
+
# ID, the server can check if original operation with the same request ID
|
904
|
+
# was received, and if so, will ignore the second request. This prevents
|
905
|
+
# clients from accidentally creating duplicate commitments.
|
906
|
+
#
|
907
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
908
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
909
|
+
# @!attribute [rw] pem_csr
|
910
|
+
# @return [::String]
|
911
|
+
# Optional. A pem-encoded X.509 certificate signing request (CSR).
|
912
|
+
# @!attribute [rw] cert_duration
|
913
|
+
# @return [::Google::Protobuf::Duration]
|
914
|
+
# Optional. An optional hint to the endpoint to generate the client
|
915
|
+
# certificate with the requested duration. The duration can be from 1 hour to
|
916
|
+
# 24 hours. The endpoint may or may not honor the hint. If the hint is left
|
917
|
+
# unspecified or is not honored, then the endpoint will pick an appropriate
|
918
|
+
# default duration.
|
919
|
+
class GenerateClientCertificateRequest
|
920
|
+
include ::Google::Protobuf::MessageExts
|
921
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
922
|
+
end
|
923
|
+
|
924
|
+
# Message returned by a GenerateClientCertificate operation.
|
925
|
+
# @!attribute [r] pem_certificate
|
926
|
+
# @return [::String]
|
927
|
+
# Output only. The pem-encoded, signed X.509 certificate.
|
928
|
+
# @!attribute [r] pem_certificate_chain
|
929
|
+
# @return [::Array<::String>]
|
930
|
+
# Output only. The pem-encoded chain that may be used to verify the X.509
|
931
|
+
# certificate. Expected to be in issuer-to-root order according to RFC 5246.
|
932
|
+
class GenerateClientCertificateResponse
|
933
|
+
include ::Google::Protobuf::MessageExts
|
934
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
935
|
+
end
|
936
|
+
|
937
|
+
# Request message for GetConnectionInfo.
|
938
|
+
# @!attribute [rw] parent
|
939
|
+
# @return [::String]
|
940
|
+
# Required. The name of the parent resource. The required format is:
|
941
|
+
# projects/\\{project}/locations/\\{location}/clusters/\\{cluster}/instances/\\{instance}
|
942
|
+
# @!attribute [rw] request_id
|
943
|
+
# @return [::String]
|
944
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
945
|
+
# request ID so that if you must retry your request, the server will know to
|
946
|
+
# ignore the request if it has already been completed. The server will
|
947
|
+
# guarantee that for at least 60 minutes after the first request.
|
948
|
+
#
|
949
|
+
# For example, consider a situation where you make an initial request and
|
950
|
+
# the request times out. If you make the request again with the same request
|
951
|
+
# ID, the server can check if original operation with the same request ID
|
952
|
+
# was received, and if so, will ignore the second request. This prevents
|
953
|
+
# clients from accidentally creating duplicate commitments.
|
954
|
+
#
|
955
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
956
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
957
|
+
class GetConnectionInfoRequest
|
958
|
+
include ::Google::Protobuf::MessageExts
|
959
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
960
|
+
end
|
961
|
+
|
962
|
+
# Represents the metadata of the long-running operation.
|
963
|
+
# @!attribute [r] batch_create_instances_metadata
|
964
|
+
# @return [::Google::Cloud::AlloyDB::V1beta::BatchCreateInstancesMetadata]
|
965
|
+
# Output only. BatchCreateInstances related metadata.
|
966
|
+
# @!attribute [r] create_time
|
967
|
+
# @return [::Google::Protobuf::Timestamp]
|
968
|
+
# Output only. The time the operation was created.
|
969
|
+
# @!attribute [r] end_time
|
970
|
+
# @return [::Google::Protobuf::Timestamp]
|
971
|
+
# Output only. The time the operation finished running.
|
972
|
+
# @!attribute [r] target
|
973
|
+
# @return [::String]
|
974
|
+
# Output only. Server-defined resource path for the target of the operation.
|
975
|
+
# @!attribute [r] verb
|
976
|
+
# @return [::String]
|
977
|
+
# Output only. Name of the verb executed by the operation.
|
978
|
+
# @!attribute [r] status_message
|
979
|
+
# @return [::String]
|
980
|
+
# Output only. Human-readable status of the operation, if any.
|
981
|
+
# @!attribute [r] requested_cancellation
|
982
|
+
# @return [::Boolean]
|
983
|
+
# Output only. Identifies whether the user has requested cancellation
|
984
|
+
# of the operation. Operations that have successfully been cancelled
|
985
|
+
# have [Operation.error][] value with a
|
986
|
+
# {::Google::Rpc::Status#code google.rpc.Status.code} of 1, corresponding to
|
987
|
+
# `Code.CANCELLED`.
|
988
|
+
# @!attribute [r] api_version
|
989
|
+
# @return [::String]
|
990
|
+
# Output only. API version used to start the operation.
|
991
|
+
class OperationMetadata
|
992
|
+
include ::Google::Protobuf::MessageExts
|
993
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
994
|
+
end
|
995
|
+
end
|
996
|
+
end
|
997
|
+
end
|
998
|
+
end
|