google-apis-sqladmin_v1beta4 0.75.0 → 0.76.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: 9b1e34b6b11f1d16030de792471042a2a287e450dec047616c95685228f25866
4
- data.tar.gz: '053850a811b54810eea9ae040b3849025bca01b55d05e45157b375449cc1b684'
3
+ metadata.gz: d05ee32b978ea0c1ece26b24aa5c176c51c108c5f9f1e6390906a87e275a8f50
4
+ data.tar.gz: 5864da1c745b42b98d49ed90733d39c43d94bbaabdbfafb959e453626461f3c2
5
5
  SHA512:
6
- metadata.gz: 1e9aa56a4843a07bfb85d8821dd85065ffc3a53afc6b6b3fb0c930bbe754a1970cf5c49a9e9a8ac1820421ade7a68ae327989545f7244551a2735499b97ff43a
7
- data.tar.gz: 192723564c53a37fd455274dc51ea62f1474289a6f0a5ce1d0d7962f93f7195b41e24ae3ed72dc09c7c9f5cf8d9adfb6f30a22c21d86e3498449c0bf3a10ee33
6
+ metadata.gz: a0d6ec4dd56a7a51378d2f5d8f497d6c97c855dc54d19734716b180082d87f69d80379800212f01d59b8d7bba223fab513135b6b7c4b803b5c0e182d46cb0272
7
+ data.tar.gz: ea1a978cab754307ae2317238a43c6ed8c65f8d2348c60e057be013c039988380023e6b69dd5c0c557594de635a52fe2b8c74b974e802f27c5063607051aa7b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.76.0 (2024-12-15)
4
+
5
+ * Regenerated from discovery document revision 20241204
6
+
3
7
  ### v0.75.0 (2024-12-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20241108
@@ -624,6 +624,11 @@ module Google
624
624
  # @return [String]
625
625
  attr_accessor :backend_type
626
626
 
627
+ # Custom subject alternative names for the server certificate.
628
+ # Corresponds to the JSON property `customSubjectAlternativeNames`
629
+ # @return [Array<String>]
630
+ attr_accessor :custom_subject_alternative_names
631
+
627
632
  # The database engine type and version. The `databaseVersion` field cannot be
628
633
  # changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (
629
634
  # default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
@@ -680,6 +685,7 @@ module Google
680
685
  # Update properties of this object
681
686
  def update!(**args)
682
687
  @backend_type = args[:backend_type] if args.key?(:backend_type)
688
+ @custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
683
689
  @database_version = args[:database_version] if args.key?(:database_version)
684
690
  @dns_name = args[:dns_name] if args.key?(:dns_name)
685
691
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
@@ -983,7 +989,7 @@ module Google
983
989
 
984
990
  # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
985
991
  # cross-region replica that you designate for failover in the event that the
986
- # primary instance has regional failure. Only applicable to MySQL.
992
+ # primary instance has regional failure. Applicable to MySQL and PostgreSQL.
987
993
  # Corresponds to the JSON property `replicationCluster`
988
994
  # @return [Google::Apis::SqladminV1beta4::ReplicationCluster]
989
995
  attr_accessor :replication_cluster
@@ -1064,6 +1070,16 @@ module Google
1064
1070
  attr_accessor :switch_transaction_logs_to_cloud_storage_enabled
1065
1071
  alias_method :switch_transaction_logs_to_cloud_storage_enabled?, :switch_transaction_logs_to_cloud_storage_enabled
1066
1072
 
1073
+ # Optional. Input only. Immutable. Tag keys and tag values that are bound to
1074
+ # this instance. You must represent each item in the map as: `"" : ""`. For
1075
+ # example, a single resource can have the following tags: ``` "123/environment":
1076
+ # "production", "123/costCenter": "marketing", ``` For more information on tag
1077
+ # creation and management, see https://cloud.google.com/resource-manager/docs/
1078
+ # tags/tags-overview.
1079
+ # Corresponds to the JSON property `tags`
1080
+ # @return [Hash<String,String>]
1081
+ attr_accessor :tags
1082
+
1067
1083
  # Output only. All database versions that are available for upgrade.
