google-apis-sqladmin_v1 0.70.0 → 0.72.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: 2a6e098bd57e3b95f90cfee7534c518b28750ddab7e825638aac198e6b90ec91
4
- data.tar.gz: 5b0ee3db7f40ac731d98f1db36845977e3c5d442f8563e2022cf33ab735069f2
3
+ metadata.gz: 662f37bb6595df03fbf2020b038c7f1406ff713d46af56c182c6809638a2d712
4
+ data.tar.gz: 439cba28cab931187e3a91a40e8f9520ac045e260be3c8f530d0ee3c1508e887
5
5
  SHA512:
6
- metadata.gz: 2202f8e7dc1465490b95ad4e600fb817d1b8ff89cd43710f4c5a47403d1a76df2ec27d073c37b1bc87835bf5365cc7a0cb53cea45626affcb9bf9a287c654b99
7
- data.tar.gz: 2ed2682485088a4d4b31baf6584407f282f06b853d61f66722e429df4ef1776d7cfcaf6646ed9a58ac766bf69ef14017fd546e0ccc772d32bc4db755c9b5c711
6
+ metadata.gz: 17017b020b1864a83d91cf1a3b86a6174b69e201ff4060705c4ae8a9b4208e0e9f8ec5e4ca57b85c8aa0c34fa964c58c344cfc92c90b92e5b863af5b8e776b59
7
+ data.tar.gz: 4cf83298de907a7cdbaa98f7101d8a5e686337680b37e317862e9d368da6a972539af5bc92d37a2dcd12260f38390cfcf19c4873e9e0d04010e9970858386255
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-sqladmin_v1
2
2
 
3
+ ### v0.72.0 (2025-01-08)
4
+
5
+ * Regenerated from discovery document revision 20241210
6
+
7
+ ### v0.71.0 (2024-12-15)
8
+
9
+ * Regenerated from discovery document revision 20241204
10
+
3
11
  ### v0.70.0 (2024-11-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20241108
@@ -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. Only applicable to MySQL.
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,7 +3230,12 @@ module Google
3198
3230
  # @return [String]
3199
3231
  attr_accessor :status
3200
3232
 
3201
- # Name of the database instance related to this operation.
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
+
3238
+ #
3202
3239
  # Corresponds to the JSON property `targetId`
3203
3240
  # @return [String]
3204
3241
  attr_accessor :target_id
@@ -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 Operation.
3315
- # error value with a google.rpc.Status.code of 1, corresponding to `Code.
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. Only applicable to MySQL.
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, it indicates this instance has a private service access (
3652
- # PSA) dns endpoint that is pointing to the primary instance of the cluster. If
3653
- # this instance is the primary, the dns should be pointing to this instance.
3654
- # After Switchover or Replica failover, this DNS endpoint points to the promoted
3655
- # instance. This is a read-only field, returned to the user as information. This
3656
- # field can exist even if a standalone instance does not yet have a replica, or
3657
- # had a DR replica that was deleted.
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.70.0"
19
+ GEM_VERSION = "0.72.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 = "20241108"
25
+ REVISION = "20241210"
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 designated DR replica. As part
1182
- # of replica failover, the promote operation attempts to add the original
1183
- # primary instance as a replica of the promoted DR replica when the original
1184
- # primary instance comes back online. If set to false or not specified, then the
1185
- # original primary instance becomes an independent Cloud SQL primary instance.
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 designated DR replica instance.
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, which is a sum
1503
- # of all database operations. Default value is 10 minutes and can be modified to
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,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.70.0
4
+ version: 0.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.70.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.72.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud SQL Admin API V1
82
79
  test_files: []