google-cloud-sql-v1beta4 0.1.1 → 0.2.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.
@@ -187,6 +187,9 @@ module Google
187
187
  # @!attribute [rw] project
188
188
  # @return [::String]
189
189
  # Project ID of the project that contains the instance.
190
+ # @!attribute [rw] location
191
+ # @return [::String]
192
+ # Optional. Region of the Cloud SQL instance.
190
193
  class SqlDatabasesDeleteRequest
191
194
  include ::Google::Protobuf::MessageExts
192
195
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -201,6 +204,9 @@ module Google
201
204
  # @!attribute [rw] project
202
205
  # @return [::String]
203
206
  # Project ID of the project that contains the instance.
207
+ # @!attribute [rw] location
208
+ # @return [::String]
209
+ # Optional. Region of the Cloud SQL instance.
204
210
  class SqlDatabasesGetRequest
205
211
  include ::Google::Protobuf::MessageExts
206
212
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -214,6 +220,9 @@ module Google
214
220
  # Project ID of the project that contains the instance.
215
221
  # @!attribute [rw] body
216
222
  # @return [::Google::Cloud::Sql::V1beta4::Database]
223
+ # @!attribute [rw] location
224
+ # @return [::String]
225
+ # Optional. Region of the Cloud SQL instance.
217
226
  class SqlDatabasesInsertRequest
218
227
  include ::Google::Protobuf::MessageExts
219
228
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -225,6 +234,9 @@ module Google
225
234
  # @!attribute [rw] project
226
235
  # @return [::String]
227
236
  # Project ID of the project that contains the instance.
237
+ # @!attribute [rw] location
238
+ # @return [::String]
239
+ # Optional. Region of the Cloud SQL instance.
228
240
  class SqlDatabasesListRequest
229
241
  include ::Google::Protobuf::MessageExts
230
242
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -241,6 +253,9 @@ module Google
241
253
  # Project ID of the project that contains the instance.
242
254
  # @!attribute [rw] body
243
255
  # @return [::Google::Cloud::Sql::V1beta4::Database]
256
+ # @!attribute [rw] location
257
+ # @return [::String]
258
+ # Optional. Region of the Cloud SQL instance.
244
259
  class SqlDatabasesUpdateRequest
245
260
  include ::Google::Protobuf::MessageExts
246
261
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -265,6 +280,9 @@ module Google
265
280
  # @!attribute [rw] project
266
281
  # @return [::String]
267
282
  # Project ID of the project that contains the instance.
283
+ # @!attribute [rw] location
284
+ # @return [::String]
285
+ # Optional. Region of the Cloud SQL instance.
268
286
  class SqlInstancesAddServerCaRequest
269
287
  include ::Google::Protobuf::MessageExts
270
288
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -277,6 +295,9 @@ module Google
277
295
  # @!attribute [rw] project
278
296
  # @return [::String]
279
297
  # Required. Project ID of the project that contains the instance.
298
+ # @!attribute [rw] location
299
+ # @return [::String]
300
+ # Optional. Region of the Cloud SQL instance.
280
301
  class SqlInstancesAddServerCertificateRequest
281
302
  include ::Google::Protobuf::MessageExts
282
303
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -289,6 +310,9 @@ module Google
289
310
  # @!attribute [rw] project
290
311
  # @return [::String]
291
312
  # Required. Project ID of the project that contains the instance.
313
+ # @!attribute [rw] location
314
+ # @return [::String]
315
+ # Optional. Region of the Cloud SQL instance.
292
316
  class SqlInstancesAddEntraIdCertificateRequest
293
317
  include ::Google::Protobuf::MessageExts
294
318
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -303,6 +327,9 @@ module Google
303
327
  # Project ID of the source Cloud SQL instance.
304
328
  # @!attribute [rw] body
305
329
  # @return [::Google::Cloud::Sql::V1beta4::InstancesCloneRequest]
330
+ # @!attribute [rw] location
331
+ # @return [::String]
332
+ # Optional. Region of the Cloud SQL instance.
306
333
  class SqlInstancesCloneRequest
307
334
  include ::Google::Protobuf::MessageExts
