google-apis-sqladmin_v1beta4 0.66.0 → 0.68.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd7c6119f2060ae55ca52218af459eae4200e054c9911673d969c43c93a19741
4
- data.tar.gz: 3e070f4c7262913773eec931093cf3a964988a7856c41f4c649c356f92737c4d
3
+ metadata.gz: 413308ea999de90d73ee3f506ff0ff381fb241e290ccedb6cf9008eec81e99ca
4
+ data.tar.gz: 29a4a04e174c6576b3e5a4d8036cfcdf129edeec51ab84865a4da63420c7cc10
5
5
  SHA512:
6
- metadata.gz: ca5d51ee2a970e4e42dce0c33f3f022e1cfc74f7092c4da27cfc750fa8e72e1ca59de8b0147e2df16ea676b2fea0b9ca851aff36b519bdc6e782714489509f79
7
- data.tar.gz: 7a3495ffee065e62e78ea9271f7e36ab18a95704328ad9b1072b01f5c0f4898bfdc3975eaf3851e3a7ea7bebbd9907f0dc6850b5b2aa8ad3b3237900b1878bcc
6
+ metadata.gz: a74c76a9e7fd18ea34ba05a8edbd82f621e5bf9738b9bd359b7a66c4d81003064106cafc0594b83c5dcc416e58e80f5fe12b18dc529d836f0bbafbeec1f96c1a
7
+ data.tar.gz: 46f81602ef21fe4b30e4940a493776da658572eb07f84deb367431378a96f88d839e78f06758a84143370197dbcfd9226b8b17c9c75ac7515bb23100c85aa5a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.68.0 (2024-03-24)
4
+
5
+ * Regenerated from discovery document revision 20240317
6
+
7
+ ### v0.67.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240304
10
+
3
11
  ### v0.66.0 (2024-02-24)
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 the 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 the 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::SqladminV1beta4::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::SqladminV1beta4::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
@@ -2042,6 +2155,25 @@ module Google
2042
2155
  end
2043
2156
  end
2044
2157
 
2158
+ # Request to acquire an SSRS lease for an instance.
2159
+ class InstancesAcquireSsrsLeaseRequest
2160
+ include Google::Apis::Core::Hashable
2161
+
2162
+ # Acquire SSRS lease context.
2163
+ # Corresponds to the JSON property `acquireSsrsLeaseContext`
2164
+ # @return [Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext]
2165
+ attr_accessor :acquire_ssrs_lease_context
2166
+
2167
+ def initialize(**args)
2168
+ update!(**args)
2169
+ end
2170
+
2171
+ # Update properties of this object
2172
+ def update!(**args)
2173
+ @acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
2174
+ end
2175
+ end
2176
+
2045
2177
  # Database instance clone request.
2046
2178
  class CloneInstancesRequest
2047
2179
  include Google::Apis::Core::Hashable
@@ -2695,6 +2827,11 @@ module Google
2695
2827
  class Operation
2696
2828
  include Google::Apis::Core::Hashable
2697
2829
 
2830
+ # Acquire SSRS lease context.
2831
+ # Corresponds to the JSON property `acquireSsrsLeaseContext`
2832
+ # @return [Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext]
2833
+ attr_accessor :acquire_ssrs_lease_context
2834
+
2698
2835
  # An Admin API warning message.
2699
2836
  # Corresponds to the JSON property `apiWarning`
2700
2837
  # @return [Google::Apis::SqladminV1beta4::ApiWarning]
@@ -2793,6 +2930,7 @@ module Google
2793
2930
 
2794
2931
  # Update properties of this object
2795
2932
  def update!(**args)
2933
+ @acquire_ssrs_lease_context = args[:acquire_ssrs_lease_context] if args.key?(:acquire_ssrs_lease_context)
2796
2934
  @api_warning = args[:api_warning] if args.key?(:api_warning)
2797
2935
  @backup_context = args[:backup_context] if args.key?(:backup_context)
2798
2936
  @end_time = args[:end_time] if args.key?(:end_time)
@@ -3138,6 +3276,37 @@ module Google
3138
3276
  end
3139
3277
  end
3140
3278
 