1068
1084
  # Corresponds to the JSON property `upgradableDatabaseVersions`
1069
1085
  # @return [Array<Google::Apis::SqladminV1beta4::AvailableDatabaseVersion>]
@@ -1124,6 +1140,7 @@ module Google
1124
1140
  @state = args[:state] if args.key?(:state)
1125
1141
  @suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
1126
1142
  @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)
1143
+ @tags = args[:tags] if args.key?(:tags)
1127
1144
  @upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
1128
1145
  @write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
1129
1146
  end
@@ -2730,6 +2747,11 @@ module Google
2730
2747
  # @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
2731
2748
  attr_accessor :authorized_networks
2732
2749
 
2750
+ # Optional. Custom Subject Alternative Name(SAN)s for a Cloud SQL instance.
2751
+ # Corresponds to the JSON property `customSubjectAlternativeNames`
2752
+ # @return [Array<String>]
2753
+ attr_accessor :custom_subject_alternative_names
2754
+
2733
2755
  # Controls connectivity to private IP instances from Google services, such as
2734
2756
  # BigQuery.
2735
2757
  # Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
@@ -2773,6 +2795,13 @@ module Google
2773
2795
  # @return [String]
2774
2796
  attr_accessor :server_ca_mode
2775
2797
 
2798
+ # Optional. The resource name of the server CA pool for an instance with `
2799
+ # CUSTOMER_MANAGED_CAS_CA` as the `server_ca_mode`. Format: projects//locations//
2800
+ # caPools/
2801
+ # Corresponds to the JSON property `serverCaPool`
2802
+ # @return [String]
2803
+ attr_accessor :server_ca_pool
2804
+
2776
2805
  # Specify how SSL/TLS is enforced in database connections. If you must use the `
2777
2806
  # require_ssl` flag for backward compatibility, then only the following value
2778
2807
  # pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
@@ -2798,12 +2827,14 @@ module Google
2798
2827
  def update!(**args)
2799
2828
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
2800
2829
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
2830
+ @custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
2801
2831
  @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
2832
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
2803
2833
  @private_network = args[:private_network] if args.key?(:private_network)
2804
2834
  @psc_config = args[:psc_config] if args.key?(:psc_config)
2805
2835
  @require_ssl = args[:require_ssl] if args.key?(:require_ssl)
2806
2836
  @server_ca_mode = args[:server_ca_mode] if args.key?(:server_ca_mode)
2837
+ @server_ca_pool = args[:server_ca_pool] if args.key?(:server_ca_pool)
2807
2838
  @ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
2808
2839
  end
2809
2840
  end
@@ -3198,6 +3229,11 @@ module Google
3198
3229
  # @return [String]
3199
3230
  attr_accessor :status
3200
3231
 
3232
+ # The sub operation type based on the operation type.
3233
+ # Corresponds to the JSON property `subOperationType`
3234
+ # @return [Google::Apis::SqladminV1beta4::SqlSubOperationType]
3235
+ attr_accessor :sub_operation_type
3236
+
3201
3237
  # Name of the database instance related to this operation.
3202
3238
  # Corresponds to the JSON property `targetId`
3203
3239
  # @return [String]
@@ -3238,6 +3274,7 @@ module Google
3238
3274
  @self_link = args[:self_link] if args.key?(:self_link)
3239
3275
  @start_time = args[:start_time] if args.key?(:start_time)
3240
3276
  @status = args[:status] if args.key?(:status)
3277
+ @sub_operation_type = args[:sub_operation_type] if args.key?(:sub_operation_type)
3241
3278
  @target_id = args[:target_id] if args.key?(:target_id)
3242
3279
  @target_link = args[:target_link] if args.key?(:target_link)
3243
3280
  @target_project = args[:target_project] if args.key?(:target_project)
@@ -3311,9 +3348,9 @@ module Google
3311
3348
  attr_accessor :api_version
3312
3349
 
3313
3350
  # 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`.