308
335
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -331,6 +358,9 @@ module Google
331
358
  # @!attribute [rw] final_backup_description
332
359
  # @return [::String]
333
360
  # Optional. The description of the final backup.
361
+ # @!attribute [rw] location
362
+ # @return [::String]
363
+ # Optional. Region of the Cloud SQL instance.
334
364
  class SqlInstancesDeleteRequest
335
365
  include ::Google::Protobuf::MessageExts
336
366
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -344,6 +374,9 @@ module Google
344
374
  # ID of the project that contains the instance.
345
375
  # @!attribute [rw] body
346
376
  # @return [::Google::Cloud::Sql::V1beta4::InstancesDemoteMasterRequest]
377
+ # @!attribute [rw] location
378
+ # @return [::String]
379
+ # Optional. Region of the Cloud SQL instance.
347
380
  class SqlInstancesDemoteMasterRequest
348
381
  include ::Google::Protobuf::MessageExts
349
382
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -359,6 +392,9 @@ module Google
359
392
  # @!attribute [rw] body
360
393
  # @return [::Google::Cloud::Sql::V1beta4::InstancesDemoteRequest]
361
394
  # The request body.
395
+ # @!attribute [rw] location
396
+ # @return [::String]
397
+ # Optional. Region of the Cloud SQL instance.
362
398
  class SqlInstancesDemoteRequest
363
399
  include ::Google::Protobuf::MessageExts
364
400
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -372,6 +408,9 @@ module Google
372
408
  # Project ID of the project that contains the instance to be exported.
373
409
  # @!attribute [rw] body
374
410
  # @return [::Google::Cloud::Sql::V1beta4::InstancesExportRequest]
411
+ # @!attribute [rw] location
412
+ # @return [::String]
413
+ # Optional. Region of the Cloud SQL instance.
375
414
  class SqlInstancesExportRequest
376
415
  include ::Google::Protobuf::MessageExts
377
416
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -385,6 +424,9 @@ module Google
385
424
  # ID of the project that contains the read replica.
386
425
  # @!attribute [rw] body
387
426
  # @return [::Google::Cloud::Sql::V1beta4::InstancesFailoverRequest]
427
+ # @!attribute [rw] location
428
+ # @return [::String]
429
+ # Optional. Region of the Cloud SQL instance.
388
430
  class SqlInstancesFailoverRequest
389
431
  include ::Google::Protobuf::MessageExts
390
432
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -396,6 +438,9 @@ module Google
396
438
  # @!attribute [rw] project
397
439
  # @return [::String]
398
440
  # Project ID of the project that contains the instance.
441
+ # @!attribute [rw] location
442
+ # @return [::String]
443
+ # Optional. Region of the Cloud SQL instance.
399
444
  class SqlInstancesGetRequest
400
445
  include ::Google::Protobuf::MessageExts
401
446
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +454,9 @@ module Google
409
454
  # Project ID of the project that contains the instance.
410
455
  # @!attribute [rw] body
411
456
  # @return [::Google::Cloud::Sql::V1beta4::InstancesImportRequest]
457
+ # @!attribute [rw] location
458
+ # @return [::String]
459
+ # Optional. Region of the Cloud SQL instance.
412
460
  class SqlInstancesImportRequest
413
461
  include ::Google::Protobuf::MessageExts
414
462
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -420,6 +468,9 @@ module Google
420
468
  # should belong.
421
469
  # @!attribute [rw] body
422
470
  # @return [::Google::Cloud::Sql::V1beta4::DatabaseInstance]
471
+ # @!attribute [rw] location
472
+ # @return [::String]
473
+ # Optional. Region of the Cloud SQL instance.
423
474
  class SqlInstancesInsertRequest
424
475
  include ::Google::Protobuf::MessageExts
425
476
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -449,6 +500,9 @@ module Google
449
500
  # @!attribute [rw] project
450
501
  # @return [::String]
451
502
  # Project ID of the project for which to list Cloud SQL instances.
503
+ # @!attribute [rw] location
504
+ # @return [::String]
505
+ # Optional. Region of the Cloud SQL instance.
452
506
  class SqlInstancesListRequest
