google-apis-sqladmin_v1 0.54.0 → 0.56.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86bb5699eec6a08fa628ec7723424bfa4629c2b6353cc988bf35bba8a7efd3e5
4
- data.tar.gz: ad61f5ac36993cddc0fd76d9cbc64d5b68d96472c21bc09910c9ad1559de0f35
3
+ metadata.gz: c0bcc7df6c85ee79128cbf93aaf306b8236ae2f095b741b84cd085d6bedc3dd5
4
+ data.tar.gz: 979b4b1418357db3d1abb4b9da7889f61151e56aca72ef3485a9235ae1537179
5
5
  SHA512:
6
- metadata.gz: 66bebaa85e657a5e89bafee73c1175fc7472abec3cd4b6ee8a6da607812a6aece328aa38005ef670f83f3cf097f9fdc1bdf9c00fc0721dc393ee751a53292db2
7
- data.tar.gz: 84c49151903688a9c481bb79e08034eb9d2a31a8093c0968f5da78392ac68c95e576060401ec953272d34b74fdfe47254a04b2691a2925036c61cac3c60dfd40
6
+ metadata.gz: 1cbbb34479db278de3b263d78f23e0f68570c57ee27696f3990c55e8565213acb4a4ed07c1d2c098fefea19f3863cb1c0d3698727c9e2da5787f3ac99c3f66b4
7
+ data.tar.gz: 48a1ff2aff0e4eb12e3730677f45f17bd2c0832541a41e97fc5ae43f5416b85ab313c50e425b8979d6facd8af3a269d38690af1d79d5f0d33d0ed7d3b416ee53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.56.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240317
6
+
7
+ ### v0.55.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240304
10
+
3
11
  ### v0.54.0 (2024-02-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20240211
@@ -60,6 +60,45 @@ module Google
60
60
  end
61
61
  end
62
62
 
63
+ # Acquire SSRS lease context.
64
+ class AcquireSsrsLeaseContext
65
+ include Google::Apis::Core::Hashable
66
+
67
+ # Lease duration needed for SSRS setup.
68
+ # Corresponds to the JSON property `duration`
69
+ # @return [String]
70
+ attr_accessor :duration
71
+
72
+ # The report database to be used for SSRS setup.
73
+ # Corresponds to the JSON property `reportDatabase`
74
+ # @return [String]
75
+ attr_accessor :report_database
76
+
77
+ # The username to be used as the service login to connect to the report database
78
+ # for SSRS setup.
79
+ # Corresponds to the JSON property `serviceLogin`
80
+ # @return [String]
81
+ attr_accessor :service_login
82
+
83
+ # The username to be used as the setup login to connect to the database server
84
+ # for SSRS setup.
85
+ # Corresponds to the JSON property `setupLogin`
86
+ # @return [String]
87
+ attr_accessor :setup_login
88
+
89
+ def initialize(**args)
90
+ update!(**args)
91
+ end
92
+
93
+ # Update properties of this object
94
+ def update!(**args)
95
+ @duration = args[:duration] if args.key?(:duration)
96
+ @report_database = args[:report_database] if args.key?(:report_database)
97
+ @service_login = args[:service_login] if args.key?(:service_login)
98
+ @setup_login = args[:setup_login] if args.key?(:setup_login)
99
+ end
100
+ end
101
+
63
102
  # Specifies options for controlling advanced machine features.
64
103
  class AdvancedMachineFeatures
65
104
  include Google::Apis::Core::Hashable
@@ -167,6 +206,12 @@ module Google
167
206
  # @return [Fixnum]
168
207
  attr_accessor :transaction_log_retention_days
169
208
 
209
+ # Output only. This value contains the storage location of transactional logs
210
+ # for the database for point-in-time recovery.
211
+ # Corresponds to the JSON property `transactionalLogStorageState`
212
+ # @return [String]
213
+ attr_accessor :transactional_log_storage_state
214
+
170
215
  def initialize(**args)
171
216
  update!(**args)