3279
+ # Primary-DR replica pair
3280
+ class ReplicationCluster
3281
+ include Google::Apis::Core::Hashable
3282
+
3283
+ # Output only. read-only field that indicates if the replica is a dr_replica;
3284
+ # not set for a primary.
3285
+ # Corresponds to the JSON property `drReplica`
3286
+ # @return [Boolean]
3287
+ attr_accessor :dr_replica
3288
+ alias_method :dr_replica?, :dr_replica
3289
+
3290
+ # Optional. If the instance is a primary instance, then this field identifies
3291
+ # the disaster recovery (DR) replica. A DR replica is an optional configuration
3292
+ # for Enterprise Plus edition instances. If the instance is a read replica, then
3293
+ # the field is not set. Users can set this field to set a designated DR replica
3294
+ # for a primary. Removing this field removes the DR replica.
3295
+ # Corresponds to the JSON property `failoverDrReplicaName`
3296
+ # @return [String]
3297
+ attr_accessor :failover_dr_replica_name
3298
+
3299
+ def initialize(**args)
3300
+ update!(**args)
3301
+ end
3302
+
3303
+ # Update properties of this object
3304
+ def update!(**args)
3305
+ @dr_replica = args[:dr_replica] if args.key?(:dr_replica)
3306
+ @failover_dr_replica_name = args[:failover_dr_replica_name] if args.key?(:failover_dr_replica_name)
3307
+ end
3308
+ end
3309
+
3141
3310
  #
3142
3311
  class Reschedule
3143
3312
  include Google::Apis::Core::Hashable
@@ -3340,6 +3509,15 @@ module Google
3340
3509
  # @return [String]
3341
3510
  attr_accessor :edition
3342
3511
 
3512
+ # Optional. When this parameter is set to true, Cloud SQL instances can connect
3513
+ # to Vertex AI to pass requests for real-time predictions and insights to the AI.
3514
+ # The default value is false. This applies only to Cloud SQL for PostgreSQL
3515
+ # instances.
3516
+ # Corresponds to the JSON property `enableGoogleMlIntegration`
3517
+ # @return [Boolean]
3518
+ attr_accessor :enable_google_ml_integration
3519
+ alias_method :enable_google_ml_integration?, :enable_google_ml_integration
3520
+
3343
3521
  # Insights configuration. This specifies when Cloud SQL Insights feature is
3344
3522
  # enabled and optional configuration.
3345
3523
  # Corresponds to the JSON property `insightsConfig`
@@ -3453,6 +3631,7 @@ module Google
3453
3631
  @deletion_protection_enabled = args[:deletion_protection_enabled] if args.key?(:deletion_protection_enabled)
3454
3632
  @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
3455
3633
  @edition = args[:edition] if args.key?(:edition)
3634
+ @enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
3456
3635
  @insights_config = args[:insights_config] if args.key?(:insights_config)
3457
3636
  @ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
3458
3637
  @kind = args[:kind] if args.key?(:kind)
@@ -3527,6 +3706,25 @@ module Google
3527
3706
  end
3528
3707
  end
3529
3708
 
3709
+ # Acquire SSRS lease response.
3710
+ class SqlInstancesAcquireSsrsLeaseResponse
3711
+ include Google::Apis::Core::Hashable
3712
+
3713
+ # The unique identifier for this operation.
3714
+ # Corresponds to the JSON property `operationId`
3715
+ # @return [String]
3716
+ attr_accessor :operation_id
3717
+
3718
+ def initialize(**args)
3719
+ update!(**args)
3720
+ end
3721
+
3722
+ # Update properties of this object
3723
+ def update!(**args)
3724
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
3725
+ end
3726
+ end
3727
+
3530
3728
  # Instance get disk shrink config response.
3531
3729
  class SqlInstancesGetDiskShrinkConfigResponse
3532
3730
  include Google::Apis::Core::Hashable
@@ -3583,6 +3781,25 @@ module Google
3583
3781
  end
3584
3782
  end
3585
3783
 