453
507
  include ::Google::Protobuf::MessageExts
454
508
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -460,6 +514,9 @@ module Google
460
514
  # @!attribute [rw] project
461
515
  # @return [::String]
462
516
  # Project ID of the project that contains the instance.
517
+ # @!attribute [rw] location
518
+ # @return [::String]
519
+ # Optional. Region of the Cloud SQL instance.
463
520
  class SqlInstancesListServerCasRequest
464
521
  include ::Google::Protobuf::MessageExts
465
522
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -471,6 +528,9 @@ module Google
471
528
  # @!attribute [rw] project
472
529
  # @return [::String]
473
530
  # Required. Project ID of the project that contains the instance.
531
+ # @!attribute [rw] location
532
+ # @return [::String]
533
+ # Optional. Region of the Cloud SQL instance.
474
534
  class SqlInstancesListServerCertificatesRequest
475
535
  include ::Google::Protobuf::MessageExts
476
536
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -483,6 +543,9 @@ module Google
483
543
  # @!attribute [rw] project
484
544
  # @return [::String]
485
545
  # Required. Project ID of the project that contains the instance.
546
+ # @!attribute [rw] location
547
+ # @return [::String]
548
+ # Optional. Region of the Cloud SQL instance.
486
549
  class SqlInstancesListEntraIdCertificatesRequest
487
550
  include ::Google::Protobuf::MessageExts
488
551
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -504,6 +567,9 @@ module Google
504
567
  # reconcile the PSC networking.
505
568
  # @!attribute [rw] body
506
569
  # @return [::Google::Cloud::Sql::V1beta4::DatabaseInstance]
570
+ # @!attribute [rw] location
571
+ # @return [::String]
572
+ # Optional. Region of the Cloud SQL instance.
507
573
  class SqlInstancesPatchRequest
508
574
  include ::Google::Protobuf::MessageExts
509
575
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -523,6 +589,9 @@ module Google
523
589
  # DR replica when the original primary instance comes back online.
524
590
  # If set to false or not specified, then the original primary
525
591
  # instance becomes an independent Cloud SQL primary instance.
592
+ # @!attribute [rw] location
593
+ # @return [::String]
594
+ # Optional. Region of the Cloud SQL instance.
526
595
  class SqlInstancesPromoteReplicaRequest
527
596
  include ::Google::Protobuf::MessageExts
528
597
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -540,6 +609,9 @@ module Google
540
609
  # Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations
541
610
  # timeout, which is a sum of all database operations. Default value is 10
542
611
  # minutes and can be modified to a maximum value of 24 hours.
612
+ # @!attribute [rw] location
613
+ # @return [::String]
614
+ # Optional. Region of the Cloud SQL instance.
543
615
  class SqlInstancesSwitchoverRequest
544
616
  include ::Google::Protobuf::MessageExts
545
617
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -554,6 +626,9 @@ module Google
554
626
  # @!attribute [rw] mode
555
627
  # @return [::Google::Cloud::Sql::V1beta4::SqlInstancesResetSslConfigRequest::ResetSslMode]
556
628
  # Optional. Reset SSL mode to use.
629
+ # @!attribute [rw] location
630
+ # @return [::String]
631
+ # Optional. Region of the Cloud SQL instance.
557
632
  class SqlInstancesResetSslConfigRequest
558
633
  include ::Google::Protobuf::MessageExts
559
634
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -579,6 +654,9 @@ module Google
579
654
  # @!attribute [rw] project
580
655
  # @return [::String]
581
656
  # Project ID of the project that contains the instance to be restarted.
657
+ # @!attribute [rw] location
658
+ # @return [::String]
659
+ # Optional. Region of the Cloud SQL instance.
582
660
  class SqlInstancesRestartRequest
583
661
  include ::Google::Protobuf::MessageExts
584
662
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -592,6 +670,9 @@ module Google
592
670
  # Project ID of the project that contains the instance.
593
671
  # @!attribute [rw] body
594
672
  # @return [::Google::Cloud::Sql::V1beta4::InstancesRestoreBackupRequest]
