google-apis-sqladmin_v1 0.69.0 → 0.71.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e09abd05f82691faef6b34388fa4e231ddc4ed9a91c407e4e93b3228489c6ab
|
4
|
+
data.tar.gz: 2d9ba60b45d7c965b76abb061054d491ed5a20cc5a59db16442f8eae33b45aa8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc6a84d68825c5fda8b1b3b77023476888c10c0c9089f74f1df6e73fe5e385445f3e12282f3d040f44125de03db78d5fa794d007ced65fe7a1f1498da22aa20
|
7
|
+
data.tar.gz: a76503ab6603d1f8b56435b83a0d23ddab5bc727787d6f782c88ce9ab39275fd0fb11213c4af483bd9ac4885b7b70d553918641e713a8037205b4ef06ab3b8bf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.71.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241204
|
6
|
+
|
7
|
+
### v0.70.0 (2024-11-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241108
|
10
|
+
|
3
11
|
### v0.69.0 (2024-10-27)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241011
|
@@ -625,6 +625,11 @@ module Google
|
|
625
625
|
# @return [String]
|
626
626
|
attr_accessor :backend_type
|
627
627
|
|
628
|
+
# Custom subject alternative names for the server certificate.
|
629
|
+
# Corresponds to the JSON property `customSubjectAlternativeNames`
|
630
|
+
# @return [Array<String>]
|
631
|
+
attr_accessor :custom_subject_alternative_names
|
632
|
+
|
628
633
|
# The database engine type and version. The `databaseVersion` field cannot be
|
629
634
|
# changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (
|
630
635
|
# default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
|
@@ -681,6 +686,7 @@ module Google
|
|
681
686
|
# Update properties of this object
|
682
687
|
def update!(**args)
|
683
688
|
@backend_type = args[:backend_type] if args.key?(:backend_type)
|
689
|
+
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
|
684
690
|
@database_version = args[:database_version] if args.key?(:database_version)
|
685
691
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
686
692
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
@@ -984,7 +990,8 @@ module Google
|
|
984
990
|
|
985
991
|
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
986
992
|
# cross-region replica that you designate for failover in the event that the
|
987
|
-
# primary instance experiences regional failure.
|
993
|
+
# primary instance experiences regional failure. Applicable to MySQL and
|
994
|
+
# PostgreSQL.
|
988
995
|
# Corresponds to the JSON property `replicationCluster`
|
989
996
|
# @return [Google::Apis::SqladminV1::ReplicationCluster]
|
990
997
|
attr_accessor :replication_cluster
|
@@ -1065,6 +1072,16 @@ module Google
|
|
1065
1072
|
attr_accessor :switch_transaction_logs_to_cloud_storage_enabled
|
1066
1073
|
alias_method :switch_transaction_logs_to_cloud_storage_enabled?, :switch_transaction_logs_to_cloud_storage_enabled
|
1067
1074
|
|
1075
|
+
# Optional. Input only. Immutable. Tag keys and tag values that are bound to
|
1076
|
+
# this instance. You must represent each item in the map as: `"" : ""`. For
|
1077
|
+
# example, a single resource can have the following tags: ``` "123/environment":
|
1078
|
+
# "production", "123/costCenter": "marketing", ``` For more information on tag
|
1079
|
+
# creation and management, see https://cloud.google.com/resource-manager/docs/
|
1080
|
+
# tags/tags-overview.
|
1081
|
+
# Corresponds to the JSON property `tags`
|
1082
|
+
# @return [Hash<String,String>]
|
1083
|
+
attr_accessor :tags
|
1084
|
+
|
1068
1085
|
# Output only. All database versions that are available for upgrade.
|
1069
1086
|
# Corresponds to the JSON property `upgradableDatabaseVersions`
|
1070
1087
|
# @return [Array<Google::Apis::SqladminV1::AvailableDatabaseVersion>]
|
@@ -1125,6 +1142,7 @@ module Google
|
|
1125
1142
|
@state = args[:state] if args.key?(:state)
|
1126
1143
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
1127
1144
|
@switch_transaction_logs_to_cloud_storage_enabled = args[:switch_transaction_logs_to_cloud_storage_enabled] if args.key?(:switch_transaction_logs_to_cloud_storage_enabled)
|
1145
|
+
@tags = args[:tags] if args.key?(:tags)
|
1128
1146
|
@upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
|
1129
1147
|
@write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
|
1130
1148
|
end
|
@@ -1736,6 +1754,25 @@ module Google
|
|
1736
1754
|
end
|
1737
1755
|
end
|
1738
1756
|
|
1757
|
+
# The selected object that Cloud SQL migrates.
|
1758
|
+
class ExternalSyncSelectedObject
|
1759
|
+
include Google::Apis::Core::Hashable
|
1760
|
+
|
1761
|
+
# The name of the database that Cloud SQL migrates.
|
1762
|
+
# Corresponds to the JSON property `database`
|
1763
|
+
# @return [String]
|
1764
|
+
attr_accessor :database
|
1765
|
+
|
1766
|
+
def initialize(**args)
|
1767
|
+
update!(**args)
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# Update properties of this object
|
1771
|
+
def update!(**args)
|
1772
|
+
@database = args[:database] if args.key?(:database)
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
|
1739
1776
|
# Database instance failover context.
|
1740
1777
|
class FailoverContext
|
1741
1778
|
include Google::Apis::Core::Hashable
|
@@ -2711,6 +2748,11 @@ module Google
|
|
2711
2748
|
# @return [Array<Google::Apis::SqladminV1::AclEntry>]
|
2712
2749
|
attr_accessor :authorized_networks
|
2713
2750
|
|
2751
|
+
# Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance.
|
2752
|
+
# Corresponds to the JSON property `customSubjectAlternativeNames`
|
2753
|
+
# @return [Array<String>]
|
2754
|
+
attr_accessor :custom_subject_alternative_names
|
2755
|
+
|
2714
2756
|
# Controls connectivity to private IP instances from Google services, such as
|
2715
2757
|
# BigQuery.
|
2716
2758
|
# Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
|
@@ -2754,6 +2796,13 @@ module Google
|
|
2754
2796
|
# @return [String]
|
2755
2797
|
attr_accessor :server_ca_mode
|
2756
2798
|
|
2799
|
+
# Optional. The resource name of the server CA pool for an instance with `
|
2800
|
+
# CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations//
|
2801
|
+
# caPools/
|
2802
|
+
# Corresponds to the JSON property `serverCaPool`
|
2803
|
+
# @return [String]
|
2804
|
+
attr_accessor :server_ca_pool
|
2805
|
+
|
2757
2806
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
2758
2807
|
# require_ssl` flag for backward compatibility, then only the following value
|
2759
2808
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
@@ -2779,12 +2828,14 @@ module Google
|
|
2779
2828
|
def update!(**args)
|
2780
2829
|
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
2781
2830
|
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
|
2831
|
+
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
|
2782
2832
|
@enable_private_path_for_google_cloud_services = args[:enable_private_path_for_google_cloud_services] if args.key?(:enable_private_path_for_google_cloud_services)
|
2783
2833
|
@ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
|
2784
2834
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2785
2835
|
@psc_config = args[:psc_config] if args.key?(:psc_config)
|
2786
2836
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
2787
2837
|
@server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
|
2838
|
+
@server_ca_pool = args[:server_ca_pool] if args.key?(:server_ca_pool)
|
2788
2839
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
2789
2840
|
end
|
2790
2841
|
end
|
@@ -3055,11 +3106,22 @@ module Google
|
|
3055
3106
|
# @return [String]
|
3056
3107
|
attr_accessor :password
|
3057
3108
|
|
3109
|
+
# Optional. A list of objects that the user selects for replication from an
|
3110
|
+
# external source instance.
|
3111
|
+
# Corresponds to the JSON property `selectedObjects`
|
3112
|
+
# @return [Array<Google::Apis::SqladminV1::SelectedObjects>]
|
3113
|
+
attr_accessor :selected_objects
|
3114
|
+
|
3058
3115
|
# Reference to another Cloud SQL instance.
|
3059
3116
|
# Corresponds to the JSON property `sourceInstance`
|
3060
3117
|
# @return [Google::Apis::SqladminV1::InstanceReference]
|
3061
3118
|
attr_accessor :source_instance
|
3062
3119
|
|
3120
|
+
# Optional. SSL option for replica connection to the on-premises source.
|
3121
|
+
# Corresponds to the JSON property `sslOption`
|
3122
|
+
# @return [String]
|
3123
|
+
attr_accessor :ssl_option
|
3124
|
+
|
3063
3125
|
# The username for connecting to on-premises instance.
|
3064
3126
|
# Corresponds to the JSON property `username`
|
3065
3127
|
# @return [String]
|
@@ -3078,7 +3140,9 @@ module Google
|
|
3078
3140
|
@host_port = args[:host_port] if args.key?(:host_port)
|
3079
3141
|
@kind = args[:kind] if args.key?(:kind)
|
3080
3142
|
@password = args[:password] if args.key?(:password)
|
3143
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
3081
3144
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
3145
|
+
@ssl_option = args[:ssl_option] if args.key?(:ssl_option)
|
3082
3146
|
@username = args[:username] if args.key?(:username)
|
3083
3147
|
end
|
3084
3148
|
end
|
@@ -3166,6 +3230,11 @@ module Google
|
|
3166
3230
|
# @return [String]
|
3167
3231
|
attr_accessor :status
|
3168
3232
|
|
3233
|
+
# The sub operation type based on the operation type.
|
3234
|
+
# Corresponds to the JSON property `subOperationType`
|
3235
|
+
# @return [Google::Apis::SqladminV1::SqlSubOperationType]
|
3236
|
+
attr_accessor :sub_operation_type
|
3237
|
+
|
3169
3238
|
# Name of the database instance related to this operation.
|
3170
3239
|
# Corresponds to the JSON property `targetId`
|
3171
3240
|
# @return [String]
|
@@ -3206,6 +3275,7 @@ module Google
|
|
3206
3275
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3207
3276
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3208
3277
|
@status = args[:status] if args.key?(:status)
|
3278
|
+
@sub_operation_type = args[:sub_operation_type] if args.key?(:sub_operation_type)
|
3209
3279
|
@target_id = args[:target_id] if args.key?(:target_id)
|
3210
3280
|
@target_link = args[:target_link] if args.key?(:target_link)
|
3211
3281
|
@target_project = args[:target_project] if args.key?(:target_project)
|
@@ -3279,9 +3349,9 @@ module Google
|
|
3279
3349
|
attr_accessor :api_version
|
3280
3350
|
|
3281
3351
|
# Output only. Identifies whether the user has requested cancellation of the
|
3282
|
-
# operation. Operations that have been cancelled successfully have
|
3283
|
-
# error value with a google.rpc.Status.code of 1
|
3284
|
-
# CANCELLED`.
|
3352
|
+
# operation. Operations that have been cancelled successfully have google.
|
3353
|
+
# longrunning.Operation.error value with a google.rpc.Status.code of `1`,
|
3354
|
+
# corresponding to `Code.CANCELLED`.
|
3285
3355
|
# Corresponds to the JSON property `cancelRequested`
|
3286
3356
|
# @return [Boolean]
|
3287
3357
|
attr_accessor :cancel_requested
|
@@ -3595,7 +3665,8 @@ module Google
|
|
3595
3665
|
|
3596
3666
|
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
3597
3667
|
# cross-region replica that you designate for failover in the event that the
|
3598
|
-
# primary instance experiences regional failure.
|
3668
|
+
# primary instance experiences regional failure. Applicable to MySQL and
|
3669
|
+
# PostgreSQL.
|
3599
3670
|
class ReplicationCluster
|
3600
3671
|
include Google::Apis::Core::Hashable
|
3601
3672
|
|
@@ -3616,13 +3687,13 @@ module Google
|
|
3616
3687
|
# @return [String]
|
3617
3688
|
attr_accessor :failover_dr_replica_name
|
3618
3689
|
|
3619
|
-
# Output only. If set,
|
3620
|
-
# PSA)
|
3621
|
-
# this instance is the primary, the
|
3622
|
-
# After
|
3623
|
-
# instance. This is a read-only field, returned to the
|
3624
|
-
# field can exist even if a standalone instance
|
3625
|
-
#
|
3690
|
+
# Output only. If set, this field indicates this instance has a private service
|
3691
|
+
# access (PSA) DNS endpoint that is pointing to the primary instance of the
|
3692
|
+
# cluster. If this instance is the primary, then the DNS endpoint points to this
|
3693
|
+
# instance. After a switchover or replica failover operation, this DNS endpoint
|
3694
|
+
# points to the promoted instance. This is a read-only field, returned to the
|
3695
|
+
# user as information. This field can exist even if a standalone instance doesn'
|
3696
|
+
# t have a DR replica yet or the DR replica is deleted.
|
3626
3697
|
# Corresponds to the JSON property `psaWriteEndpoint`
|
3627
3698
|
# @return [String]
|
3628
3699
|
attr_accessor :psa_write_endpoint
|
@@ -3756,6 +3827,26 @@ module Google
|
|
3756
3827
|
end
|
3757
3828
|
end
|
3758
3829
|
|
3830
|
+
# A list of objects that the user selects for replication from an external
|
3831
|
+
# source instance.
|
3832
|
+
class SelectedObjects
|
3833
|
+
include Google::Apis::Core::Hashable
|
3834
|
+
|
3835
|
+
# Required. The name of the database to migrate.
|
3836
|
+
# Corresponds to the JSON property `database`
|
3837
|
+
# @return [String]
|
3838
|
+
attr_accessor :database
|
3839
|
+
|
3840
|
+
def initialize(**args)
|
3841
|
+
update!(**args)
|
3842
|
+
end
|
3843
|
+
|
3844
|
+
# Update properties of this object
|
3845
|
+
def update!(**args)
|
3846
|
+
@database = args[:database] if args.key?(:database)
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
|
3759
3850
|
# Database instance settings.
|
3760
3851
|
class Settings
|
3761
3852
|
include Google::Apis::Core::Hashable
|
@@ -4262,6 +4353,12 @@ module Google
|
|
4262
4353
|
# @return [Google::Apis::SqladminV1::MySqlSyncConfig]
|
4263
4354
|
attr_accessor :mysql_sync_config
|
4264
4355
|
|
4356
|
+
# Optional. Migrate only the specified objects from the source instance. If this
|
4357
|
+
# field is empty, then migrate all objects.
|
4358
|
+
# Corresponds to the JSON property `selectedObjects`
|
4359
|
+
# @return [Array<Google::Apis::SqladminV1::ExternalSyncSelectedObject>]
|
4360
|
+
attr_accessor :selected_objects
|
4361
|
+
|
4265
4362
|
# External sync mode
|
4266
4363
|
# Corresponds to the JSON property `syncMode`
|
4267
4364
|
# @return [String]
|
@@ -4292,6 +4389,7 @@ module Google
|
|
4292
4389
|
def update!(**args)
|
4293
4390
|
@migration_type = args[:migration_type] if args.key?(:migration_type)
|
4294
4391
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
4392
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
4295
4393
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
4296
4394
|
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
4297
4395
|
@verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
|
@@ -4486,6 +4584,25 @@ module Google
|
|
4486
4584
|
end
|
4487
4585
|
end
|
4488
4586
|
|
4587
|
+
# The sub operation type based on the operation type.
|
4588
|
+
class SqlSubOperationType
|
4589
|
+
include Google::Apis::Core::Hashable
|
4590
|
+
|
4591
|
+
# The type of maintenance to be performed on the instance.
|
4592
|
+
# Corresponds to the JSON property `maintenanceType`
|
4593
|
+
# @return [String]
|
4594
|
+
attr_accessor :maintenance_type
|
4595
|
+
|
4596
|
+
def initialize(**args)
|
4597
|
+
update!(**args)
|
4598
|
+
end
|
4599
|
+
|
4600
|
+
# Update properties of this object
|
4601
|
+
def update!(**args)
|
4602
|
+
@maintenance_type = args[:maintenance_type] if args.key?(:maintenance_type)
|
4603
|
+
end
|
4604
|
+
end
|
4605
|
+
|
4489
4606
|
# SslCerts Resource
|
4490
4607
|
class SslCert
|
4491
4608
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.71.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241204"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class ExternalSyncSelectedObject
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class FailoverContext
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -538,6 +544,12 @@ module Google
|
|
538
544
|
include Google::Apis::Core::JsonObjectSupport
|
539
545
|
end
|
540
546
|
|
547
|
+
class SelectedObjects
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
541
553
|
class Settings
|
542
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
555
|
|
@@ -640,6 +652,12 @@ module Google
|
|
640
652
|
include Google::Apis::Core::JsonObjectSupport
|
641
653
|
end
|
642
654
|
|
655
|
+
class SqlSubOperationType
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
643
661
|
class SslCert
|
644
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
663
|
|
@@ -870,6 +888,7 @@ module Google
|
|
870
888
|
# @private
|
871
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
872
890
|
property :backend_type, as: 'backendType'
|
891
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
873
892
|
property :database_version, as: 'databaseVersion'
|
874
893
|
property :dns_name, as: 'dnsName'
|
875
894
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
@@ -973,6 +992,7 @@ module Google
|
|
973
992
|
property :state, as: 'state'
|
974
993
|
collection :suspension_reason, as: 'suspensionReason'
|
975
994
|
property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
|
995
|
+
hash :tags, as: 'tags'
|
976
996
|
collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::AvailableDatabaseVersion::Representation
|
977
997
|
|
978
998
|
property :write_endpoint, as: 'writeEndpoint'
|
@@ -1138,6 +1158,13 @@ module Google
|
|
1138
1158
|
end
|
1139
1159
|
end
|
1140
1160
|
|
1161
|
+
class ExternalSyncSelectedObject
|
1162
|
+
# @private
|
1163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1164
|
+
property :database, as: 'database'
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1141
1168
|
class FailoverContext
|
1142
1169
|
# @private
|
1143
1170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1427,6 +1454,7 @@ module Google
|
|
1427
1454
|
property :allocated_ip_range, as: 'allocatedIpRange'
|
1428
1455
|
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
|
1429
1456
|
|
1457
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
1430
1458
|
property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
|
1431
1459
|
property :ipv4_enabled, as: 'ipv4Enabled'
|
1432
1460
|
property :private_network, as: 'privateNetwork'
|
@@ -1434,6 +1462,7 @@ module Google
|
|
1434
1462
|
|
1435
1463
|
property :require_ssl, as: 'requireSsl'
|
1436
1464
|
property :server_ca_mode, as: 'serverCaMode'
|
1465
|
+
property :server_ca_pool, as: 'serverCaPool'
|
1437
1466
|
property :ssl_mode, as: 'sslMode'
|
1438
1467
|
end
|
1439
1468
|
end
|
@@ -1502,8 +1531,11 @@ module Google
|
|
1502
1531
|
property :host_port, as: 'hostPort'
|
1503
1532
|
property :kind, as: 'kind'
|
1504
1533
|
property :password, as: 'password'
|
1534
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1::SelectedObjects, decorator: Google::Apis::SqladminV1::SelectedObjects::Representation
|
1535
|
+
|
1505
1536
|
property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1::InstanceReference, decorator: Google::Apis::SqladminV1::InstanceReference::Representation
|
1506
1537
|
|
1538
|
+
property :ssl_option, as: 'sslOption'
|
1507
1539
|
property :username, as: 'username'
|
1508
1540
|
end
|
1509
1541
|
end
|
@@ -1531,6 +1563,8 @@ module Google
|
|
1531
1563
|
property :self_link, as: 'selfLink'
|
1532
1564
|
property :start_time, as: 'startTime'
|
1533
1565
|
property :status, as: 'status'
|
1566
|
+
property :sub_operation_type, as: 'subOperationType', class: Google::Apis::SqladminV1::SqlSubOperationType, decorator: Google::Apis::SqladminV1::SqlSubOperationType::Representation
|
1567
|
+
|
1534
1568
|
property :target_id, as: 'targetId'
|
1535
1569
|
property :target_link, as: 'targetLink'
|
1536
1570
|
property :target_project, as: 'targetProject'
|
@@ -1682,6 +1716,13 @@ module Google
|
|
1682
1716
|
end
|
1683
1717
|
end
|
1684
1718
|
|
1719
|
+
class SelectedObjects
|
1720
|
+
# @private
|
1721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1722
|
+
property :database, as: 'database'
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1685
1726
|
class Settings
|
1686
1727
|
# @private
|
1687
1728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1814,6 +1855,8 @@ module Google
|
|
1814
1855
|
property :migration_type, as: 'migrationType'
|
1815
1856
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
|
1816
1857
|
|
1858
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1::ExternalSyncSelectedObject, decorator: Google::Apis::SqladminV1::ExternalSyncSelectedObject::Representation
|
1859
|
+
|
1817
1860
|
property :sync_mode, as: 'syncMode'
|
1818
1861
|
property :sync_parallel_level, as: 'syncParallelLevel'
|
1819
1862
|
property :verify_connection_only, as: 'verifyConnectionOnly'
|
@@ -1876,6 +1919,13 @@ module Google
|
|
1876
1919
|
end
|
1877
1920
|
end
|
1878
1921
|
|
1922
|
+
class SqlSubOperationType
|
1923
|
+
# @private
|
1924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1925
|
+
property :maintenance_type, as: 'maintenanceType'
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1879
1929
|
class SslCert
|
1880
1930
|
# @private
|
1881
1931
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1178,12 +1178,11 @@ module Google
|
|
1178
1178
|
# @param [String] instance
|
1179
1179
|
# Cloud SQL read replica instance name.
|
1180
1180
|
# @param [Boolean] failover
|
1181
|
-
# Set to true to invoke a replica failover to the
|
1182
|
-
#
|
1183
|
-
#
|
1184
|
-
#
|
1185
|
-
#
|
1186
|
-
# Only applicable to MySQL.
|
1181
|
+
# Set to true to invoke a replica failover to the DR replica. As part of replica
|
1182
|
+
# failover, the promote operation attempts to add the original primary instance
|
1183
|
+
# as a replica of the promoted DR replica when the original primary instance
|
1184
|
+
# comes back online. If set to false or not specified, then the original primary
|
1185
|
+
# instance becomes an independent Cloud SQL primary instance.
|
1187
1186
|
# @param [String] fields
|
1188
1187
|
# Selector specifying which fields to include in a partial response.
|
1189
1188
|
# @param [String] quota_user
|
@@ -1493,15 +1492,15 @@ module Google
|
|
1493
1492
|
execute_or_queue_command(command, &block)
|
1494
1493
|
end
|
1495
1494
|
|
1496
|
-
# Switches over from the primary instance to the
|
1495
|
+
# Switches over from the primary instance to the DR replica instance.
|
1497
1496
|
# @param [String] project
|
1498
1497
|
# ID of the project that contains the replica.
|
1499
1498
|
# @param [String] instance
|
1500
1499
|
# Cloud SQL read replica instance name.
|
1501
1500
|
# @param [String] db_timeout
|
1502
|
-
# Optional. (MySQL only) Cloud SQL instance operations timeout,
|
1503
|
-
# of all database operations. Default value is 10 minutes and can
|
1504
|
-
# a maximum value of 24 hours.
|
1501
|
+
# Optional. (MySQL and PostgreSQL only) Cloud SQL instance operations timeout,
|
1502
|
+
# which is a sum of all database operations. Default value is 10 minutes and can
|
1503
|
+
# be modified to a maximum value of 24 hours.
|
1505
1504
|
# @param [String] fields
|
1506
1505
|
# Selector specifying which fields to include in a partial response.
|
1507
1506
|
# @param [String] quota_user
|
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.
|
4
|
+
version: 0.71.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-
|
11
|
+
date: 2024-12-15 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.71.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud SQL Admin API V1
|