172
217
  end
@@ -182,6 +227,7 @@ module Google
182
227
  @replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
183
228
  @start_time = args[:start_time] if args.key?(:start_time)
184
229
  @transaction_log_retention_days = args[:transaction_log_retention_days] if args.key?(:transaction_log_retention_days)
230
+ @transactional_log_storage_state = args[:transactional_log_storage_state] if args.key?(:transactional_log_storage_state)
185
231
  end
186
232
  end
187
233
 
@@ -793,6 +839,11 @@ module Google
793
839
  # @return [String]
794
840
  attr_accessor :gce_zone
795
841
 
842
+ # Gemini configuration.
843
+ # Corresponds to the JSON property `geminiConfig`
844
+ # @return [Google::Apis::SqladminV1::GeminiInstanceConfig]
845
+ attr_accessor :gemini_config
846
+
796
847
  # The instance type.
797
848
  # Corresponds to the JSON property `instanceType`
798
849
  # @return [String]
@@ -878,6 +929,11 @@ module Google
878
929
  # @return [Array<String>]
879
930
  attr_accessor :replica_names
880
931
 
932
+ # Primary-DR replica pair
933
+ # Corresponds to the JSON property `replicationCluster`
934
+ # @return [Google::Apis::SqladminV1::ReplicationCluster]
935
+ attr_accessor :replication_cluster
936
+
881
937
  # Initial root password. Use only on creation. You must set root passwords
882
938
  # before you can connect to PostgreSQL instances.
883
939
  # Corresponds to the JSON property `rootPassword`
@@ -963,6 +1019,7 @@ module Google
963
1019
  @etag = args[:etag] if args.key?(:etag)
964
1020
  @failover_replica = args[:failover_replica] if args.key?(:failover_replica)
965
1021
  @gce_zone = args[:gce_zone] if args.key?(:gce_zone)
1022
+ @gemini_config = args[:gemini_config] if args.key?(:gemini_config)
966
1023
  @instance_type = args[:instance_type] if args.key?(:instance_type)
967
1024
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
968
1025
  @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
@@ -979,6 +1036,7 @@ module Google
979
1036
  @region = args[:region] if args.key?(:region)
980
1037
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
981
1038
  @replica_names = args[:replica_names] if args.key?(:replica_names)
1039
+ @replication_cluster = args[:replication_cluster] if args.key?(:replication_cluster)
982
1040
  @root_password = args[:root_password] if args.key?(:root_password)
983
1041
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
984
1042
  @scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
@@ -1683,6 +1741,61 @@ module Google
1683
1741
  end
1684
1742
  end
1685
1743
 