673
+ # @!attribute [rw] location
674
+ # @return [::String]
675
+ # Optional. Region of the Cloud SQL instance.
595
676
  class SqlInstancesRestoreBackupRequest
596
677
  include ::Google::Protobuf::MessageExts
597
678
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -605,6 +686,9 @@ module Google
605
686
  # Project ID of the project that contains the instance.
606
687
  # @!attribute [rw] body
607
688
  # @return [::Google::Cloud::Sql::V1beta4::InstancesRotateServerCaRequest]
689
+ # @!attribute [rw] location
690
+ # @return [::String]
691
+ # Optional. Region of the Cloud SQL instance.
608
692
  class SqlInstancesRotateServerCaRequest
609
693
  include ::Google::Protobuf::MessageExts
610
694
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -619,6 +703,9 @@ module Google
619
703
  # @!attribute [rw] body
620
704
  # @return [::Google::Cloud::Sql::V1beta4::InstancesRotateServerCertificateRequest]
621
705
  # Required. Rotate server certificate request body.
706
+ # @!attribute [rw] location
707
+ # @return [::String]
708
+ # Optional. Region of the Cloud SQL instance.
622
709
  class SqlInstancesRotateServerCertificateRequest
623
710
  include ::Google::Protobuf::MessageExts
624
711
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -634,6 +721,9 @@ module Google
634
721
  # @!attribute [rw] body
635
722
  # @return [::Google::Cloud::Sql::V1beta4::InstancesRotateEntraIdCertificateRequest]
636
723
  # Required. Rotate Entra ID certificate request body.
724
+ # @!attribute [rw] location
725
+ # @return [::String]
726
+ # Optional. Region of the Cloud SQL instance.
637
727
  class SqlInstancesRotateEntraIdCertificateRequest
638
728
  include ::Google::Protobuf::MessageExts
639
729
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -645,6 +735,9 @@ module Google
645
735
  # @!attribute [rw] project
646
736
  # @return [::String]
647
737
  # ID of the project that contains the read replica.
738
+ # @!attribute [rw] location
739
+ # @return [::String]
740
+ # Optional. Region of the Cloud SQL instance.
648
741
  class SqlInstancesStartReplicaRequest
649
742
  include ::Google::Protobuf::MessageExts
650
743
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -656,6 +749,9 @@ module Google
656
749
  # @!attribute [rw] project
657
750
  # @return [::String]
658
751
  # ID of the project that contains the read replica.
752
+ # @!attribute [rw] location
753
+ # @return [::String]
754
+ # Optional. Region of the Cloud SQL instance.
659
755
  class SqlInstancesStopReplicaRequest
660
756
  include ::Google::Protobuf::MessageExts
661
757
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -669,6 +765,9 @@ module Google
669
765
  # Project ID of the Cloud SQL project.
670
766
  # @!attribute [rw] body
671
767
  # @return [::Google::Cloud::Sql::V1beta4::InstancesTruncateLogRequest]
768
+ # @!attribute [rw] location
769
+ # @return [::String]
770
+ # Optional. Region of the Cloud SQL instance.
672
771
  class SqlInstancesTruncateLogRequest
673
772
  include ::Google::Protobuf::MessageExts
674
773
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -682,6 +781,9 @@ module Google
682
781
  # Project ID of the project that contains the instance.
683
782
  # @!attribute [rw] body
684
783
  # @return [::Google::Cloud::Sql::V1beta4::DatabaseInstance]
784
+ # @!attribute [rw] location
785
+ # @return [::String]
786
+ # Optional. Region of the Cloud SQL instance.
685
787
  class SqlInstancesUpdateRequest
686
788
  include ::Google::Protobuf::MessageExts
687
789
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -697,6 +799,9 @@ module Google
697
799
  # @!attribute [rw] body
698
800
  # @return [::Google::Cloud::Sql::V1beta4::InstancesReencryptRequest]
699
801
  # Reencrypt body that users request
802
+ # @!attribute [rw] location
803
+ # @return [::String]
804
+ # Optional. Region of the Cloud SQL instance.
700
805
  class SqlInstancesReencryptRequest
701
806
  include ::Google::Protobuf::MessageExts