3784
+ # The response for the release of the SSRS lease.
3785
+ class SqlInstancesReleaseSsrsLeaseResponse
3786
+ include Google::Apis::Core::Hashable
3787
+
3788
+ # The operation ID.
3789
+ # Corresponds to the JSON property `operationId`
3790
+ # @return [String]
3791
+ attr_accessor :operation_id
3792
+
3793
+ def initialize(**args)
3794
+ update!(**args)
3795
+ end
3796
+
3797
+ # Update properties of this object
3798
+ def update!(**args)
3799
+ @operation_id = args[:operation_id] if args.key?(:operation_id)
3800
+ end
3801
+ end
3802
+
3586
3803
  # Reschedule options for maintenance windows.
3587
3804
  class SqlInstancesRescheduleMaintenanceRequestBody
3588
3805
  include Google::Apis::Core::Hashable
@@ -3619,6 +3836,12 @@ module Google
3619
3836
  class SqlInstancesStartExternalSyncRequest
3620
3837
  include Google::Apis::Core::Hashable
3621
3838
 
3839
+ # Optional. MigrationType decides if the migration is a physical file based
3840
+ # migration or logical migration.
3841
+ # Corresponds to the JSON property `migrationType`
3842
+ # @return [String]
3843
+ attr_accessor :migration_type
3844
+
3622
3845
  # MySQL-specific external server sync settings.
3623
3846
  # Corresponds to the JSON property `mysqlSyncConfig`
3624
3847
  # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
@@ -3647,6 +3870,7 @@ module Google
3647
3870
 
3648
3871
  # Update properties of this object
3649
3872
  def update!(**args)
3873
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3650
3874
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3651
3875
  @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
3652
3876
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
@@ -3658,6 +3882,12 @@ module Google
3658
3882
  class SqlInstancesVerifyExternalSyncSettingsRequest
3659
3883
  include Google::Apis::Core::Hashable
3660
3884
 
3885
+ # Optional. MigrationType field decides if the migration is a physical file
3886
+ # based migration or logical migration
3887
+ # Corresponds to the JSON property `migrationType`
3888
+ # @return [String]
3889
+ attr_accessor :migration_type
3890
+
3661
3891
  # MySQL-specific external server sync settings.
3662
3892
  # Corresponds to the JSON property `mysqlSyncConfig`
3663
3893
  # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
@@ -3668,6 +3898,12 @@ module Google
3668
3898
  # @return [String]
3669
3899
  attr_accessor :sync_mode
3670
3900
 
3901
+ # Optional. Parallel level for initial data sync. Currently only applicable for
3902
+ # PostgreSQL.
3903
+ # Corresponds to the JSON property `syncParallelLevel`
3904
+ # @return [String]
3905
+ attr_accessor :sync_parallel_level
3906
+
3671
3907
  # Flag to enable verifying connection only
3672
3908
  # Corresponds to the JSON property `verifyConnectionOnly`
3673
3909
  # @return [Boolean]
@@ -3686,8 +3922,10 @@ module Google
3686
3922
 
3687
3923
  # Update properties of this object
3688
3924
  def update!(**args)
3925
+ @migration_type = args[:migration_type] if args.key?(:migration_type)
3689
3926
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3690
3927
  @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
3928
+ @sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
3691
3929
  @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
3692
3930
  @verify_replication_only = args[:verify_replication_only] if args.key?(:verify_replication_only)
3693
3931
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SqladminV1beta4
18
18
  # Version of the google-apis-sqladmin_v1beta4 gem
19
- GEM_VERSION = "0.66.0"
19
+ GEM_VERSION = "0.68.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 CloneInstancesRequest
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::SqladminV1beta4::DatabaseInstance::FailoverReplica, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::FailoverReplica::Representation
827
874
 
828
875
  property :gce_zone, as: 'gceZone'
876
+ property :gemini_config, as: 'geminiConfig', class: Google::Apis::SqladminV1beta4::GeminiInstanceConfig, decorator: Google::Apis::SqladminV1beta4::GeminiInstanceConfig::Representation
877
+
829
878
  property :instance_type, as: 'instanceType'
830
879
  collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
831
880
 
@@ -846,6 +895,8 @@ module Google
846
895
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
847
896
 
848
897
  collection :replica_names, as: 'replicaNames'