1744
+ # Gemini configuration.
1745
+ class GeminiInstanceConfig
1746
+ include Google::Apis::Core::Hashable
1747
+
1748
+ # Output only. Whether active query is enabled.
1749
+ # Corresponds to the JSON property `activeQueryEnabled`
1750
+ # @return [Boolean]
1751
+ attr_accessor :active_query_enabled
1752
+ alias_method :active_query_enabled?, :active_query_enabled
1753
+
1754
+ # Output only. Whether gemini is enabled.
1755
+ # Corresponds to the JSON property `entitled`
1756
+ # @return [Boolean]
1757
+ attr_accessor :entitled
1758
+ alias_method :entitled?, :entitled
1759
+
1760
+ # Output only. Whether flag recommender is enabled.
1761
+ # Corresponds to the JSON property `flagRecommenderEnabled`
1762
+ # @return [Boolean]
1763
+ attr_accessor :flag_recommender_enabled
1764
+ alias_method :flag_recommender_enabled?, :flag_recommender_enabled
1765
+
1766
+ # Output only. Whether vacuum management is enabled.
1767
+ # Corresponds to the JSON property `googleVacuumMgmtEnabled`
1768
+ # @return [Boolean]
1769
+ attr_accessor :google_vacuum_mgmt_enabled
1770
+ alias_method :google_vacuum_mgmt_enabled?, :google_vacuum_mgmt_enabled
1771
+
1772
+ # Output only. Whether index advisor is enabled.
1773
+ # Corresponds to the JSON property `indexAdvisorEnabled`
1774
+ # @return [Boolean]
1775
+ attr_accessor :index_advisor_enabled
1776
+ alias_method :index_advisor_enabled?, :index_advisor_enabled
1777
+
1778
+ # Output only. Whether oom session cancel is enabled.
1779
+ # Corresponds to the JSON property `oomSessionCancelEnabled`
1780
+ # @return [Boolean]
1781
+ attr_accessor :oom_session_cancel_enabled
1782
+ alias_method :oom_session_cancel_enabled?, :oom_session_cancel_enabled
1783
+
1784
+ def initialize(**args)
1785
+ update!(**args)
1786
+ end
1787
+
1788
+ # Update properties of this object
1789
+ def update!(**args)
1790
+ @active_query_enabled = args[:active_query_enabled] if args.key?(:active_query_enabled)
1791
+ @entitled = args[:entitled] if args.key?(:entitled)
1792
+ @flag_recommender_enabled = args[:flag_recommender_enabled] if args.key?(:flag_recommender_enabled)
1793
+ @google_vacuum_mgmt_enabled = args[:google_vacuum_mgmt_enabled] if args.key?(:google_vacuum_mgmt_enabled)
1794
+ @index_advisor_enabled = args[:index_advisor_enabled] if args.key?(:index_advisor_enabled)
1795
+ @oom_session_cancel_enabled = args[:oom_session_cancel_enabled] if args.key?(:oom_session_cancel_enabled)
1796
+ end
1797
+ end
1798
+
1686
1799
  # Ephemeral certificate creation request.
1687
1800
  class GenerateEphemeralCertRequest
1688
1801
  include Google::Apis::Core::Hashable
@@ -2041,6 +2154,25 @@ module Google
2041
2154
  end
2042
2155
  end
2043
2156
 
2157
+ # Request to acquire a lease for SSRS.
2158
+ class InstancesAcquireSsrsLeaseRequest
2159
+ include Google::Apis::Core::Hashable
2160
+
2161
+ # Acquire SSRS lease context.
2162
+ # Corresponds to the JSON property `acquireSsrsLeaseContext`
2163
+ # @return [Google::Apis::SqladminV1::AcquireSsrsLeaseContext]
2164
+ attr_accessor :acquire_ssrs_lease_context
2165
+
2166
+ def initialize(**args)
2167
+ update!(**args)
2168
+ end
2169
+
2170
+ # Update properties of this object
2171
+ def update!(**args)
2172
+ @acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
2173
+ end
2174
+ end
2175
+
2044
2176
  # Database instance clone request.
2045
2177
  class InstancesCloneRequest
2046
2178
  include Google::Apis::Core::Hashable
@@ -2693,6 +2825,11 @@ module Google
2693
2825
  class Operation
2694
2826
  include Google::Apis::Core::Hashable
2695
2827
 
2828
+ # Acquire SSRS lease context.
2829
+ # Corresponds to the JSON property `acquireSsrsLeaseContext`
2830
+ # @return [Google::Apis::SqladminV1::AcquireSsrsLeaseContext]
2831
+ attr_accessor :acquire_ssrs_lease_context
2832
+
2696
2833
  # An Admin API warning message.
2697
2834
  # Corresponds to the JSON property `apiWarning`
2698
2835
  # @return [Google::Apis::SqladminV1::ApiWarning]
@@ -2791,6 +2928,7 @@ module Google
2791
2928
 
2792
2929
  # Update properties of this object
2793
2930
  def update!(**args)
2931
+ @acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
2794
2932
  @api_warning = args[:api_warning] if args.key?(:api_warning)
2795
2933
  @backup_context = args[:backup_context] if args.key?(:backup_context)
2796
2934
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -3136,6 +3274,37 @@ module Google
3136
3274
  end
