google-apis-sqladmin_v1 0.70.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
@@ -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
|
@@ -2730,6 +2748,11 @@ module Google
|
|
2730
2748
|
# @return [Array<Google::Apis::SqladminV1::AclEntry>]
|
2731
2749
|
attr_accessor :authorized_networks
|
2732
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
|
+
|
2733
2756
|
# Controls connectivity to private IP instances from Google services, such as
|
2734
2757
|
# BigQuery.
|
2735
2758
|
# Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
|
@@ -2773,6 +2796,13 @@ module Google
|
|
2773
2796
|
# @return [String]
|
2774
2797
|
attr_accessor :server_ca_mode
|
2775
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
|
+
|
2776
2806
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
2777
2807
|
# require_ssl` flag for backward compatibility, then only the following value
|
2778
2808
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
@@ -2798,12 +2828,14 @@ module Google
|
|
2798
2828
|
def update!(**args)
|
2799
2829
|
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
2800
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)
|
2801
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)
|
2802
2833
|
@ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
|
2803
2834
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2804
2835
|
@psc_config = args[:psc_config] if args.key?(:psc_config)
|
2805
2836
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
2806
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)
|
2807
2839
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
2808
2840
|
end
|
2809
2841
|
end
|
@@ -3198,6 +3230,11 @@ module Google
|
|
3198
3230
|
# @return [String]
|
3199
3231
|
attr_accessor :status
|
3200
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
|
+
|
3201
3238
|
# Name of the database instance related to this operation.
|
3202
3239
|
# Corresponds to the JSON property `targetId`
|
3203
3240
|
# @return [String]
|
@@ -3238,6 +3275,7 @@ module Google
|
|
3238
3275
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3239
3276
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3240
3277
|
@status = args[:status] if args.key?(:status)
|
3278
|
+
@sub_operation_type = args[:sub_operation_type] if args.key?(:sub_operation_type)
|
3241
3279
|
@target_id = args[:target_id] if args.key?(:target_id)
|
3242
3280
|
@target_link = args[:target_link] if args.key?(:target_link)
|
3243
3281
|
@target_project = args[:target_project] if args.key?(:target_project)
|
@@ -3311,9 +3349,9 @@ module Google
|
|
3311
3349
|
attr_accessor :api_version
|
3312
3350
|
|
3313
3351
|
# Output only. Identifies whether the user has requested cancellation of the
|
3314
|
-
# operation. Operations that have been cancelled successfully have
|
3315
|
-
# error value with a google.rpc.Status.code of 1
|
3316
|
-
# 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`.
|
3317
3355
|
# Corresponds to the JSON property `cancelRequested`
|
3318
3356
|
# @return [Boolean]
|
3319
3357
|
attr_accessor :cancel_requested
|
@@ -3627,7 +3665,8 @@ module Google
|
|
3627
3665
|
|
3628
3666
|
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
3629
3667
|
# cross-region replica that you designate for failover in the event that the
|
3630
|
-
# primary instance experiences regional failure.
|
3668
|
+
# primary instance experiences regional failure. Applicable to MySQL and
|
3669
|
+
# PostgreSQL.
|
3631
3670
|
class ReplicationCluster
|
3632
3671
|
include Google::Apis::Core::Hashable
|
3633
3672
|
|
@@ -3648,13 +3687,13 @@ module Google
|
|
3648
3687
|
# @return [String]
|
3649
3688
|
attr_accessor :failover_dr_replica_name
|
3650
3689
|
|
3651
|
-
# Output only. If set,
|
3652
|
-
# PSA)
|
3653
|
-
# this instance is the primary, the
|
3654
|
-
# After
|
3655
|
-
# instance. This is a read-only field, returned to the
|
3656
|
-
# field can exist even if a standalone instance
|
3657
|
-
#
|
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.
|
3658
3697
|
# Corresponds to the JSON property `psaWriteEndpoint`
|
3659
3698
|
# @return [String]
|
3660
3699
|
attr_accessor :psa_write_endpoint
|
@@ -4545,6 +4584,25 @@ module Google
|
|
4545
4584
|
end
|
4546
4585
|
end
|
4547
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
|
+
|
4548
4606
|
# SslCerts Resource
|
4549
4607
|
class SslCert
|
4550
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
|
@@ -652,6 +652,12 @@ module Google
|
|
652
652
|
include Google::Apis::Core::JsonObjectSupport
|
653
653
|
end
|
654
654
|
|
655
|
+
class SqlSubOperationType
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
655
661
|
class SslCert
|
656
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
663
|
|
@@ -882,6 +888,7 @@ module Google
|
|
882
888
|
# @private
|
883
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
884
890
|
property :backend_type, as: 'backendType'
|
891
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
885
892
|
property :database_version, as: 'databaseVersion'
|
886
893
|
property :dns_name, as: 'dnsName'
|
887
894
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
@@ -985,6 +992,7 @@ module Google
|
|
985
992
|
property :state, as: 'state'
|
986
993
|
collection :suspension_reason, as: 'suspensionReason'
|
987
994
|
property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
|
995
|
+
hash :tags, as: 'tags'
|
988
996
|
collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1::AvailableDatabaseVersion::Representation
|
989
997
|
|
990
998
|
property :write_endpoint, as: 'writeEndpoint'
|
@@ -1446,6 +1454,7 @@ module Google
|
|
1446
1454
|
property :allocated_ip_range, as: 'allocatedIpRange'
|
1447
1455
|
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1::AclEntry, decorator: Google::Apis::SqladminV1::AclEntry::Representation
|
1448
1456
|
|
1457
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
1449
1458
|
property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
|
1450
1459
|
property :ipv4_enabled, as: 'ipv4Enabled'
|
1451
1460
|
property :private_network, as: 'privateNetwork'
|
@@ -1453,6 +1462,7 @@ module Google
|
|
1453
1462
|
|
1454
1463
|
property :require_ssl, as: 'requireSsl'
|
1455
1464
|
property :server_ca_mode, as: 'serverCaMode'
|
1465
|
+
property :server_ca_pool, as: 'serverCaPool'
|
1456
1466
|
property :ssl_mode, as: 'sslMode'
|
1457
1467
|
end
|
1458
1468
|
end
|
@@ -1553,6 +1563,8 @@ module Google
|
|
1553
1563
|
property :self_link, as: 'selfLink'
|
1554
1564
|
property :start_time, as: 'startTime'
|
1555
1565
|
property :status, as: 'status'
|
1566
|
+
property :sub_operation_type, as: 'subOperationType', class: Google::Apis::SqladminV1::SqlSubOperationType, decorator: Google::Apis::SqladminV1::SqlSubOperationType::Representation
|
1567
|
+
|
1556
1568
|
property :target_id, as: 'targetId'
|
1557
1569
|
property :target_link, as: 'targetLink'
|
1558
1570
|
property :target_project, as: 'targetProject'
|
@@ -1907,6 +1919,13 @@ module Google
|
|
1907
1919
|
end
|
1908
1920
|
end
|
1909
1921
|
|
1922
|
+
class SqlSubOperationType
|
1923
|
+
# @private
|
1924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1925
|
+
property :maintenance_type, as: 'maintenanceType'
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1910
1929
|
class SslCert
|
1911
1930
|
# @private
|
1912
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-12-
|
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
|