702
807
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -743,6 +848,9 @@ module Google
743
848
  # ID of the project that contains the instance.
744
849
  # @!attribute [rw] body
745
850
  # @return [::Google::Cloud::Sql::V1beta4::SqlInstancesRescheduleMaintenanceRequestBody]
851
+ # @!attribute [rw] location
852
+ # @return [::String]
853
+ # Optional. Region of the Cloud SQL instance.
746
854
  class SqlInstancesRescheduleMaintenanceRequest
747
855
  include ::Google::Protobuf::MessageExts
748
856
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -758,6 +866,9 @@ module Google
758
866
  # @!attribute [rw] body
759
867
  # @return [::Google::Cloud::Sql::V1beta4::PerformDiskShrinkContext]
760
868
  # Perform disk shrink context.
869
+ # @!attribute [rw] location
870
+ # @return [::String]
871
+ # Optional. Region of the Cloud SQL instance.
761
872
  class SqlInstancesPerformDiskShrinkRequest
762
873
  include ::Google::Protobuf::MessageExts
763
874
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -803,6 +914,9 @@ module Google
803
914
  # @return [::Array<::Google::Cloud::Sql::V1beta4::ExternalSyncSelectedObject>]
804
915
  # Optional. Migrate only the specified objects from the source instance. If
805
916
  # this field is empty, then migrate all objects.
917
+ # @!attribute [rw] location
918
+ # @return [::String]
919
+ # Optional. Region of the Cloud SQL instance.
806
920
  class SqlInstancesVerifyExternalSyncSettingsRequest
807
921
  include ::Google::Protobuf::MessageExts
808
922
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -864,6 +978,9 @@ module Google
864
978
  # will wipe replica databases overlapping with the proposed selected_objects.
865
979
  # If this field is not set and there are both overlapping and additional
866
980
  # databases proposed, an error will be returned.
981
+ # @!attribute [rw] location
982
+ # @return [::String]
983
+ # Optional. Region of the Cloud SQL instance.
867
984
  class SqlInstancesStartExternalSyncRequest
868
985
  include ::Google::Protobuf::MessageExts
869
986
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -876,6 +993,9 @@ module Google
876
993
  # @!attribute [rw] project
877
994
  # @return [::String]
878
995
  # ID of the project that contains the read replica.
996
+ # @!attribute [rw] location
997
+ # @return [::String]
998
+ # Optional. Region of the Cloud SQL instance.
879
999
  class SqlInstancesResetReplicaSizeRequest
880
1000
  include ::Google::Protobuf::MessageExts
881
1001
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -939,6 +1059,9 @@ module Google
939
1059
  # Project ID of the Cloud SQL project.
940
1060
  # @!attribute [rw] body
941
1061
  # @return [::Google::Cloud::Sql::V1beta4::SslCertsCreateEphemeralRequest]
1062
+ # @!attribute [rw] location
1063
+ # @return [::String]
1064
+ # Optional. Region of the Cloud SQL instance.
942
1065
  class SqlInstancesCreateEphemeralCertRequest
943
1066
  include ::Google::Protobuf::MessageExts
944
1067
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1003,6 +1126,9 @@ module Google
1003
1126
  # @!attribute [rw] project
1004
1127
  # @return [::String]
1005
1128
  # Project ID of the project that contains the instance.
1129
+ # @!attribute [rw] location
1130
+ # @return [::String]
1131
+ # Optional. Region of the Cloud SQL instance.
1006
1132
  class SqlInstancesGetDiskShrinkConfigRequest
1007
1133
  include ::Google::Protobuf::MessageExts
1008
1134
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1019,6 +1145,9 @@ module Google
1019
1145
  # @return [::Google::Protobuf::Timestamp]
1020
1146
  # The timestamp used to identify the time when the source instance is
1021
1147
  # deleted. If this instance is deleted, then you must set the timestamp.
1148
+ # @!attribute [rw] location
1149
+ # @return [::String]
1150
+ # Optional. Region of the Cloud SQL instance.
1022
1151
  class SqlInstancesGetLatestRecoveryTimeRequest
1023
1152
  include ::Google::Protobuf::MessageExts