3137
3275
  end
3138
3276
 
3277
+ # Primary-DR replica pair
3278
+ class ReplicationCluster
3279
+ include Google::Apis::Core::Hashable
3280
+
3281
+ # Output only. read-only field that indicates if the replica is a dr_replica;
3282
+ # not set for a primary.
3283
+ # Corresponds to the JSON property `drReplica`
3284
+ # @return [Boolean]
3285
+ attr_accessor :dr_replica
3286
+ alias_method :dr_replica?, :dr_replica
3287
+
3288
+ # Optional. If the instance is a primary instance, then this field identifies
3289
+ # the disaster recovery (DR) replica. A DR replica is an optional configuration
3290
+ # for Enterprise Plus edition instances. If the instance is a read replica, then
3291
+ # the field is not set. Users can set this field to set a designated DR replica
3292
+ # for a primary. Removing this field removes the DR replica.
3293
+ # Corresponds to the JSON property `failoverDrReplicaName`
3294
+ # @return [String]
3295
+ attr_accessor :failover_dr_replica_name
3296
+
3297
+ def initialize(**args)
3298
+ update!(**args)
3299
+ end
3300
+
3301
+ # Update properties of this object
3302
+ def update!(**args)
3303
+ @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3304
+ @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3305
+ end
3306
+ end
3307
+
3139
3308
  #
3140
3309
  class Reschedule
3141
3310
  include Google::Apis::Core::Hashable
@@ -3338,6 +3507,15 @@ module Google
3338
3507
  # @return [String]
3339
3508
  attr_accessor :edition
3340
3509
 
3510
+ # Optional. When this parameter is set to true, Cloud SQL instances can connect
3511
+ # to Vertex AI to pass requests for real-time predictions and insights to the AI.
3512
+ # The default value is false. This applies only to Cloud SQL for PostgreSQL
3513
+ # instances.
3514
+ # Corresponds to the JSON property `enableGoogleMlIntegration`
3515
+ # @return [Boolean]
3516
+ attr_accessor :enable_google_ml_integration
3517
+ alias_method :enable_google_ml_integration?, :enable_google_ml_integration
3518
+
3341
3519
  # Insights configuration. This specifies when Cloud SQL Insights feature is
3342
3520
  # enabled and optional configuration.
3343
3521
  # Corresponds to the JSON property `insightsConfig`
@@ -3451,6 +3629,7 @@ module Google
3451
3629
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
3452
3630
  @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
3453
3631
  @edition = args[:edition] if args.key?(:edition)
3632
+ @enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
3454
3633
  @insights_config = args[:insights_config] if args.key?(:insights_config)
3455
3634
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
3456
3635
  @kind = args[:kind] if args.key?(:kind)
@@ -3525,6 +3704,25 @@ module Google
3525
3704
  end
3526
3705
  end
3527
3706
 
3707
+ # Response for the acquire SSRS lease request.
3708
+ class SqlInstancesAcquireSsrsLeaseResponse
3709
+ include Google::Apis::Core::Hashable
3710
+
3711
+ # The unique identifier for this operation.
3712
+ # Corresponds to the JSON property `operationId`
3713
+ # @return [String]
3714
+ attr_accessor :operation_id
3715
+
3716
+ def initialize(**args)
3717
+ update!(**args)
3718
+ end
3719
+
3720
+ # Update properties of this object
3721
+ def update!(**args)
3722
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
3723
+ end
3724
+ end
3725
+
3528
3726
  # Instance get disk shrink config response.
3529
3727
  class SqlInstancesGetDiskShrinkConfigResponse
3530
3728
  include Google::Apis::Core::Hashable
@@ -3581,6 +3779,25 @@ module Google
3581
3779
  end
3582
3780
  end
3583
3781
 