898
+ property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1beta4::ReplicationCluster, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext::Representation
1202
+
1203
+ end
1204
+ end
1205
+
1135
1206
  class CloneInstancesRequest
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::SqladminV1beta4::AcquireSsrsLeaseContext, decorator: Google::Apis::SqladminV1beta4::AcquireSsrsLeaseContext::Representation
1398
+
1326
1399
  property :api_warning, as: 'apiWarning', class: Google::Apis::SqladminV1beta4::ApiWarning, decorator: Google::Apis::SqladminV1beta4::ApiWarning::Representation
1327
1400
 
1328
1401
  property :backup_context, as: 'backupContext', class: Google::Apis::SqladminV1beta4::BackupContext, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::DenyMaintenancePeriod, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::InsightsConfig, decorator: Google::Apis::SqladminV1beta4::InsightsConfig::Representation
1492
1574
 
1493
1575
  property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::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,44 @@ 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. ID of the project that contains the instance (Example: project-id).
537
+ # @param [String] instance
538
+ # Required. Cloud SQL instance ID. This doesn't include the project ID. It's
539
+ # composed of lowercase letters, numbers, and hyphens, and it must start with a
540
+ # letter. The total length must be 98 characters or less (Example: instance-id).
541
+ # @param [Google::Apis::SqladminV1beta4::InstancesAcquireSsrsLeaseRequest] instances_acquire_ssrs_lease_request_object
542
+ # @param [String] fields
543
+ # Selector specifying which fields to include in a partial response.
544
+ # @param [String] quota_user
545
+ # Available to use for quota purposes for server-side applications. Can be any
546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
547
+ # @param [Google::Apis::RequestOptions] options
548
+ # Request-specific options
549
+ #
550
+ # @yield [result, err] Result & error if block supplied
551
+ # @yieldparam result [Google::Apis::SqladminV1beta4::SqlInstancesAcquireSsrsLeaseResponse] parsed result object
552
+ # @yieldparam err [StandardError] error object if request failed
553
+ #
554
+ # @return [Google::Apis::SqladminV1beta4::SqlInstancesAcquireSsrsLeaseResponse]
555
+ #
556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
559
+ def acquire_instance_ssrs_lease(project, instance, instances_acquire_ssrs_lease_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
560
+ command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/acquireSsrsLease', options)
561
+ command.request_representation = Google::Apis::SqladminV1beta4::InstancesAcquireSsrsLeaseRequest::Representation
562
+ command.request_object = instances_acquire_ssrs_lease_request_object
563
+ command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesAcquireSsrsLeaseResponse::Representation
564
+ command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesAcquireSsrsLeaseResponse
565
+ command.params['project'] = project unless project.nil?
566
+ command.params['instance'] = instance unless instance.nil?
567
+ command.query['fields'] = fields unless fields.nil?
568
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
569
+ execute_or_queue_command(command, &block)
570
+ end
571
+
534
572
  # Add a new trusted Certificate Authority (CA) version for the specified
535
573
  # instance. Required to prepare for a certificate rotation. If a CA version was
536
574
  # previously added but never used in a certificate rotation, this operation
@@ -1092,6 +1130,42 @@ module Google
1092
1130
  execute_or_queue_command(command, &block)
1093
1131
  end
1094
1132
 
1133
+ # Release a lease for the setup of SQL Server Reporting Services (SSRS).
1134
+ # @param [String] project
1135
+ # Required. The ID of the project that contains the instance (Example: project-
1136
+ # id).
1137
+ # @param [String] instance
1138
+ # Required. The Cloud SQL instance ID. This doesn't include the project ID. It's
1139
+ # composed of lowercase letters, numbers, and hyphens, and it must start with a
1140
+ # letter. The total length must be 98 characters or less (Example: instance-id).
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::SqladminV1beta4::SqlInstancesReleaseSsrsLeaseResponse] parsed result object
1151
+ # @yieldparam err [StandardError] error object if request failed
1152
+ #
1153
+ # @return [Google::Apis::SqladminV1beta4::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, 'sql/v1beta4/projects/{project}/instances/{instance}/releaseSsrsLease', options)
1160
+ command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesReleaseSsrsLeaseResponse::Representation
1161
+ command.response_class = Google::Apis::SqladminV1beta4::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_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.66.0
4
+ version: 0.68.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_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.66.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.68.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
63
63
  post_install_message:
64
64
  rdoc_options: []