1024
1153
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1049,6 +1178,9 @@ module Google
1049
1178
  # @!attribute [rw] body
1050
1179
  # @return [::Google::Cloud::Sql::V1beta4::ExecuteSqlPayload]
1051
1180
  # The request body.
1181
+ # @!attribute [rw] location
1182
+ # @return [::String]
1183
+ # Optional. Region of the Cloud SQL instance.
1052
1184
  class SqlInstancesExecuteSqlRequest
1053
1185
  include ::Google::Protobuf::MessageExts
1054
1186
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1065,6 +1197,9 @@ module Google
1065
1197
  # @return [::String]
1066
1198
  # Required. The ID of the project that contains the instance (Example:
1067
1199
  # project-id).
1200
+ # @!attribute [rw] location
1201
+ # @return [::String]
1202
+ # Optional. Region of the Cloud SQL instance.
1068
1203
  class SqlInstancesReleaseSsrsLeaseRequest
1069
1204
  include ::Google::Protobuf::MessageExts
1070
1205
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1264,6 +1399,9 @@ module Google
1264
1399
  # @!attribute [rw] body
1265
1400
  # @return [::Google::Cloud::Sql::V1beta4::InstancesAcquireSsrsLeaseRequest]
1266
1401
  # The body for request to acquire an SSRS lease.
1402
+ # @!attribute [rw] location
1403
+ # @return [::String]
1404
+ # Optional. Region of the Cloud SQL instance.
1267
1405
  class SqlInstancesAcquireSsrsLeaseRequest
1268
1406
  include ::Google::Protobuf::MessageExts
1269
1407
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1280,6 +1418,9 @@ module Google
1280
1418
  # @return [::Google::Cloud::Sql::V1beta4::InstancesPreCheckMajorVersionUpgradeRequest]
1281
1419
  # Required. The context for request to perform the pre-check major version
1282
1420
  # upgrade operation.
1421
+ # @!attribute [rw] location
1422
+ # @return [::String]
1423
+ # Optional. Region of the Cloud SQL instance.
1283
1424
  class SqlInstancesPreCheckMajorVersionUpgradeRequest
1284
1425
  include ::Google::Protobuf::MessageExts
1285
1426
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -834,6 +834,10 @@ module Google
834
834
  # @return [::Google::Protobuf::BoolValue]
835
835
  # Optional. If true, instance metadata is sent to the Database Center. If
836
836
  # false, instance metadata is not sent to the Database Center.
837
+ # @!attribute [rw] database_center_integration
838
+ # @return [::Google::Cloud::Sql::V1beta4::DatabaseInstance::DatabaseCenterIntegration]
839
+ # Optional. State of the Database Center integration for this instance.
840
+ # When unspecified, Database Center integration is enabled by default.
837
841
  class DatabaseInstance
838
842
  include ::Google::Protobuf::MessageExts
839
843
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -991,6 +995,19 @@ module Google
991
995
  # The instance uses the old network architecture.
992
996
  OLD_NETWORK_ARCHITECTURE = 2
993
997
  end
998
+
999
+ # State of the integration with Database Center.
1000
+ module DatabaseCenterIntegration
1001
+ # Default value. The integration state is unspecified. When unspecified,
1002
+ # Database Center integration is enabled by default.
1003
+ DATABASE_CENTER_INTEGRATION_UNSPECIFIED = 0
1004
+
1005
+ # Database Center integration is enabled.
1006
+ ENABLED = 1
1007
+
1008
+ # Database Center integration is disabled.
1009
+ DISABLED = 2
1010
+ end
994
1011
  end
995
1012
 
996
1013
  # DNS metadata.
@@ -33,6 +33,9 @@ module Google
33
33
  # @!attribute [rw] project
34
34
  # @return [::String]
35
35
  # Project ID of the project that contains the instance.
36
+ # @!attribute [rw] location
37
+ # @return [::String]
38
+ # Optional. Region of the Cloud SQL instance.
36
39
  class SqlUsersDeleteRequest
37
40
  include ::Google::Protobuf::MessageExts
38
41
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -51,6 +54,9 @@ module Google
51
54
  # @!attribute [rw] host