3782
+ # Response for the release SSRS lease request.
3783
+ class SqlInstancesReleaseSsrsLeaseResponse
3784
+ include Google::Apis::Core::Hashable
3785
+
3786
+ # The unique identifier for this operation.
3787
+ # Corresponds to the JSON property `operationId`
3788
+ # @return [String]
3789
+ attr_accessor :operation_id
3790
+
3791
+ def initialize(**args)
3792
+ update!(**args)
3793
+ end
3794
+
3795
+ # Update properties of this object
3796
+ def update!(**args)
3797
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
3798
+ end
3799
+ end
3800
+
3584
3801
  # Reschedule options for maintenance windows.
3585
3802
  class SqlInstancesRescheduleMaintenanceRequestBody
3586
3803
  include Google::Apis::Core::Hashable
@@ -3617,6 +3834,12 @@ module Google
3617
3834
  class SqlInstancesStartExternalSyncRequest
3618
3835
  include Google::Apis::Core::Hashable
3619
3836
 
3837
+ # Optional. MigrationType decides if the migration is a physical file based
3838
+ # migration or logical migration.
3839
+ # Corresponds to the JSON property `migrationType`
3840
+ # @return [String]
3841
+ attr_accessor :migration_type
3842
+
3620
3843
  # MySQL-specific external server sync settings.
3621
3844
  # Corresponds to the JSON property `mysqlSyncConfig`
3622
3845
  # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
@@ -3645,6 +3868,7 @@ module Google
3645
3868
 
3646
3869
  # Update properties of this object
3647
3870
  def update!(**args)
3871
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3648
3872
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3649
3873
  @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
3650
3874
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
@@ -3656,6 +3880,12 @@ module Google
3656
3880
  class SqlInstancesVerifyExternalSyncSettingsRequest
3657
3881
  include Google::Apis::Core::Hashable
3658
3882
 
3883
+ # Optional. MigrationType decides if the migration is a physical file based
3884
+ # migration or logical migration
3885
+ # Corresponds to the JSON property `migrationType`
3886
+ # @return [String]
3887
+ attr_accessor :migration_type
3888
+
3659
3889
  # MySQL-specific external server sync settings.
3660
3890
  # Corresponds to the JSON property `mysqlSyncConfig`
3661
3891
  # @return [Google::Apis::SqladminV1::MySqlSyncConfig]
@@ -3666,6 +3896,12 @@ module Google
3666
3896
  # @return [String]
3667
3897
  attr_accessor :sync_mode
3668
3898
 
3899
+ # Optional. Parallel level for initial data sync. Currently only applicable for
3900
+ # PostgreSQL.
3901
+ # Corresponds to the JSON property `syncParallelLevel`
3902
+ # @return [String]
3903
+ attr_accessor :sync_parallel_level
3904
+
3669
3905
  # Flag to enable verifying connection only
3670
3906
  # Corresponds to the JSON property `verifyConnectionOnly`
3671
3907
  # @return [Boolean]
@@ -3684,8 +3920,10 @@ module Google
3684
3920
 
3685
3921
  # Update properties of this object
3686
3922
  def update!(**args)
3923
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3687
3924
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3688
3925
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
3926
+ @sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
3689
3927
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
3690
3928
  @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
3691
3929
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1
18
18
  # Version of the google-apis-sqladmin_v1 gem
19
- GEM_VERSION = "0.54.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240211"
25
+ REVISION = "20240317"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AcquireSsrsLeaseContext
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AdvancedMachineFeatures
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class GeminiInstanceConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class GenerateEphemeralCertRequest
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -274,6 +286,12 @@ module Google
274
286
  include Google::Apis::Core::JsonObjectSupport
275
287
  end
276
288
 
289
+ class InstancesAcquireSsrsLeaseRequest
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
277
295
  class InstancesCloneRequest
278
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
297
 
@@ -448,6 +466,12 @@ module Google
448
466
  include Google::Apis::Core::JsonObjectSupport
449
467
  end
450
468
 
469
+ class ReplicationCluster
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
451
475
  class Reschedule
452
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
453
477
 
@@ -484,6 +508,12 @@ module Google
484
508
  include Google::Apis::Core::JsonObjectSupport
