google-cloud-sql-v1 0.1.0 → 0.4.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/AUTHENTICATION.md +4 -4
- data/README.md +9 -2
- data/lib/google/cloud/sql/v1/cloud_sql_connect_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_connect_services_pb.rb +3 -0
- data/lib/google/cloud/sql/v1/cloud_sql_databases_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_instances_pb.rb +3 -1
- data/lib/google/cloud/sql/v1/cloud_sql_operations_pb.rb +1 -1
- data/lib/google/cloud/sql/v1/cloud_sql_resources_pb.rb +3 -1
- data/lib/google/cloud/sql/v1/cloud_sql_ssl_certs_pb.rb +2 -1
- data/lib/google/cloud/sql/v1/cloud_sql_users_pb.rb +1 -1
- data/lib/google/cloud/sql/v1/sql_backups_service/paths.rb +19 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/client.rb +98 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/rest/client.rb +88 -0
- data/lib/google/cloud/sql/v1/sql_connect_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/sql/v1/sql_databases_service/client.rb +18 -6
- data/lib/google/cloud/sql/v1/sql_databases_service/rest/client.rb +18 -6
- data/lib/google/cloud/sql/v1/sql_instances_service/client.rb +137 -44
- data/lib/google/cloud/sql/v1/sql_instances_service/paths.rb +64 -0
- data/lib/google/cloud/sql/v1/sql_instances_service/rest/client.rb +132 -42
- data/lib/google/cloud/sql/v1/sql_operations_service/client.rb +9 -3
- data/lib/google/cloud/sql/v1/sql_operations_service/rest/client.rb +9 -3
- data/lib/google/cloud/sql/v1/sql_users_service/client.rb +23 -5
- data/lib/google/cloud/sql/v1/sql_users_service/rest/client.rb +23 -5
- data/lib/google/cloud/sql/v1/version.rb +1 -1
- data/lib/google/cloud/sql/v1.rb +0 -6
- data/proto_docs/google/api/routing.rb +463 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_connect.rb +16 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_databases.rb +15 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_instances.rb +174 -1
- data/proto_docs/google/cloud/sql/v1/cloud_sql_operations.rb +9 -0
- data/proto_docs/google/cloud/sql/v1/cloud_sql_resources.rb +126 -14
- data/proto_docs/google/cloud/sql/v1/cloud_sql_users.rb +32 -0
- data/proto_docs/google/protobuf/timestamp.rb +7 -6
- metadata +6 -5
|
@@ -28,6 +28,9 @@ module Google
|
|
|
28
28
|
# @!attribute [rw] project
|
|
29
29
|
# @return [::String]
|
|
30
30
|
# Project ID of the project that contains the instance.
|
|
31
|
+
# @!attribute [rw] location
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Optional. Region of the Cloud SQL instance.
|
|
31
34
|
class SqlInstancesAddServerCaRequest
|
|
32
35
|
include ::Google::Protobuf::MessageExts
|
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -40,6 +43,9 @@ module Google
|
|
|
40
43
|
# @!attribute [rw] project
|
|
41
44
|
# @return [::String]
|
|
42
45
|
# Project ID of the project that contains the instance.
|
|
46
|
+
# @!attribute [rw] location
|
|
47
|
+
# @return [::String]
|
|
48
|
+
# Optional. Region of the Cloud SQL instance.
|
|
43
49
|
class SqlInstancesAddServerCertificateRequest
|
|
44
50
|
include ::Google::Protobuf::MessageExts
|
|
45
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -52,6 +58,9 @@ module Google
|
|
|
52
58
|
# @!attribute [rw] project
|
|
53
59
|
# @return [::String]
|
|
54
60
|
# Required. Project ID of the project that contains the instance.
|
|
61
|
+
# @!attribute [rw] location
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# Optional. Region of the Cloud SQL instance.
|
|
55
64
|
class SqlInstancesAddEntraIdCertificateRequest
|
|
56
65
|
include ::Google::Protobuf::MessageExts
|
|
57
66
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -67,6 +76,9 @@ module Google
|
|
|
67
76
|
# Required. Project ID of the source Cloud SQL instance.
|
|
68
77
|
# @!attribute [rw] body
|
|
69
78
|
# @return [::Google::Cloud::Sql::V1::InstancesCloneRequest]
|
|
79
|
+
# @!attribute [rw] location
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# Optional. Region of the Cloud SQL instance.
|
|
70
82
|
class SqlInstancesCloneRequest
|
|
71
83
|
include ::Google::Protobuf::MessageExts
|
|
72
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -96,6 +108,9 @@ module Google
|
|
|
96
108
|
# @!attribute [rw] final_backup_description
|
|
97
109
|
# @return [::String]
|
|
98
110
|
# Optional. The description of the final backup.
|
|
111
|
+
# @!attribute [rw] location
|
|
112
|
+
# @return [::String]
|
|
113
|
+
# Optional. Region of the Cloud SQL instance.
|
|
99
114
|
class SqlInstancesDeleteRequest
|
|
100
115
|
include ::Google::Protobuf::MessageExts
|
|
101
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -110,6 +125,9 @@ module Google
|
|
|
110
125
|
# ID of the project that contains the instance.
|
|
111
126
|
# @!attribute [rw] body
|
|
112
127
|
# @return [::Google::Cloud::Sql::V1::InstancesDemoteMasterRequest]
|
|
128
|
+
# @!attribute [rw] location
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# Optional. Region of the Cloud SQL instance.
|
|
113
131
|
class SqlInstancesDemoteMasterRequest
|
|
114
132
|
include ::Google::Protobuf::MessageExts
|
|
115
133
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -125,6 +143,9 @@ module Google
|
|
|
125
143
|
# @!attribute [rw] body
|
|
126
144
|
# @return [::Google::Cloud::Sql::V1::InstancesDemoteRequest]
|
|
127
145
|
# Required. The request body.
|
|
146
|
+
# @!attribute [rw] location
|
|
147
|
+
# @return [::String]
|
|
148
|
+
# Optional. Region of the Cloud SQL instance.
|
|
128
149
|
class SqlInstancesDemoteRequest
|
|
129
150
|
include ::Google::Protobuf::MessageExts
|
|
130
151
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -139,6 +160,9 @@ module Google
|
|
|
139
160
|
# Project ID of the project that contains the instance to be exported.
|
|
140
161
|
# @!attribute [rw] body
|
|
141
162
|
# @return [::Google::Cloud::Sql::V1::InstancesExportRequest]
|
|
163
|
+
# @!attribute [rw] location
|
|
164
|
+
# @return [::String]
|
|
165
|
+
# Optional. Region of the Cloud SQL instance.
|
|
142
166
|
class SqlInstancesExportRequest
|
|
143
167
|
include ::Google::Protobuf::MessageExts
|
|
144
168
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -153,6 +177,9 @@ module Google
|
|
|
153
177
|
# ID of the project that contains the read replica.
|
|
154
178
|
# @!attribute [rw] body
|
|
155
179
|
# @return [::Google::Cloud::Sql::V1::InstancesFailoverRequest]
|
|
180
|
+
# @!attribute [rw] location
|
|
181
|
+
# @return [::String]
|
|
182
|
+
# Optional. Region of the Cloud SQL instance.
|
|
156
183
|
class SqlInstancesFailoverRequest
|
|
157
184
|
include ::Google::Protobuf::MessageExts
|
|
158
185
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -165,6 +192,9 @@ module Google
|
|
|
165
192
|
# @!attribute [rw] project
|
|
166
193
|
# @return [::String]
|
|
167
194
|
# Required. Project ID of the project that contains the instance.
|
|
195
|
+
# @!attribute [rw] location
|
|
196
|
+
# @return [::String]
|
|
197
|
+
# Optional. Region of the Cloud SQL instance.
|
|
168
198
|
class SqlInstancesGetRequest
|
|
169
199
|
include ::Google::Protobuf::MessageExts
|
|
170
200
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -179,6 +209,9 @@ module Google
|
|
|
179
209
|
# Project ID of the project that contains the instance.
|
|
180
210
|
# @!attribute [rw] body
|
|
181
211
|
# @return [::Google::Cloud::Sql::V1::InstancesImportRequest]
|
|
212
|
+
# @!attribute [rw] location
|
|
213
|
+
# @return [::String]
|
|
214
|
+
# Optional. Region of the Cloud SQL instance.
|
|
182
215
|
class SqlInstancesImportRequest
|
|
183
216
|
include ::Google::Protobuf::MessageExts
|
|
184
217
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -191,6 +224,9 @@ module Google
|
|
|
191
224
|
# should belong.
|
|
192
225
|
# @!attribute [rw] body
|
|
193
226
|
# @return [::Google::Cloud::Sql::V1::DatabaseInstance]
|
|
227
|
+
# @!attribute [rw] location
|
|
228
|
+
# @return [::String]
|
|
229
|
+
# Optional. Region of the Cloud SQL instance.
|
|
194
230
|
class SqlInstancesInsertRequest
|
|
195
231
|
include ::Google::Protobuf::MessageExts
|
|
196
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -221,6 +257,9 @@ module Google
|
|
|
221
257
|
# @!attribute [rw] project
|
|
222
258
|
# @return [::String]
|
|
223
259
|
# Project ID of the project for which to list Cloud SQL instances.
|
|
260
|
+
# @!attribute [rw] location
|
|
261
|
+
# @return [::String]
|
|
262
|
+
# Optional. Region of the Cloud SQL instance.
|
|
224
263
|
class SqlInstancesListRequest
|
|
225
264
|
include ::Google::Protobuf::MessageExts
|
|
226
265
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -233,6 +272,9 @@ module Google
|
|
|
233
272
|
# @!attribute [rw] project
|
|
234
273
|
# @return [::String]
|
|
235
274
|
# Project ID of the project that contains the instance.
|
|
275
|
+
# @!attribute [rw] location
|
|
276
|
+
# @return [::String]
|
|
277
|
+
# Optional. Region of the Cloud SQL instance.
|
|
236
278
|
class SqlInstancesListServerCasRequest
|
|
237
279
|
include ::Google::Protobuf::MessageExts
|
|
238
280
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -245,6 +287,9 @@ module Google
|
|
|
245
287
|
# @!attribute [rw] project
|
|
246
288
|
# @return [::String]
|
|
247
289
|
# Required. Project ID of the project that contains the instance.
|
|
290
|
+
# @!attribute [rw] location
|
|
291
|
+
# @return [::String]
|
|
292
|
+
# Optional. Region of the Cloud SQL instance.
|
|
248
293
|
class SqlInstancesListServerCertificatesRequest
|
|
249
294
|
include ::Google::Protobuf::MessageExts
|
|
250
295
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -257,6 +302,9 @@ module Google
|
|
|
257
302
|
# @!attribute [rw] project
|
|
258
303
|
# @return [::String]
|
|
259
304
|
# Required. Project ID of the project that contains the instance.
|
|
305
|
+
# @!attribute [rw] location
|
|
306
|
+
# @return [::String]
|
|
307
|
+
# Optional. Region of the Cloud SQL instance.
|
|
260
308
|
class SqlInstancesListEntraIdCertificatesRequest
|
|
261
309
|
include ::Google::Protobuf::MessageExts
|
|
262
310
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -269,8 +317,19 @@ module Google
|
|
|
269
317
|
# @!attribute [rw] project
|
|
270
318
|
# @return [::String]
|
|
271
319
|
# Project ID of the project that contains the instance.
|
|
320
|
+
# @!attribute [rw] reconcile_psc_networking
|
|
321
|
+
# @return [::Boolean]
|
|
322
|
+
# Optional. Set PSC config to the same value as the existing config to
|
|
323
|
+
# reconcile the PSC networking.
|
|
324
|
+
# @!attribute [rw] reconcile_psc_networking_force
|
|
325
|
+
# @return [::Boolean]
|
|
326
|
+
# Optional. Set PSC config to the same value as the existing config and force
|
|
327
|
+
# reconcile the PSC networking.
|
|
272
328
|
# @!attribute [rw] body
|
|
273
329
|
# @return [::Google::Cloud::Sql::V1::DatabaseInstance]
|
|
330
|
+
# @!attribute [rw] location
|
|
331
|
+
# @return [::String]
|
|
332
|
+
# Optional. Region of the Cloud SQL instance.
|
|
274
333
|
class SqlInstancesPatchRequest
|
|
275
334
|
include ::Google::Protobuf::MessageExts
|
|
276
335
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -291,6 +350,9 @@ module Google
|
|
|
291
350
|
# DR replica when the original primary instance comes back online.
|
|
292
351
|
# If set to false or not specified, then the original primary
|
|
293
352
|
# instance becomes an independent Cloud SQL primary instance.
|
|
353
|
+
# @!attribute [rw] location
|
|
354
|
+
# @return [::String]
|
|
355
|
+
# Optional. Region of the Cloud SQL instance.
|
|
294
356
|
class SqlInstancesPromoteReplicaRequest
|
|
295
357
|
include ::Google::Protobuf::MessageExts
|
|
296
358
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -308,6 +370,9 @@ module Google
|
|
|
308
370
|
# Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations
|
|
309
371
|
# timeout, which is a sum of all database operations. Default value is 10
|
|
310
372
|
# minutes and can be modified to a maximum value of 24 hours.
|
|
373
|
+
# @!attribute [rw] location
|
|
374
|
+
# @return [::String]
|
|
375
|
+
# Optional. Region of the Cloud SQL instance.
|
|
311
376
|
class SqlInstancesSwitchoverRequest
|
|
312
377
|
include ::Google::Protobuf::MessageExts
|
|
313
378
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -323,6 +388,9 @@ module Google
|
|
|
323
388
|
# @!attribute [rw] mode
|
|
324
389
|
# @return [::Google::Cloud::Sql::V1::SqlInstancesResetSslConfigRequest::ResetSslMode]
|
|
325
390
|
# Optional. Reset SSL mode to use.
|
|
391
|
+
# @!attribute [rw] location
|
|
392
|
+
# @return [::String]
|
|
393
|
+
# Optional. Region of the Cloud SQL instance.
|
|
326
394
|
class SqlInstancesResetSslConfigRequest
|
|
327
395
|
include ::Google::Protobuf::MessageExts
|
|
328
396
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -349,6 +417,9 @@ module Google
|
|
|
349
417
|
# @!attribute [rw] project
|
|
350
418
|
# @return [::String]
|
|
351
419
|
# Project ID of the project that contains the instance to be restarted.
|
|
420
|
+
# @!attribute [rw] location
|
|
421
|
+
# @return [::String]
|
|
422
|
+
# Optional. Region of the Cloud SQL instance.
|
|
352
423
|
class SqlInstancesRestartRequest
|
|
353
424
|
include ::Google::Protobuf::MessageExts
|
|
354
425
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -363,6 +434,9 @@ module Google
|
|
|
363
434
|
# Project ID of the project that contains the instance.
|
|
364
435
|
# @!attribute [rw] body
|
|
365
436
|
# @return [::Google::Cloud::Sql::V1::InstancesRestoreBackupRequest]
|
|
437
|
+
# @!attribute [rw] location
|
|
438
|
+
# @return [::String]
|
|
439
|
+
# Optional. Region of the Cloud SQL instance.
|
|
366
440
|
class SqlInstancesRestoreBackupRequest
|
|
367
441
|
include ::Google::Protobuf::MessageExts
|
|
368
442
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -377,6 +451,9 @@ module Google
|
|
|
377
451
|
# Project ID of the project that contains the instance.
|
|
378
452
|
# @!attribute [rw] body
|
|
379
453
|
# @return [::Google::Cloud::Sql::V1::InstancesRotateServerCaRequest]
|
|
454
|
+
# @!attribute [rw] location
|
|
455
|
+
# @return [::String]
|
|
456
|
+
# Optional. Region of the Cloud SQL instance.
|
|
380
457
|
class SqlInstancesRotateServerCaRequest
|
|
381
458
|
include ::Google::Protobuf::MessageExts
|
|
382
459
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -392,6 +469,9 @@ module Google
|
|
|
392
469
|
# @!attribute [rw] body
|
|
393
470
|
# @return [::Google::Cloud::Sql::V1::InstancesRotateServerCertificateRequest]
|
|
394
471
|
# Optional. Rotate server certificate request body.
|
|
472
|
+
# @!attribute [rw] location
|
|
473
|
+
# @return [::String]
|
|
474
|
+
# Optional. Region of the Cloud SQL instance.
|
|
395
475
|
class SqlInstancesRotateServerCertificateRequest
|
|
396
476
|
include ::Google::Protobuf::MessageExts
|
|
397
477
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -407,6 +487,9 @@ module Google
|
|
|
407
487
|
# @!attribute [rw] body
|
|
408
488
|
# @return [::Google::Cloud::Sql::V1::InstancesRotateEntraIdCertificateRequest]
|
|
409
489
|
# Optional. Rotate Entra ID certificate request body.
|
|
490
|
+
# @!attribute [rw] location
|
|
491
|
+
# @return [::String]
|
|
492
|
+
# Optional. Region of the Cloud SQL instance.
|
|
410
493
|
class SqlInstancesRotateEntraIdCertificateRequest
|
|
411
494
|
include ::Google::Protobuf::MessageExts
|
|
412
495
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -419,6 +502,9 @@ module Google
|
|
|
419
502
|
# @!attribute [rw] project
|
|
420
503
|
# @return [::String]
|
|
421
504
|
# ID of the project that contains the read replica.
|
|
505
|
+
# @!attribute [rw] location
|
|
506
|
+
# @return [::String]
|
|
507
|
+
# Optional. Region of the Cloud SQL instance.
|
|
422
508
|
class SqlInstancesStartReplicaRequest
|
|
423
509
|
include ::Google::Protobuf::MessageExts
|
|
424
510
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -431,6 +517,9 @@ module Google
|
|
|
431
517
|
# @!attribute [rw] project
|
|
432
518
|
# @return [::String]
|
|
433
519
|
# ID of the project that contains the read replica.
|
|
520
|
+
# @!attribute [rw] location
|
|
521
|
+
# @return [::String]
|
|
522
|
+
# Optional. Region of the Cloud SQL instance.
|
|
434
523
|
class SqlInstancesStopReplicaRequest
|
|
435
524
|
include ::Google::Protobuf::MessageExts
|
|
436
525
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -445,6 +534,9 @@ module Google
|
|
|
445
534
|
# Project ID of the Cloud SQL project.
|
|
446
535
|
# @!attribute [rw] body
|
|
447
536
|
# @return [::Google::Cloud::Sql::V1::InstancesTruncateLogRequest]
|
|
537
|
+
# @!attribute [rw] location
|
|
538
|
+
# @return [::String]
|
|
539
|
+
# Optional. Region of the Cloud SQL instance.
|
|
448
540
|
class SqlInstancesTruncateLogRequest
|
|
449
541
|
include ::Google::Protobuf::MessageExts
|
|
450
542
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -460,6 +552,9 @@ module Google
|
|
|
460
552
|
# @!attribute [rw] body
|
|
461
553
|
# @return [::Google::Cloud::Sql::V1::PerformDiskShrinkContext]
|
|
462
554
|
# Perform disk shrink context.
|
|
555
|
+
# @!attribute [rw] location
|
|
556
|
+
# @return [::String]
|
|
557
|
+
# Optional. Region of the Cloud SQL instance.
|
|
463
558
|
class SqlInstancesPerformDiskShrinkRequest
|
|
464
559
|
include ::Google::Protobuf::MessageExts
|
|
465
560
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -474,6 +569,9 @@ module Google
|
|
|
474
569
|
# Project ID of the project that contains the instance.
|
|
475
570
|
# @!attribute [rw] body
|
|
476
571
|
# @return [::Google::Cloud::Sql::V1::DatabaseInstance]
|
|
572
|
+
# @!attribute [rw] location
|
|
573
|
+
# @return [::String]
|
|
574
|
+
# Optional. Region of the Cloud SQL instance.
|
|
477
575
|
class SqlInstancesUpdateRequest
|
|
478
576
|
include ::Google::Protobuf::MessageExts
|
|
479
577
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -488,6 +586,9 @@ module Google
|
|
|
488
586
|
# ID of the project that contains the instance.
|
|
489
587
|
# @!attribute [rw] body
|
|
490
588
|
# @return [::Google::Cloud::Sql::V1::SqlInstancesRescheduleMaintenanceRequestBody]
|
|
589
|
+
# @!attribute [rw] location
|
|
590
|
+
# @return [::String]
|
|
591
|
+
# Optional. Region of the Cloud SQL instance.
|
|
491
592
|
class SqlInstancesRescheduleMaintenanceRequest
|
|
492
593
|
include ::Google::Protobuf::MessageExts
|
|
493
594
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -503,6 +604,9 @@ module Google
|
|
|
503
604
|
# @!attribute [rw] body
|
|
504
605
|
# @return [::Google::Cloud::Sql::V1::InstancesReencryptRequest]
|
|
505
606
|
# Reencrypt body that users request
|
|
607
|
+
# @!attribute [rw] location
|
|
608
|
+
# @return [::String]
|
|
609
|
+
# Optional. Region of the Cloud SQL instance.
|
|
506
610
|
class SqlInstancesReencryptRequest
|
|
507
611
|
include ::Google::Protobuf::MessageExts
|
|
508
612
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -557,6 +661,9 @@ module Google
|
|
|
557
661
|
# @!attribute [rw] project
|
|
558
662
|
# @return [::String]
|
|
559
663
|
# Project ID of the project that contains the instance.
|
|
664
|
+
# @!attribute [rw] location
|
|
665
|
+
# @return [::String]
|
|
666
|
+
# Optional. Region of the Cloud SQL instance.
|
|
560
667
|
class SqlInstancesGetDiskShrinkConfigRequest
|
|
561
668
|
include ::Google::Protobuf::MessageExts
|
|
562
669
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -594,6 +701,9 @@ module Google
|
|
|
594
701
|
# @return [::Array<::Google::Cloud::Sql::V1::ExternalSyncSelectedObject>]
|
|
595
702
|
# Optional. Migrate only the specified objects from the source instance. If
|
|
596
703
|
# this field is empty, then migrate all objects.
|
|
704
|
+
# @!attribute [rw] location
|
|
705
|
+
# @return [::String]
|
|
706
|
+
# Optional. Region of the Cloud SQL instance.
|
|
597
707
|
class SqlInstancesVerifyExternalSyncSettingsRequest
|
|
598
708
|
include ::Google::Protobuf::MessageExts
|
|
599
709
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -656,6 +766,9 @@ module Google
|
|
|
656
766
|
# will wipe replica databases overlapping with the proposed selected_objects.
|
|
657
767
|
# If this field is not set and there are both overlapping and additional
|
|
658
768
|
# databases proposed, an error will be returned.
|
|
769
|
+
# @!attribute [rw] location
|
|
770
|
+
# @return [::String]
|
|
771
|
+
# Optional. Region of the Cloud SQL instance.
|
|
659
772
|
class SqlInstancesStartExternalSyncRequest
|
|
660
773
|
include ::Google::Protobuf::MessageExts
|
|
661
774
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -668,6 +781,9 @@ module Google
|
|
|
668
781
|
# @!attribute [rw] project
|
|
669
782
|
# @return [::String]
|
|
670
783
|
# ID of the project that contains the read replica.
|
|
784
|
+
# @!attribute [rw] location
|
|
785
|
+
# @return [::String]
|
|
786
|
+
# Optional. Region of the Cloud SQL instance.
|
|
671
787
|
class SqlInstancesResetReplicaSizeRequest
|
|
672
788
|
include ::Google::Protobuf::MessageExts
|
|
673
789
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -682,6 +798,9 @@ module Google
|
|
|
682
798
|
# Project ID of the Cloud SQL project.
|
|
683
799
|
# @!attribute [rw] body
|
|
684
800
|
# @return [::Google::Cloud::Sql::V1::SslCertsCreateEphemeralRequest]
|
|
801
|
+
# @!attribute [rw] location
|
|
802
|
+
# @return [::String]
|
|
803
|
+
# Optional. Region of the Cloud SQL instance.
|
|
685
804
|
class SqlInstancesCreateEphemeralCertRequest
|
|
686
805
|
include ::Google::Protobuf::MessageExts
|
|
687
806
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -920,6 +1039,9 @@ module Google
|
|
|
920
1039
|
# @return [::Google::Cloud::Sql::V1::InstancesPreCheckMajorVersionUpgradeRequest]
|
|
921
1040
|
# Required. The context for request to perform the pre-check major version
|
|
922
1041
|
# upgrade operation.
|
|
1042
|
+
# @!attribute [rw] location
|
|
1043
|
+
# @return [::String]
|
|
1044
|
+
# Optional. Region of the Cloud SQL instance.
|
|
923
1045
|
class SqlInstancesPreCheckMajorVersionUpgradeRequest
|
|
924
1046
|
include ::Google::Protobuf::MessageExts
|
|
925
1047
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -966,6 +1088,9 @@ module Google
|
|
|
966
1088
|
# @return [::Google::Protobuf::Timestamp]
|
|
967
1089
|
# The timestamp used to identify the time when the source instance is
|
|
968
1090
|
# deleted. If this instance is deleted, then you must set the timestamp.
|
|
1091
|
+
# @!attribute [rw] location
|
|
1092
|
+
# @return [::String]
|
|
1093
|
+
# Optional. Region of the Cloud SQL instance.
|
|
969
1094
|
class SqlInstancesGetLatestRecoveryTimeRequest
|
|
970
1095
|
include ::Google::Protobuf::MessageExts
|
|
971
1096
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1042,7 +1167,7 @@ module Google
|
|
|
1042
1167
|
# @!attribute [rw] destination_network
|
|
1043
1168
|
# @return [::String]
|
|
1044
1169
|
# Optional. The fully qualified URI of the VPC network to which the cloned
|
|
1045
|
-
# instance will be connected via
|
|
1170
|
+
# instance will be connected via private services access for private IP. For
|
|
1046
1171
|
# example:`projects/my-network-project/global/networks/my-network`. This
|
|
1047
1172
|
# field is only required for cross-project cloning.
|
|
1048
1173
|
class CloneContext
|
|
@@ -1338,6 +1463,14 @@ module Google
|
|
|
1338
1463
|
# @!attribute [r] dns_names
|
|
1339
1464
|
# @return [::Array<::Google::Cloud::Sql::V1::DnsNameMapping>]
|
|
1340
1465
|
# Output only. The list of DNS names used by this instance.
|
|
1466
|
+
# @!attribute [rw] database_center_integration_enabled
|
|
1467
|
+
# @return [::Google::Protobuf::BoolValue]
|
|
1468
|
+
# Optional. If true, instance metadata is sent to the Database Center. If
|
|
1469
|
+
# false, instance metadata is not sent to the Database Center.
|
|
1470
|
+
# @!attribute [rw] database_center_integration
|
|
1471
|
+
# @return [::Google::Cloud::Sql::V1::DatabaseInstance::DatabaseCenterIntegration]
|
|
1472
|
+
# Optional. State of the Database Center integration for this instance.
|
|
1473
|
+
# When unspecified, Database Center integration is enabled by default.
|
|
1341
1474
|
class DatabaseInstance
|
|
1342
1475
|
include ::Google::Protobuf::MessageExts
|
|
1343
1476
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1495,6 +1628,19 @@ module Google
|
|
|
1495
1628
|
# The instance uses the old network architecture.
|
|
1496
1629
|
OLD_NETWORK_ARCHITECTURE = 2
|
|
1497
1630
|
end
|
|
1631
|
+
|
|
1632
|
+
# State of the integration with Database Center.
|
|
1633
|
+
module DatabaseCenterIntegration
|
|
1634
|
+
# Default value. The integration state is unspecified. When unspecified,
|
|
1635
|
+
# Database Center integration is enabled by default.
|
|
1636
|
+
DATABASE_CENTER_INTEGRATION_UNSPECIFIED = 0
|
|
1637
|
+
|
|
1638
|
+
# Database Center integration is enabled.
|
|
1639
|
+
ENABLED = 1
|
|
1640
|
+
|
|
1641
|
+
# Database Center integration is disabled.
|
|
1642
|
+
DISABLED = 2
|
|
1643
|
+
end
|
|
1498
1644
|
end
|
|
1499
1645
|
|
|
1500
1646
|
# Gemini instance configuration.
|
|
@@ -2005,6 +2151,10 @@ module Google
|
|
|
2005
2151
|
# @!attribute [rw] ssl_option
|
|
2006
2152
|
# @return [::Google::Cloud::Sql::V1::OnPremisesConfiguration::SslOption]
|
|
2007
2153
|
# Optional. SSL option for replica connection to the on-premises source.
|
|
2154
|
+
# @!attribute [r] dms_managed
|
|
2155
|
+
# @return [::Boolean]
|
|
2156
|
+
# Output only. Indicates whether the resource is managed by Database
|
|
2157
|
+
# Migration Service.
|
|
2008
2158
|
class OnPremisesConfiguration
|
|
2009
2159
|
include ::Google::Protobuf::MessageExts
|
|
2010
2160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2065,6 +2215,9 @@ module Google
|
|
|
2065
2215
|
# @!attribute [rw] body
|
|
2066
2216
|
# @return [::Google::Cloud::Sql::V1::ExecuteSqlPayload]
|
|
2067
2217
|
# The request body.
|
|
2218
|
+
# @!attribute [rw] location
|
|
2219
|
+
# @return [::String]
|
|
2220
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2068
2221
|
class SqlInstancesExecuteSqlRequest
|
|
2069
2222
|
include ::Google::Protobuf::MessageExts
|
|
2070
2223
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2083,11 +2236,25 @@ module Google
|
|
|
2083
2236
|
# @!attribute [rw] database
|
|
2084
2237
|
# @return [::String]
|
|
2085
2238
|
# Optional. Name of the database on which the statement will be executed.
|
|
2239
|
+
# @!attribute [rw] password_secret_version
|
|
2240
|
+
# @return [::String]
|
|
2241
|
+
# Optional. The resource name of the Secret Manager secret holding the
|
|
2242
|
+
# password for the user to log into the database. The secret should be
|
|
2243
|
+
# created using the regional endpoint (for API) or from the Regional
|
|
2244
|
+
# Secrets page (for UI), and stored in the same region as the Cloud SQL
|
|
2245
|
+
# instance. The expected resource name format is
|
|
2246
|
+
# `projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}`.
|
|
2247
|
+
# Used together with the `user` field.
|
|
2248
|
+
# The secret resource name will not be stored.
|
|
2249
|
+
#
|
|
2250
|
+
# Note: The following fields are mutually exclusive: `password_secret_version`, `auto_iam_authn`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
2086
2251
|
# @!attribute [rw] auto_iam_authn
|
|
2087
2252
|
# @return [::Boolean]
|
|
2088
2253
|
# Optional. When set to `true`, the API caller identity associated with the
|
|
2089
2254
|
# request is used for database authentication. The API caller must be an
|
|
2090
2255
|
# IAM user in the database.
|
|
2256
|
+
#
|
|
2257
|
+
# Note: The following fields are mutually exclusive: `auto_iam_authn`, `password_secret_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
2091
2258
|
# @!attribute [rw] row_limit
|
|
2092
2259
|
# @return [::Integer]
|
|
2093
2260
|
# Optional. The maximum number of rows returned per SQL statement.
|
|
@@ -2241,6 +2408,9 @@ module Google
|
|
|
2241
2408
|
# @!attribute [rw] body
|
|
2242
2409
|
# @return [::Google::Cloud::Sql::V1::InstancesAcquireSsrsLeaseRequest]
|
|
2243
2410
|
# Required. The request body.
|
|
2411
|
+
# @!attribute [rw] location
|
|
2412
|
+
# @return [::String]
|
|
2413
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2244
2414
|
class SqlInstancesAcquireSsrsLeaseRequest
|
|
2245
2415
|
include ::Google::Protobuf::MessageExts
|
|
2246
2416
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -2265,6 +2435,9 @@ module Google
|
|
|
2265
2435
|
# @!attribute [rw] project
|
|
2266
2436
|
# @return [::String]
|
|
2267
2437
|
# Required. The project ID that contains the instance.
|
|
2438
|
+
# @!attribute [rw] location
|
|
2439
|
+
# @return [::String]
|
|
2440
|
+
# Optional. Region of the Cloud SQL instance.
|
|
2268
2441
|
class SqlInstancesReleaseSsrsLeaseRequest
|
|
2269
2442
|
include ::Google::Protobuf::MessageExts
|
|
2270
2443
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -28,6 +28,9 @@ module Google
|
|
|
28
28
|
# @!attribute [rw] project
|
|
29
29
|
# @return [::String]
|
|
30
30
|
# Required. Project ID of the project that contains the instance.
|
|
31
|
+
# @!attribute [rw] location
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Optional. Region of the Cloud SQL instance.
|
|
31
34
|
class SqlOperationsGetRequest
|
|
32
35
|
include ::Google::Protobuf::MessageExts
|
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -47,6 +50,9 @@ module Google
|
|
|
47
50
|
# @!attribute [rw] project
|
|
48
51
|
# @return [::String]
|
|
49
52
|
# Project ID of the project that contains the instance.
|
|
53
|
+
# @!attribute [rw] location
|
|
54
|
+
# @return [::String]
|
|
55
|
+
# Optional. Region of the Cloud SQL instance.
|
|
50
56
|
class SqlOperationsListRequest
|
|
51
57
|
include ::Google::Protobuf::MessageExts
|
|
52
58
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -75,6 +81,9 @@ module Google
|
|
|
75
81
|
# @!attribute [rw] project
|
|
76
82
|
# @return [::String]
|
|
77
83
|
# Project ID of the project that contains the instance.
|
|
84
|
+
# @!attribute [rw] location
|
|
85
|
+
# @return [::String]
|
|
86
|
+
# Optional. Region of the Cloud SQL instance.
|
|
78
87
|
class SqlOperationsCancelRequest
|
|
79
88
|
include ::Google::Protobuf::MessageExts
|
|
80
89
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|