52
55
  # @return [::String]
53
56
  # Host of a user of the instance.
57
+ # @!attribute [rw] location
58
+ # @return [::String]
59
+ # Optional. Region of the Cloud SQL instance.
54
60
  class SqlUsersGetRequest
55
61
  include ::Google::Protobuf::MessageExts
56
62
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -64,6 +70,9 @@ module Google
64
70
  # Project ID of the project that contains the instance.
65
71
  # @!attribute [rw] body
66
72
  # @return [::Google::Cloud::Sql::V1beta4::User]
73
+ # @!attribute [rw] location
74
+ # @return [::String]
75
+ # Optional. Region of the Cloud SQL instance.
67
76
  class SqlUsersInsertRequest
68
77
  include ::Google::Protobuf::MessageExts
69
78
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -75,6 +84,9 @@ module Google
75
84
  # @!attribute [rw] project
76
85
  # @return [::String]
77
86
  # Project ID of the project that contains the instance.
87
+ # @!attribute [rw] location
88
+ # @return [::String]
89
+ # Optional. Region of the Cloud SQL instance.
78
90
  class SqlUsersListRequest
79
91
  include ::Google::Protobuf::MessageExts
80
92
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -113,6 +125,9 @@ module Google
113
125
  # specified in `server_roles` are added to the user's existing server roles.
114
126
  # @!attribute [rw] body
115
127
  # @return [::Google::Cloud::Sql::V1beta4::User]
128
+ # @!attribute [rw] location
129
+ # @return [::String]
130
+ # Optional. Region of the Cloud SQL instance.
116
131
  class SqlUsersUpdateRequest
117
132
  include ::Google::Protobuf::MessageExts
118
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -110,14 +110,15 @@ module Google
110
110
  # ) to obtain a formatter capable of generating timestamps in this format.
111
111
  # @!attribute [rw] seconds
112
112
  # @return [::Integer]
113
- # Represents seconds of UTC time since Unix epoch
114
- # 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
115
- # 9999-12-31T23:59:59Z inclusive.
113
+ # Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
114
+ # be between -315576000000 and 315576000000 inclusive (which corresponds to
115
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
116
116
  # @!attribute [rw] nanos
117
117
  # @return [::Integer]
118
- # Non-negative fractions of a second at nanosecond resolution. Negative
119
- # second values with fractions must still have non-negative nanos values
120
- # that count forward in time. Must be from 0 to 999,999,999
118
+ # Non-negative fractions of a second at nanosecond resolution. This field is
119
+ # the nanosecond portion of the duration, not an alternative to seconds.
120
+ # Negative second values with fractions must still have non-negative nanos
121
+ # values that count forward in time. Must be between 0 and 999,999,999
121
122
  # inclusive.
122
123
  class Timestamp
123
124
  include ::Google::Protobuf::MessageExts
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-sql-v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -51,7 +51,7 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.0'
54
- description: Cloud SQL Admin API. Note that google-cloud-sql-v1beta4 is a version-specific
54
+ description: Cloud SQL Admin API Note that google-cloud-sql-v1beta4 is a version-specific
55
55
  client library. For most uses, we recommend installing the main client library google-cloud-sql
56
56
  instead. See the readme for more details.
57
57
  email: googleapis-packages@google.com
@@ -152,6 +152,7 @@ files:
152
152
  - proto_docs/google/api/field_info.rb
153
153
  - proto_docs/google/api/launch_stage.rb
154
154
  - proto_docs/google/api/resource.rb
155
+ - proto_docs/google/api/routing.rb
155
156
  - proto_docs/google/cloud/sql/v1beta4/cloud_sql.rb
156
157
  - proto_docs/google/cloud/sql/v1beta4/cloud_sql_connect.rb
157
158
  - proto_docs/google/cloud/sql/v1beta4/cloud_sql_data.rb
@@ -186,5 +187,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
186
187
  requirements: []
187
188
  rubygems_version: 3.6.9
188
189
  specification_version: 4
189
- summary: Cloud SQL Admin API.
190
+ summary: Cloud SQL Admin API
190
191
  test_files: []