485
509
  end
486
510
 
511
+ class SqlInstancesAcquireSsrsLeaseResponse
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
487
517
  class SqlInstancesGetDiskShrinkConfigResponse
488
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
519
 
@@ -496,6 +526,12 @@ module Google
496
526
  include Google::Apis::Core::JsonObjectSupport
497
527
  end
498
528
 
529
+ class SqlInstancesReleaseSsrsLeaseResponse
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
499
535
  class SqlInstancesRescheduleMaintenanceRequestBody
500
536
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
537
 
@@ -644,6 +680,16 @@ module Google
644
680
  end
645
681
  end
646
682
 
683
+ class AcquireSsrsLeaseContext
684
+ # @private
685
+ class Representation < Google::Apis::Core::JsonRepresentation
686
+ property :duration, as: 'duration'
687
+ property :report_database, as: 'reportDatabase'
688
+ property :service_login, as: 'serviceLogin'
689
+ property :setup_login, as: 'setupLogin'
690
+ end
691
+ end
692
+
647
693
  class AdvancedMachineFeatures
648
694
  # @private
649
695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -673,6 +719,7 @@ module Google
673
719
  property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
674
720
  property :start_time, as: 'startTime'
675
721
  property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
722
+ property :transactional_log_storage_state, as: 'transactionalLogStorageState'
676
723
  end
677
724
  end
678
725
 
@@ -826,6 +873,8 @@ module Google
826
873
  property :failover_replica, as: 'failoverReplica', class: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1::DatabaseInstance::FailoverReplica::Representation
827
874
 
828
875
  property :gce_zone, as: 'gceZone'
876
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::SqladminV1::GeminiInstanceConfig, decorator: Google::Apis::SqladminV1::GeminiInstanceConfig::Representation
877
+
829
878
  property :instance_type, as: 'instanceType'
830
879
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
831
880
 
@@ -846,6 +895,8 @@ module Google
846
895
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1::ReplicaConfiguration, decorator: Google::Apis::SqladminV1::ReplicaConfiguration::Representation
847
896
 
848
897
  collection :replica_names, as: 'replicaNames'
898
+ property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1::ReplicationCluster, decorator: Google::Apis::SqladminV1::ReplicationCluster::Representation
899
+
849
900
  property :root_password, as: 'rootPassword'
850
901
  property :satisfies_pzs, as: 'satisfiesPzs'
851
902
  property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1::SqlScheduledMaintenance::Representation
@@ -1044,6 +1095,18 @@ module Google
1044
1095
  end
1045
1096
  end
1046
1097
 
1098
+ class GeminiInstanceConfig
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ property :active_query_enabled, as: 'activeQueryEnabled'
1102
+ property :entitled, as: 'entitled'
1103
+ property :flag_recommender_enabled, as: 'flagRecommenderEnabled'
1104
+ property :google_vacuum_mgmt_enabled, as: 'googleVacuumMgmtEnabled'
1105
+ property :index_advisor_enabled, as: 'indexAdvisorEnabled'
1106
+ property :oom_session_cancel_enabled, as: 'oomSessionCancelEnabled'
1107
+ end
1108
+ end
1109
+
1047
1110
  class GenerateEphemeralCertRequest
1048
1111
  # @private
1049
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1132,6 +1195,14 @@ module Google
1132
1195
  end
1133
1196
  end
1134
1197
 
1198
+ class InstancesAcquireSsrsLeaseRequest
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ property :acquire_ssrs_lease_context, as: 'acquireSsrsLeaseContext', class: Google::Apis::SqladminV1::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1::AcquireSsrsLeaseContext::Representation
1202
+
1203
+ end
1204
+ end
1205
+
1135
1206
  class InstancesCloneRequest
1136
1207
  # @private
1137
1208
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1323,6 +1394,8 @@ module Google
1323
1394
  class Operation
1324
1395
  # @private
1325
1396
  class Representation < Google::Apis::Core::JsonRepresentation