3351
+ # operation. Operations that have been cancelled successfully have google.
3352
+ # longrunning.Operation.error value with a google.rpc.Status.code of `1`,
3353
+ # corresponding to `Code.CANCELLED`.
3317
3354
  # Corresponds to the JSON property `cancelRequested`
3318
3355
  # @return [Boolean]
3319
3356
  attr_accessor :cancel_requested
@@ -3627,7 +3664,7 @@ module Google
3627
3664
 
3628
3665
  # A primary instance and disaster recovery (DR) replica pair. A DR replica is a
3629
3666
  # cross-region replica that you designate for failover in the event that the
3630
- # primary instance has regional failure. Only applicable to MySQL.
3667
+ # primary instance has regional failure. Applicable to MySQL and PostgreSQL.
3631
3668
  class ReplicationCluster
3632
3669
  include Google::Apis::Core::Hashable
3633
3670
 
@@ -3648,13 +3685,13 @@ module Google
3648
3685
  # @return [String]
3649
3686
  attr_accessor :failover_dr_replica_name
3650
3687
 
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.
3688
+ # Output only. If set, this field indicates this instance has a private service
3689
+ # access (PSA) DNS endpoint that is pointing to the primary instance of the
3690
+ # cluster. If this instance is the primary, then the DNS endpoint points to this
3691
+ # instance. After a switchover or replica failover operation, this DNS endpoint
3692
+ # points to the promoted instance. This is a read-only field, returned to the
3693
+ # user as information. This field can exist even if a standalone instance doesn'
3694
+ # t have a DR replica yet or the DR replica is deleted.
3658
3695
  # Corresponds to the JSON property `psaWriteEndpoint`
3659
3696
  # @return [String]
3660
3697
  attr_accessor :psa_write_endpoint
@@ -4546,6 +4583,25 @@ module Google
4546
4583
  end
4547
4584
  end
4548
4585
 
4586
+ # The sub operation type based on the operation type.
4587
+ class SqlSubOperationType
4588
+ include Google::Apis::Core::Hashable
4589
+
4590
+ # The type of maintenance to be performed on the instance.
4591
+ # Corresponds to the JSON property `maintenanceType`
4592
+ # @return [String]
4593
+ attr_accessor :maintenance_type
4594
+
4595
+ def initialize(**args)
4596
+ update!(**args)
4597
+ end
4598
+
4599
+ # Update properties of this object
4600
+ def update!(**args)
4601
+ @maintenance_type = args[:maintenance_type] if args.key?(:maintenance_type)
4602
+ end
4603
+ end
4604
+
4549
4605
  # SslCerts Resource
4550
4606
  class SslCert
4551
4607
  include Google::Apis::Core::Hashable
@@ -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.75.0"
19
+ GEM_VERSION = "0.76.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 = "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::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::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::SqladminV1beta4::SqlSubOperationType, decorator: Google::Apis::SqladminV1beta4::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
@@ -1177,12 +1177,11 @@ module Google
1177
1177
  # @param [String] instance
1178
1178
  # Cloud SQL read replica instance name.
1179
1179
  # @param [Boolean] failover
1180
- # Set to true to invoke a replica failover to the designated DR replica. As part
1181
- # of replica failover, the promote operation attempts to add the original
1182
- # primary instance as a replica of the promoted DR replica when the original
1183
- # primary instance comes back online. If set to false or not specified, then the
1184
- # original primary instance becomes an independent Cloud SQL primary instance.
1185
- # Only applicable to MySQL.
1180
+ # Set to true to invoke a replica failover to the DR replica. As part of replica
1181
+ # failover, the promote operation attempts to add the original primary instance
1182
+ # as a replica of the promoted DR replica when the original primary instance
1183
+ # comes back online. If set to false or not specified, then the original primary
1184
+ # instance becomes an independent Cloud SQL primary instance.
1186
1185
  # @param [String] fields
1187
1186
  # Selector specifying which fields to include in a partial response.
1188
1187
  # @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,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.76.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-04 00:00:00.000000000 Z
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_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.75.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.76.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: []
@@ -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.22
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 V1beta4