1397
+ property :acquire_ssrs_lease_context, as: 'acquireSsrsLeaseContext', class: Google::Apis::SqladminV1::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1::AcquireSsrsLeaseContext::Representation
1398
+
1326
1399
  property :api_warning, as: 'apiWarning', class: Google::Apis::SqladminV1::ApiWarning, decorator: Google::Apis::SqladminV1::ApiWarning::Representation
1327
1400
 
1328
1401
  property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1::BackupContext, decorator: Google::Apis::SqladminV1::BackupContext::Representation
@@ -1436,6 +1509,14 @@ module Google
1436
1509
  end
1437
1510
  end
1438
1511
 
1512
+ class ReplicationCluster
1513
+ # @private
1514
+ class Representation < Google::Apis::Core::JsonRepresentation
1515
+ property :dr_replica, as: 'drReplica'
1516
+ property :failover_dr_replica_name, as: 'failoverDrReplicaName'
1517
+ end
1518
+ end
1519
+
1439
1520
  class Reschedule
1440
1521
  # @private
1441
1522
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1488,6 +1569,7 @@ module Google
1488
1569
  collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::SqladminV1::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1::DenyMaintenancePeriod::Representation
1489
1570
 
1490
1571
  property :edition, as: 'edition'
1572
+ property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
1491
1573
  property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
1492
1574
 
1493
1575
  property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1::IpConfiguration, decorator: Google::Apis::SqladminV1::IpConfiguration::Representation
@@ -1529,6 +1611,13 @@ module Google
1529
1611
  end
1530
1612
  end
1531
1613
 
1614
+ class SqlInstancesAcquireSsrsLeaseResponse
1615
+ # @private
1616
+ class Representation < Google::Apis::Core::JsonRepresentation
1617
+ property :operation_id, as: 'operationId'
1618
+ end
1619
+ end
1620
+
1532
1621
  class SqlInstancesGetDiskShrinkConfigResponse
1533
1622
  # @private
1534
1623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1546,6 +1635,13 @@ module Google
1546
1635
  end
1547
1636
  end
1548
1637
 
1638
+ class SqlInstancesReleaseSsrsLeaseResponse
1639
+ # @private
1640
+ class Representation < Google::Apis::Core::JsonRepresentation
1641
+ property :operation_id, as: 'operationId'
1642
+ end
1643
+ end
1644
+
1549
1645
  class SqlInstancesRescheduleMaintenanceRequestBody
1550
1646
  # @private
1551
1647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1563,6 +1659,7 @@ module Google
1563
1659
  class SqlInstancesStartExternalSyncRequest
1564
1660
  # @private
1565
1661
  class Representation < Google::Apis::Core::JsonRepresentation
1662
+ property :migration_type, as: 'migrationType'
1566
1663
  property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
1567
1664
 
1568
1665
  property :skip_verification, as: 'skipVerification'
@@ -1574,9 +1671,11 @@ module Google
1574
1671
  class SqlInstancesVerifyExternalSyncSettingsRequest
1575
1672
  # @private
1576
1673
  class Representation < Google::Apis::Core::JsonRepresentation
1674
+ property :migration_type, as: 'migrationType'
1577
1675
  property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
1578
1676
 
1579
1677
  property :sync_mode, as: 'syncMode'
1678
+ property :sync_parallel_level, as: 'syncParallelLevel'
1580
1679
  property :verify_connection_only, as: 'verifyConnectionOnly'
1581
1680
  property :verify_replication_only, as: 'verifyReplicationOnly'
1582
1681
  end
@@ -531,6 +531,45 @@ module Google
531
531
  execute_or_queue_command(command, &block)
532
532
  end
533
533
 
534
+ # Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
535
+ # @param [String] project
536
+ # Required. Project ID of the project that contains the instance (Example:
537
+ # project-id).
538
+ # @param [String] instance
539
+ # Required. Cloud SQL instance ID. This doesn't include the project ID. It's
540
+ # composed of lowercase letters, numbers, and hyphens, and it must start with a
541
+ # letter. The total length must be 98 characters or less (Example: instance-id).
542
+ # @param [Google::Apis::SqladminV1::InstancesAcquireSsrsLeaseRequest] instances_acquire_ssrs_lease_request_object
543
+ # @param [String] fields
544
+ # Selector specifying which fields to include in a partial response.
545
+ # @param [String] quota_user
546
+ # Available to use for quota purposes for server-side applications. Can be any
547
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
548
+ # @param [Google::Apis::RequestOptions] options
549
+ # Request-specific options
550
+ #
551
+ # @yield [result, err] Result & error if block supplied
552
+ # @yieldparam result [Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse] parsed result object
553
+ # @yieldparam err [StandardError] error object if request failed
554
+ #
555
+ # @return [Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse]
556
+ #
557
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
558
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
559
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
560
+ def acquire_instance_ssrs_lease(project, instance, instances_acquire_ssrs_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
561
+ command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/acquireSsrsLease', options)
562
+ command.request_representation = Google::Apis::SqladminV1::InstancesAcquireSsrsLeaseRequest::Representation
563
+ command.request_object = instances_acquire_ssrs_lease_request_object
564
+ command.response_representation = Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse::Representation
565
+ command.response_class = Google::Apis::SqladminV1::SqlInstancesAcquireSsrsLeaseResponse
566
+ command.params['project'] = project unless project.nil?
567
+ command.params['instance'] = instance unless instance.nil?
568
+ command.query['fields'] = fields unless fields.nil?
569
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
570
+ execute_or_queue_command(command, &block)
571
+ end
572
+
534
573
  # Adds a new trusted Certificate Authority (CA) version for the specified
535
574
  # instance. Required to prepare for a certificate rotation. If a CA version was
536
575
  # previously added but never used in a certificate rotation, this operation
@@ -1092,6 +1131,41 @@ module Google
1092
1131
  execute_or_queue_command(command, &block)
1093
1132
  end
1094
1133
 
1134
+ # Release a lease for the setup of SQL Server Reporting Services (SSRS).
1135
+ # @param [String] project
1136
+ # Required. The project ID that contains the instance.
1137
+ # @param [String] instance
1138
+ # Required. The Cloud SQL instance ID. This doesn't include the project ID. The
1139
+ # instance ID contains lowercase letters, numbers, and hyphens, and it must
1140
+ # start with a letter. This ID can have a maximum length of 98 characters.
1141
+ # @param [String] fields
1142
+ # Selector specifying which fields to include in a partial response.
1143
+ # @param [String] quota_user
1144
+ # Available to use for quota purposes for server-side applications. Can be any
1145
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1146
+ # @param [Google::Apis::RequestOptions] options
1147
+ # Request-specific options
1148
+ #
1149
+ # @yield [result, err] Result & error if block supplied
1150
+ # @yieldparam result [Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse] parsed result object
1151
+ # @yieldparam err [StandardError] error object if request failed
1152
+ #
1153
+ # @return [Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse]
1154
+ #
1155
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1156
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1157
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1158
+ def release_instance_ssrs_lease(project, instance, fields: nil, quota_user: nil, options: nil, &block)
1159
+ command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/releaseSsrsLease', options)
1160
+ command.response_representation = Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse::Representation
1161
+ command.response_class = Google::Apis::SqladminV1::SqlInstancesReleaseSsrsLeaseResponse
1162
+ command.params['project'] = project unless project.nil?
1163
+ command.params['instance'] = instance unless instance.nil?
1164
+ command.query['fields'] = fields unless fields.nil?
1165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1166
+ execute_or_queue_command(command, &block)
1167
+ end
1168
+
1095
1169
  # Deletes all client certificates and generates a new server SSL certificate for
1096
1170
  # the instance.
1097
1171
  # @param [String] project
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.54.0
4
+ version: 0.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.54.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.56.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
63
  post_install_message:
64
64
  rdoc_options: []