google-apis-sqladmin_v1beta4 0.74.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d05ee32b978ea0c1ece26b24aa5c176c51c108c5f9f1e6390906a87e275a8f50
|
4
|
+
data.tar.gz: 5864da1c745b42b98d49ed90733d39c43d94bbaabdbfafb959e453626461f3c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0d6ec4dd56a7a51378d2f5d8f497d6c97c855dc54d19734716b180082d87f69d80379800212f01d59b8d7bba223fab513135b6b7c4b803b5c0e182d46cb0272
|
7
|
+
data.tar.gz: ea1a978cab754307ae2317238a43c6ed8c65f8d2348c60e057be013c039988380023e6b69dd5c0c557594de635a52fe2b8c74b974e802f27c5063607051aa7b1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
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
|
+
|
7
|
+
### v0.75.0 (2024-12-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241108
|
10
|
+
* Regenerated using generator version 0.15.1
|
11
|
+
|
3
12
|
### v0.74.0 (2024-07-25)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240711
|
@@ -403,6 +403,11 @@ module Google
|
|
403
403
|
# @return [String]
|
404
404
|
attr_accessor :location
|
405
405
|
|
406
|
+
# Output only. The maximum chargeable bytes for the backup.
|
407
|
+
# Corresponds to the JSON property `maxChargeableBytes`
|
408
|
+
# @return [Fixnum]
|
409
|
+
attr_accessor :max_chargeable_bytes
|
410
|
+
|
406
411
|
# The URI of this resource.
|
407
412
|
# Corresponds to the JSON property `selfLink`
|
408
413
|
# @return [String]
|
@@ -457,6 +462,7 @@ module Google
|
|
457
462
|
@instance = args[:instance] if args.key?(:instance)
|
458
463
|
@kind = args[:kind] if args.key?(:kind)
|
459
464
|
@location = args[:location] if args.key?(:location)
|
465
|
+
@max_chargeable_bytes = args[:max_chargeable_bytes] if args.key?(:max_chargeable_bytes)
|
460
466
|
@self_link = args[:self_link] if args.key?(:self_link)
|
461
467
|
@start_time = args[:start_time] if args.key?(:start_time)
|
462
468
|
@status = args[:status] if args.key?(:status)
|
@@ -575,6 +581,13 @@ module Google
|
|
575
581
|
# @return [String]
|
576
582
|
attr_accessor :point_in_time
|
577
583
|
|
584
|
+
# Optional. Copy clone and point-in-time recovery clone of a regional instance
|
585
|
+
# in the specified zones. If not specified, clone to the same secondary zone as
|
586
|
+
# the source instance. This value cannot be the same as the preferred_zone field.
|
587
|
+
# Corresponds to the JSON property `preferredSecondaryZone`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :preferred_secondary_zone
|
590
|
+
|
578
591
|
# Optional. Copy clone and point-in-time recovery clone of an instance to the
|
579
592
|
# specified zone. If no zone is specified, clone to the same primary zone as the
|
580
593
|
# source instance.
|
@@ -595,6 +608,7 @@ module Google
|
|
595
608
|
@kind = args[:kind] if args.key?(:kind)
|
596
609
|
@pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
|
597
610
|
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
611
|
+
@preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
|
598
612
|
@preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
|
599
613
|
end
|
600
614
|
end
|
@@ -610,6 +624,11 @@ module Google
|
|
610
624
|
# @return [String]
|
611
625
|
attr_accessor :backend_type
|
612
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
|
+
|
613
632
|
# The database engine type and version. The `databaseVersion` field cannot be
|
614
633
|
# changed after instance creation. MySQL instances: `MYSQL_8_0`, `MYSQL_5_7` (
|
615
634
|
# default), or `MYSQL_5_6`. PostgreSQL instances: `POSTGRES_9_6`, `POSTGRES_10`,
|
@@ -666,6 +685,7 @@ module Google
|
|
666
685
|
# Update properties of this object
|
667
686
|
def update!(**args)
|
668
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)
|
669
689
|
@database_version = args[:database_version] if args.key?(:database_version)
|
670
690
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
671
691
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
@@ -969,7 +989,7 @@ module Google
|
|
969
989
|
|
970
990
|
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
971
991
|
# cross-region replica that you designate for failover in the event that the
|
972
|
-
# primary instance has regional failure.
|
992
|
+
# primary instance has regional failure. Applicable to MySQL and PostgreSQL.
|
973
993
|
# Corresponds to the JSON property `replicationCluster`
|
974
994
|
# @return [Google::Apis::SqladminV1beta4::ReplicationCluster]
|
975
995
|
attr_accessor :replication_cluster
|
@@ -980,6 +1000,13 @@ module Google
|
|
980
1000
|
# @return [String]
|
981
1001
|
attr_accessor :root_password
|
982
1002
|
|
1003
|
+
# Output only. This status indicates whether the instance satisfies PZI. The
|
1004
|
+
# status is reserved for future use.
|
1005
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
1006
|
+
# @return [Boolean]
|
1007
|
+
attr_accessor :satisfies_pzi
|
1008
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
1009
|
+
|
983
1010
|
# This status indicates whether the instance satisfies PZS. The status is
|
984
1011
|
# reserved for future use.
|
985
1012
|
# Corresponds to the JSON property `satisfiesPzs`
|
@@ -1043,6 +1070,16 @@ module Google
|
|
1043
1070
|
attr_accessor :switch_transaction_logs_to_cloud_storage_enabled
|
1044
1071
|
alias_method :switch_transaction_logs_to_cloud_storage_enabled?, :switch_transaction_logs_to_cloud_storage_enabled
|
1045
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
|
+
|
1046
1083
|
# Output only. All database versions that are available for upgrade.
|
1047
1084
|
# Corresponds to the JSON property `upgradableDatabaseVersions`
|
1048
1085
|
# @return [Array<Google::Apis::SqladminV1beta4::AvailableDatabaseVersion>]
|
@@ -1091,6 +1128,7 @@ module Google
|
|
1091
1128
|
@replica_names = args[:replica_names] if args.key?(:replica_names)
|
1092
1129
|
@replication_cluster = args[:replication_cluster] if args.key?(:replication_cluster)
|
1093
1130
|
@root_password = args[:root_password] if args.key?(:root_password)
|
1131
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1094
1132
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1095
1133
|
@scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
|
1096
1134
|
@secondary_gce_zone = args[:secondary_gce_zone] if args.key?(:secondary_gce_zone)
|
@@ -1102,6 +1140,7 @@ module Google
|
|
1102
1140
|
@state = args[:state] if args.key?(:state)
|
1103
1141
|
@suspension_reason = args[:suspension_reason] if args.key?(:suspension_reason)
|
1104
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)
|
1105
1144
|
@upgradable_database_versions = args[:upgradable_database_versions] if args.key?(:upgradable_database_versions)
|
1106
1145
|
@write_endpoint = args[:write_endpoint] if args.key?(:write_endpoint)
|
1107
1146
|
end
|
@@ -1515,6 +1554,23 @@ module Google
|
|
1515
1554
|
attr_accessor :differential_base
|
1516
1555
|
alias_method :differential_base?, :differential_base
|
1517
1556
|
|
1557
|
+
# Optional. The end timestamp when transaction log will be included in the
|
1558
|
+
# export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for
|
1559
|
+
# example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
|
1560
|
+
# until current time will be included. Only applied to Cloud SQL for SQL Server.
|
1561
|
+
# Corresponds to the JSON property `exportLogEndTime`
|
1562
|
+
# @return [String]
|
1563
|
+
attr_accessor :export_log_end_time
|
1564
|
+
|
1565
|
+
# Optional. The begin timestamp when transaction log will be included in the
|
1566
|
+
# export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for
|
1567
|
+
# example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
|
1568
|
+
# from the beginning of retention period will be included. Only applied to Cloud
|
1569
|
+
# SQL for SQL Server.
|
1570
|
+
# Corresponds to the JSON property `exportLogStartTime`
|
1571
|
+
# @return [String]
|
1572
|
+
attr_accessor :export_log_start_time
|
1573
|
+
|
1518
1574
|
# Option for specifying how many stripes to use for the export. If blank, and
|
1519
1575
|
# the value of the striped field is true, the number of stripes is automatically
|
1520
1576
|
# chosen.
|
@@ -1537,6 +1593,8 @@ module Google
|
|
1537
1593
|
@bak_type = args[:bak_type] if args.key?(:bak_type)
|
1538
1594
|
@copy_only = args[:copy_only] if args.key?(:copy_only)
|
1539
1595
|
@differential_base = args[:differential_base] if args.key?(:differential_base)
|
1596
|
+
@export_log_end_time = args[:export_log_end_time] if args.key?(:export_log_end_time)
|
1597
|
+
@export_log_start_time = args[:export_log_start_time] if args.key?(:export_log_start_time)
|
1540
1598
|
@stripe_count = args[:stripe_count] if args.key?(:stripe_count)
|
1541
1599
|
@striped = args[:striped] if args.key?(:striped)
|
1542
1600
|
end
|
@@ -1694,6 +1752,25 @@ module Google
|
|
1694
1752
|
end
|
1695
1753
|
end
|
1696
1754
|
|
1755
|
+
# The selected object that Cloud SQL migrates.
|
1756
|
+
class ExternalSyncSelectedObject
|
1757
|
+
include Google::Apis::Core::Hashable
|
1758
|
+
|
1759
|
+
# The name of the database that Cloud SQL migrates.
|
1760
|
+
# Corresponds to the JSON property `database`
|
1761
|
+
# @return [String]
|
1762
|
+
attr_accessor :database
|
1763
|
+
|
1764
|
+
def initialize(**args)
|
1765
|
+
update!(**args)
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# Update properties of this object
|
1769
|
+
def update!(**args)
|
1770
|
+
@database = args[:database] if args.key?(:database)
|
1771
|
+
end
|
1772
|
+
end
|
1773
|
+
|
1697
1774
|
# Database instance failover context.
|
1698
1775
|
class FailoverContext
|
1699
1776
|
include Google::Apis::Core::Hashable
|
@@ -2516,6 +2593,44 @@ module Google
|
|
2516
2593
|
end
|
2517
2594
|
end
|
2518
2595
|
|
2596
|
+
# Instances ListServerCertificatess response.
|
2597
|
+
class InstancesListServerCertificatesResponse
|
2598
|
+
include Google::Apis::Core::Hashable
|
2599
|
+
|
2600
|
+
# The `sha1_fingerprint` of the active certificate from `server_certs`.
|
2601
|
+
# Corresponds to the JSON property `activeVersion`
|
2602
|
+
# @return [String]
|
2603
|
+
attr_accessor :active_version
|
2604
|
+
|
2605
|
+
# List of server CA certificates for the instance.
|
2606
|
+
# Corresponds to the JSON property `caCerts`
|
2607
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
2608
|
+
attr_accessor :ca_certs
|
2609
|
+
|
2610
|
+
# This is always `sql#instancesListServerCertificates`.
|
2611
|
+
# Corresponds to the JSON property `kind`
|
2612
|
+
# @return [String]
|
2613
|
+
attr_accessor :kind
|
2614
|
+
|
2615
|
+
# List of server certificates for the instance, signed by the corresponding CA
|
2616
|
+
# from the `ca_certs` list.
|
2617
|
+
# Corresponds to the JSON property `serverCerts`
|
2618
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
2619
|
+
attr_accessor :server_certs
|
2620
|
+
|
2621
|
+
def initialize(**args)
|
2622
|
+
update!(**args)
|
2623
|
+
end
|
2624
|
+
|
2625
|
+
# Update properties of this object
|
2626
|
+
def update!(**args)
|
2627
|
+
@active_version = args[:active_version] if args.key?(:active_version)
|
2628
|
+
@ca_certs = args[:ca_certs] if args.key?(:ca_certs)
|
2629
|
+
@kind = args[:kind] if args.key?(:kind)
|
2630
|
+
@server_certs = args[:server_certs] if args.key?(:server_certs)
|
2631
|
+
end
|
2632
|
+
end
|
2633
|
+
|
2519
2634
|
# Database Instance reencrypt request.
|
2520
2635
|
class InstancesReencryptRequest
|
2521
2636
|
include Google::Apis::Core::Hashable
|
@@ -2574,6 +2689,25 @@ module Google
|
|
2574
2689
|
end
|
2575
2690
|
end
|
2576
2691
|
|
2692
|
+
# Rotate Server Certificate request.
|
2693
|
+
class InstancesRotateServerCertificateRequest
|
2694
|
+
include Google::Apis::Core::Hashable
|
2695
|
+
|
2696
|
+
# Instance rotate server certificate context.
|
2697
|
+
# Corresponds to the JSON property `rotateServerCertificateContext`
|
2698
|
+
# @return [Google::Apis::SqladminV1beta4::RotateServerCertificateContext]
|
2699
|
+
attr_accessor :rotate_server_certificate_context
|
2700
|
+
|
2701
|
+
def initialize(**args)
|
2702
|
+
update!(**args)
|
2703
|
+
end
|
2704
|
+
|
2705
|
+
# Update properties of this object
|
2706
|
+
def update!(**args)
|
2707
|
+
@rotate_server_certificate_context = args[:rotate_server_certificate_context] if args.key?(:rotate_server_certificate_context)
|
2708
|
+
end
|
2709
|
+
end
|
2710
|
+
|
2577
2711
|
# Instance truncate log request.
|
2578
2712
|
class InstancesTruncateLogRequest
|
2579
2713
|
include Google::Apis::Core::Hashable
|
@@ -2613,6 +2747,11 @@ module Google
|
|
2613
2747
|
# @return [Array<Google::Apis::SqladminV1beta4::AclEntry>]
|
2614
2748
|
attr_accessor :authorized_networks
|
2615
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
|
+
|
2616
2755
|
# Controls connectivity to private IP instances from Google services, such as
|
2617
2756
|
# BigQuery.
|
2618
2757
|
# Corresponds to the JSON property `enablePrivatePathForGoogleCloudServices`
|
@@ -2656,6 +2795,13 @@ module Google
|
|
2656
2795
|
# @return [String]
|
2657
2796
|
attr_accessor :server_ca_mode
|
2658
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
|
+
|
2659
2805
|
# Specify how SSL/TLS is enforced in database connections. If you must use the `
|
2660
2806
|
# require_ssl` flag for backward compatibility, then only the following value
|
2661
2807
|
# pairs are valid: For PostgreSQL and MySQL: * `ssl_mode=
|
@@ -2681,12 +2827,14 @@ module Google
|
|
2681
2827
|
def update!(**args)
|
2682
2828
|
@allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
|
2683
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)
|
2684
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)
|
2685
2832
|
@ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
|
2686
2833
|
@private_network = args[:private_network] if args.key?(:private_network)
|
2687
2834
|
@psc_config = args[:psc_config] if args.key?(:psc_config)
|
2688
2835
|
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
2689
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)
|
2690
2838
|
@ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode)
|
2691
2839
|
end
|
2692
2840
|
end
|
@@ -2957,11 +3105,22 @@ module Google
|
|
2957
3105
|
# @return [String]
|
2958
3106
|
attr_accessor :password
|
2959
3107
|
|
3108
|
+
# Optional. A list of objects that the user selects for replication from an
|
3109
|
+
# external source instance.
|
3110
|
+
# Corresponds to the JSON property `selectedObjects`
|
3111
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SelectedObjects>]
|
3112
|
+
attr_accessor :selected_objects
|
3113
|
+
|
2960
3114
|
# Reference to another Cloud SQL instance.
|
2961
3115
|
# Corresponds to the JSON property `sourceInstance`
|
2962
3116
|
# @return [Google::Apis::SqladminV1beta4::InstanceReference]
|
2963
3117
|
attr_accessor :source_instance
|
2964
3118
|
|
3119
|
+
# Optional. SslOption for replica connection to the on-premises source.
|
3120
|
+
# Corresponds to the JSON property `sslOption`
|
3121
|
+
# @return [String]
|
3122
|
+
attr_accessor :ssl_option
|
3123
|
+
|
2965
3124
|
# The username for connecting to on-premises instance.
|
2966
3125
|
# Corresponds to the JSON property `username`
|
2967
3126
|
# @return [String]
|
@@ -2980,7 +3139,9 @@ module Google
|
|
2980
3139
|
@host_port = args[:host_port] if args.key?(:host_port)
|
2981
3140
|
@kind = args[:kind] if args.key?(:kind)
|
2982
3141
|
@password = args[:password] if args.key?(:password)
|
3142
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
2983
3143
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
3144
|
+
@ssl_option = args[:ssl_option] if args.key?(:ssl_option)
|
2984
3145
|
@username = args[:username] if args.key?(:username)
|
2985
3146
|
end
|
2986
3147
|
end
|
@@ -3068,6 +3229,11 @@ module Google
|
|
3068
3229
|
# @return [String]
|
3069
3230
|
attr_accessor :status
|
3070
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
|
+
|
3071
3237
|
# Name of the database instance related to this operation.
|
3072
3238
|
# Corresponds to the JSON property `targetId`
|
3073
3239
|
# @return [String]
|
@@ -3108,6 +3274,7 @@ module Google
|
|
3108
3274
|
@self_link = args[:self_link] if args.key?(:self_link)
|
3109
3275
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3110
3276
|
@status = args[:status] if args.key?(:status)
|
3277
|
+
@sub_operation_type = args[:sub_operation_type] if args.key?(:sub_operation_type)
|
3111
3278
|
@target_id = args[:target_id] if args.key?(:target_id)
|
3112
3279
|
@target_link = args[:target_link] if args.key?(:target_link)
|
3113
3280
|
@target_project = args[:target_project] if args.key?(:target_project)
|
@@ -3181,9 +3348,9 @@ module Google
|
|
3181
3348
|
attr_accessor :api_version
|
3182
3349
|
|
3183
3350
|
# Output only. Identifies whether the user has requested cancellation of the
|
3184
|
-
# operation. Operations that have been cancelled successfully have
|
3185
|
-
# error value with a google.rpc.Status.code of 1
|
3186
|
-
# 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`.
|
3187
3354
|
# Corresponds to the JSON property `cancelRequested`
|
3188
3355
|
# @return [Boolean]
|
3189
3356
|
attr_accessor :cancel_requested
|
@@ -3366,6 +3533,54 @@ module Google
|
|
3366
3533
|
end
|
3367
3534
|
end
|
3368
3535
|
|
3536
|
+
# Settings for an automatically-setup Private Service Connect consumer endpoint
|
3537
|
+
# that is used to connect to a Cloud SQL instance.
|
3538
|
+
class PscAutoConnectionConfig
|
3539
|
+
include Google::Apis::Core::Hashable
|
3540
|
+
|
3541
|
+
# The consumer network of this consumer endpoint. This must be a resource path
|
3542
|
+
# that includes both the host project and the network name. For example, `
|
3543
|
+
# projects/project1/global/networks/network1`. The consumer host project of this
|
3544
|
+
# network might be different from the consumer service project.
|
3545
|
+
# Corresponds to the JSON property `consumerNetwork`
|
3546
|
+
# @return [String]
|
3547
|
+
attr_accessor :consumer_network
|
3548
|
+
|
3549
|
+
# The connection policy status of the consumer network.
|
3550
|
+
# Corresponds to the JSON property `consumerNetworkStatus`
|
3551
|
+
# @return [String]
|
3552
|
+
attr_accessor :consumer_network_status
|
3553
|
+
|
3554
|
+
# This is the project ID of consumer service project of this consumer endpoint.
|
3555
|
+
# Optional. This is only applicable if consumer_network is a shared vpc network.
|
3556
|
+
# Corresponds to the JSON property `consumerProject`
|
3557
|
+
# @return [String]
|
3558
|
+
attr_accessor :consumer_project
|
3559
|
+
|
3560
|
+
# The IP address of the consumer endpoint.
|
3561
|
+
# Corresponds to the JSON property `ipAddress`
|
3562
|
+
# @return [String]
|
3563
|
+
attr_accessor :ip_address
|
3564
|
+
|
3565
|
+
# The connection status of the consumer endpoint.
|
3566
|
+
# Corresponds to the JSON property `status`
|
3567
|
+
# @return [String]
|
3568
|
+
attr_accessor :status
|
3569
|
+
|
3570
|
+
def initialize(**args)
|
3571
|
+
update!(**args)
|
3572
|
+
end
|
3573
|
+
|
3574
|
+
# Update properties of this object
|
3575
|
+
def update!(**args)
|
3576
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
3577
|
+
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
3578
|
+
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
3579
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
3580
|
+
@status = args[:status] if args.key?(:status)
|
3581
|
+
end
|
3582
|
+
end
|
3583
|
+
|
3369
3584
|
# PSC settings for a Cloud SQL instance.
|
3370
3585
|
class PscConfig
|
3371
3586
|
include Google::Apis::Core::Hashable
|
@@ -3378,6 +3593,12 @@ module Google
|
|
3378
3593
|
# @return [Array<String>]
|
3379
3594
|
attr_accessor :allowed_consumer_projects
|
3380
3595
|
|
3596
|
+
# Optional. The list of settings for requested Private Service Connect consumer
|
3597
|
+
# endpoints that can be used to connect to this Cloud SQL instance.
|
3598
|
+
# Corresponds to the JSON property `pscAutoConnections`
|
3599
|
+
# @return [Array<Google::Apis::SqladminV1beta4::PscAutoConnectionConfig>]
|
3600
|
+
attr_accessor :psc_auto_connections
|
3601
|
+
|
3381
3602
|
# Whether PSC connectivity is enabled for this instance.
|
3382
3603
|
# Corresponds to the JSON property `pscEnabled`
|
3383
3604
|
# @return [Boolean]
|
@@ -3391,6 +3612,7 @@ module Google
|
|
3391
3612
|
# Update properties of this object
|
3392
3613
|
def update!(**args)
|
3393
3614
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
3615
|
+
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
3394
3616
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
3395
3617
|
end
|
3396
3618
|
end
|
@@ -3442,7 +3664,7 @@ module Google
|
|
3442
3664
|
|
3443
3665
|
# A primary instance and disaster recovery (DR) replica pair. A DR replica is a
|
3444
3666
|
# cross-region replica that you designate for failover in the event that the
|
3445
|
-
# primary instance has regional failure.
|
3667
|
+
# primary instance has regional failure. Applicable to MySQL and PostgreSQL.
|
3446
3668
|
class ReplicationCluster
|
3447
3669
|
include Google::Apis::Core::Hashable
|
3448
3670
|
|
@@ -3463,13 +3685,13 @@ module Google
|
|
3463
3685
|
# @return [String]
|
3464
3686
|
attr_accessor :failover_dr_replica_name
|
3465
3687
|
|
3466
|
-
# Output only. If set,
|
3467
|
-
# PSA)
|
3468
|
-
# this instance is the primary, the
|
3469
|
-
# After
|
3470
|
-
# instance. This is a read-only field, returned to the
|
3471
|
-
# field can exist even if a standalone instance
|
3472
|
-
#
|
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.
|
3473
3695
|
# Corresponds to the JSON property `psaWriteEndpoint`
|
3474
3696
|
# @return [String]
|
3475
3697
|
attr_accessor :psa_write_endpoint
|
@@ -3577,6 +3799,53 @@ module Google
|
|
3577
3799
|
end
|
3578
3800
|
end
|
3579
3801
|
|
3802
|
+
# Instance rotate server certificate context.
|
3803
|
+
class RotateServerCertificateContext
|
3804
|
+
include Google::Apis::Core::Hashable
|
3805
|
+
|
3806
|
+
# Optional. This is always `sql#rotateServerCertificateContext`.
|
3807
|
+
# Corresponds to the JSON property `kind`
|
3808
|
+
# @return [String]
|
3809
|
+
attr_accessor :kind
|
3810
|
+
|
3811
|
+
# Optional. The fingerprint of the next version to be rotated to. If left
|
3812
|
+
# unspecified, will be rotated to the most recently added server certificate
|
3813
|
+
# version.
|
3814
|
+
# Corresponds to the JSON property `nextVersion`
|
3815
|
+
# @return [String]
|
3816
|
+
attr_accessor :next_version
|
3817
|
+
|
3818
|
+
def initialize(**args)
|
3819
|
+
update!(**args)
|
3820
|
+
end
|
3821
|
+
|
3822
|
+
# Update properties of this object
|
3823
|
+
def update!(**args)
|
3824
|
+
@kind = args[:kind] if args.key?(:kind)
|
3825
|
+
@next_version = args[:next_version] if args.key?(:next_version)
|
3826
|
+
end
|
3827
|
+
end
|
3828
|
+
|
3829
|
+
# A list of objects that the user selects for replication from an external
|
3830
|
+
# source instance.
|
3831
|
+
class SelectedObjects
|
3832
|
+
include Google::Apis::Core::Hashable
|
3833
|
+
|
3834
|
+
# Required. The name of the database to migrate.
|
3835
|
+
# Corresponds to the JSON property `database`
|
3836
|
+
# @return [String]
|
3837
|
+
attr_accessor :database
|
3838
|
+
|
3839
|
+
def initialize(**args)
|
3840
|
+
update!(**args)
|
3841
|
+
end
|
3842
|
+
|
3843
|
+
# Update properties of this object
|
3844
|
+
def update!(**args)
|
3845
|
+
@database = args[:database] if args.key?(:database)
|
3846
|
+
end
|
3847
|
+
end
|
3848
|
+
|
3580
3849
|
# Database instance settings.
|
3581
3850
|
class Settings
|
3582
3851
|
include Google::Apis::Core::Hashable
|
@@ -4083,6 +4352,12 @@ module Google
|
|
4083
4352
|
# @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
|
4084
4353
|
attr_accessor :mysql_sync_config
|
4085
4354
|
|
4355
|
+
# Optional. Migrate only the specified objects from the source instance. If this
|
4356
|
+
# field is empty, then migrate all objects.
|
4357
|
+
# Corresponds to the JSON property `selectedObjects`
|
4358
|
+
# @return [Array<Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject>]
|
4359
|
+
attr_accessor :selected_objects
|
4360
|
+
|
4086
4361
|
# External sync mode
|
4087
4362
|
# Corresponds to the JSON property `syncMode`
|
4088
4363
|
# @return [String]
|
@@ -4113,6 +4388,7 @@ module Google
|
|
4113
4388
|
def update!(**args)
|
4114
4389
|
@migration_type = args[:migration_type] if args.key?(:migration_type)
|
4115
4390
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
4391
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
4116
4392
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
4117
4393
|
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
4118
4394
|
@verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
|
@@ -4307,6 +4583,25 @@ module Google
|
|
4307
4583
|
end
|
4308
4584
|
end
|
4309
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
|
+
|
4310
4605
|
# SslCerts Resource
|
4311
4606
|
class SslCert
|
4312
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.
|
19
|
+
GEM_VERSION = "0.76.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
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
|
|
@@ -364,6 +370,12 @@ module Google
|
|
364
370
|
include Google::Apis::Core::JsonObjectSupport
|
365
371
|
end
|
366
372
|
|
373
|
+
class InstancesListServerCertificatesResponse
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
367
379
|
class InstancesReencryptRequest
|
368
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
381
|
|
@@ -382,6 +394,12 @@ module Google
|
|
382
394
|
include Google::Apis::Core::JsonObjectSupport
|
383
395
|
end
|
384
396
|
|
397
|
+
class InstancesRotateServerCertificateRequest
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
385
403
|
class InstancesTruncateLogRequest
|
386
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
405
|
|
@@ -478,6 +496,12 @@ module Google
|
|
478
496
|
include Google::Apis::Core::JsonObjectSupport
|
479
497
|
end
|
480
498
|
|
499
|
+
class PscAutoConnectionConfig
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
481
505
|
class PscConfig
|
482
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
507
|
|
@@ -514,6 +538,18 @@ module Google
|
|
514
538
|
include Google::Apis::Core::JsonObjectSupport
|
515
539
|
end
|
516
540
|
|
541
|
+
class RotateServerCertificateContext
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
|
+
|
544
|
+
include Google::Apis::Core::JsonObjectSupport
|
545
|
+
end
|
546
|
+
|
547
|
+
class SelectedObjects
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
549
|
+
|
550
|
+
include Google::Apis::Core::JsonObjectSupport
|
551
|
+
end
|
552
|
+
|
517
553
|
class Settings
|
518
554
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
555
|
|
@@ -616,6 +652,12 @@ module Google
|
|
616
652
|
include Google::Apis::Core::JsonObjectSupport
|
617
653
|
end
|
618
654
|
|
655
|
+
class SqlSubOperationType
|
656
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
|
+
|
658
|
+
include Google::Apis::Core::JsonObjectSupport
|
659
|
+
end
|
660
|
+
|
619
661
|
class SslCert
|
620
662
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
663
|
|
@@ -797,6 +839,7 @@ module Google
|
|
797
839
|
property :instance, as: 'instance'
|
798
840
|
property :kind, as: 'kind'
|
799
841
|
property :location, as: 'location'
|
842
|
+
property :max_chargeable_bytes, :numeric_string => true, as: 'maxChargeableBytes'
|
800
843
|
property :self_link, as: 'selfLink'
|
801
844
|
property :start_time, as: 'startTime'
|
802
845
|
property :status, as: 'status'
|
@@ -836,6 +879,7 @@ module Google
|
|
836
879
|
property :kind, as: 'kind'
|
837
880
|
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
|
838
881
|
property :point_in_time, as: 'pointInTime'
|
882
|
+
property :preferred_secondary_zone, as: 'preferredSecondaryZone'
|
839
883
|
property :preferred_zone, as: 'preferredZone'
|
840
884
|
end
|
841
885
|
end
|
@@ -844,6 +888,7 @@ module Google
|
|
844
888
|
# @private
|
845
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
846
890
|
property :backend_type, as: 'backendType'
|
891
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
847
892
|
property :database_version, as: 'databaseVersion'
|
848
893
|
property :dns_name, as: 'dnsName'
|
849
894
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
|
@@ -932,6 +977,7 @@ module Google
|
|
932
977
|
property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1beta4::ReplicationCluster, decorator: Google::Apis::SqladminV1beta4::ReplicationCluster::Representation
|
933
978
|
|
934
979
|
property :root_password, as: 'rootPassword'
|
980
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
935
981
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
936
982
|
property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance::Representation
|
937
983
|
|
@@ -946,6 +992,7 @@ module Google
|
|
946
992
|
property :state, as: 'state'
|
947
993
|
collection :suspension_reason, as: 'suspensionReason'
|
948
994
|
property :switch_transaction_logs_to_cloud_storage_enabled, as: 'switchTransactionLogsToCloudStorageEnabled'
|
995
|
+
hash :tags, as: 'tags'
|
949
996
|
collection :upgradable_database_versions, as: 'upgradableDatabaseVersions', class: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion, decorator: Google::Apis::SqladminV1beta4::AvailableDatabaseVersion::Representation
|
950
997
|
|
951
998
|
property :write_endpoint, as: 'writeEndpoint'
|
@@ -1063,6 +1110,8 @@ module Google
|
|
1063
1110
|
property :bak_type, as: 'bakType'
|
1064
1111
|
property :copy_only, as: 'copyOnly'
|
1065
1112
|
property :differential_base, as: 'differentialBase'
|
1113
|
+
property :export_log_end_time, as: 'exportLogEndTime'
|
1114
|
+
property :export_log_start_time, as: 'exportLogStartTime'
|
1066
1115
|
property :stripe_count, as: 'stripeCount'
|
1067
1116
|
property :striped, as: 'striped'
|
1068
1117
|
end
|
@@ -1109,6 +1158,13 @@ module Google
|
|
1109
1158
|
end
|
1110
1159
|
end
|
1111
1160
|
|
1161
|
+
class ExternalSyncSelectedObject
|
1162
|
+
# @private
|
1163
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1164
|
+
property :database, as: 'database'
|
1165
|
+
end
|
1166
|
+
end
|
1167
|
+
|
1112
1168
|
class FailoverContext
|
1113
1169
|
# @private
|
1114
1170
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1340,6 +1396,18 @@ module Google
|
|
1340
1396
|
end
|
1341
1397
|
end
|
1342
1398
|
|
1399
|
+
class InstancesListServerCertificatesResponse
|
1400
|
+
# @private
|
1401
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1402
|
+
property :active_version, as: 'activeVersion'
|
1403
|
+
collection :ca_certs, as: 'caCerts', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
1404
|
+
|
1405
|
+
property :kind, as: 'kind'
|
1406
|
+
collection :server_certs, as: 'serverCerts', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
1407
|
+
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1343
1411
|
class InstancesReencryptRequest
|
1344
1412
|
# @private
|
1345
1413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1364,6 +1432,14 @@ module Google
|
|
1364
1432
|
end
|
1365
1433
|
end
|
1366
1434
|
|
1435
|
+
class InstancesRotateServerCertificateRequest
|
1436
|
+
# @private
|
1437
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1438
|
+
property :rotate_server_certificate_context, as: 'rotateServerCertificateContext', class: Google::Apis::SqladminV1beta4::RotateServerCertificateContext, decorator: Google::Apis::SqladminV1beta4::RotateServerCertificateContext::Representation
|
1439
|
+
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
|
1367
1443
|
class InstancesTruncateLogRequest
|
1368
1444
|
# @private
|
1369
1445
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1378,6 +1454,7 @@ module Google
|
|
1378
1454
|
property :allocated_ip_range, as: 'allocatedIpRange'
|
1379
1455
|
collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::AclEntry::Representation
|
1380
1456
|
|
1457
|
+
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
1381
1458
|
property :enable_private_path_for_google_cloud_services, as: 'enablePrivatePathForGoogleCloudServices'
|
1382
1459
|
property :ipv4_enabled, as: 'ipv4Enabled'
|
1383
1460
|
property :private_network, as: 'privateNetwork'
|
@@ -1385,6 +1462,7 @@ module Google
|
|
1385
1462
|
|
1386
1463
|
property :require_ssl, as: 'requireSsl'
|
1387
1464
|
property :server_ca_mode, as: 'serverCaMode'
|
1465
|
+
property :server_ca_pool, as: 'serverCaPool'
|
1388
1466
|
property :ssl_mode, as: 'sslMode'
|
1389
1467
|
end
|
1390
1468
|
end
|
@@ -1453,8 +1531,11 @@ module Google
|
|
1453
1531
|
property :host_port, as: 'hostPort'
|
1454
1532
|
property :kind, as: 'kind'
|
1455
1533
|
property :password, as: 'password'
|
1534
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1beta4::SelectedObjects, decorator: Google::Apis::SqladminV1beta4::SelectedObjects::Representation
|
1535
|
+
|
1456
1536
|
property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1beta4::InstanceReference, decorator: Google::Apis::SqladminV1beta4::InstanceReference::Representation
|
1457
1537
|
|
1538
|
+
property :ssl_option, as: 'sslOption'
|
1458
1539
|
property :username, as: 'username'
|
1459
1540
|
end
|
1460
1541
|
end
|
@@ -1482,6 +1563,8 @@ module Google
|
|
1482
1563
|
property :self_link, as: 'selfLink'
|
1483
1564
|
property :start_time, as: 'startTime'
|
1484
1565
|
property :status, as: 'status'
|
1566
|
+
property :sub_operation_type, as: 'subOperationType', class: Google::Apis::SqladminV1beta4::SqlSubOperationType, decorator: Google::Apis::SqladminV1beta4::SqlSubOperationType::Representation
|
1567
|
+
|
1485
1568
|
property :target_id, as: 'targetId'
|
1486
1569
|
property :target_link, as: 'targetLink'
|
1487
1570
|
property :target_project, as: 'targetProject'
|
@@ -1558,10 +1641,23 @@ module Google
|
|
1558
1641
|
end
|
1559
1642
|
end
|
1560
1643
|
|
1644
|
+
class PscAutoConnectionConfig
|
1645
|
+
# @private
|
1646
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1647
|
+
property :consumer_network, as: 'consumerNetwork'
|
1648
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1649
|
+
property :consumer_project, as: 'consumerProject'
|
1650
|
+
property :ip_address, as: 'ipAddress'
|
1651
|
+
property :status, as: 'status'
|
1652
|
+
end
|
1653
|
+
end
|
1654
|
+
|
1561
1655
|
class PscConfig
|
1562
1656
|
# @private
|
1563
1657
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1564
1658
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1659
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig::Representation
|
1660
|
+
|
1565
1661
|
property :psc_enabled, as: 'pscEnabled'
|
1566
1662
|
end
|
1567
1663
|
end
|
@@ -1612,6 +1708,21 @@ module Google
|
|
1612
1708
|
end
|
1613
1709
|
end
|
1614
1710
|
|
1711
|
+
class RotateServerCertificateContext
|
1712
|
+
# @private
|
1713
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1714
|
+
property :kind, as: 'kind'
|
1715
|
+
property :next_version, as: 'nextVersion'
|
1716
|
+
end
|
1717
|
+
end
|
1718
|
+
|
1719
|
+
class SelectedObjects
|
1720
|
+
# @private
|
1721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1722
|
+
property :database, as: 'database'
|
1723
|
+
end
|
1724
|
+
end
|
1725
|
+
|
1615
1726
|
class Settings
|
1616
1727
|
# @private
|
1617
1728
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1744,6 +1855,8 @@ module Google
|
|
1744
1855
|
property :migration_type, as: 'migrationType'
|
1745
1856
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
|
1746
1857
|
|
1858
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject, decorator: Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject::Representation
|
1859
|
+
|
1747
1860
|
property :sync_mode, as: 'syncMode'
|
1748
1861
|
property :sync_parallel_level, as: 'syncParallelLevel'
|
1749
1862
|
property :verify_connection_only, as: 'verifyConnectionOnly'
|
@@ -1806,6 +1919,13 @@ module Google
|
|
1806
1919
|
end
|
1807
1920
|
end
|
1808
1921
|
|
1922
|
+
class SqlSubOperationType
|
1923
|
+
# @private
|
1924
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1925
|
+
property :maintenance_type, as: 'maintenanceType'
|
1926
|
+
end
|
1927
|
+
end
|
1928
|
+
|
1809
1929
|
class SslCert
|
1810
1930
|
# @private
|
1811
1931
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -531,6 +531,82 @@ module Google
|
|
531
531
|
execute_or_queue_command(command, &block)
|
532
532
|
end
|
533
533
|
|
534
|
+
# Lists all versions of server certificates and certificate authorities (CAs)
|
535
|
+
# for the specified instance. There can be up to three sets of certs listed: the
|
536
|
+
# certificate that is currently in use, a future that has been added but not yet
|
537
|
+
# used to sign a certificate, and a certificate that has been rotated out. For
|
538
|
+
# instances not using Certificate Authority Service (CAS) server CA, use
|
539
|
+
# ListServerCas instead.
|
540
|
+
# @param [String] project
|
541
|
+
# Required. Project ID of the project that contains the instance.
|
542
|
+
# @param [String] instance
|
543
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
544
|
+
# @param [String] fields
|
545
|
+
# Selector specifying which fields to include in a partial response.
|
546
|
+
# @param [String] quota_user
|
547
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
548
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
549
|
+
# @param [Google::Apis::RequestOptions] options
|
550
|
+
# Request-specific options
|
551
|
+
#
|
552
|
+
# @yield [result, err] Result & error if block supplied
|
553
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::InstancesListServerCertificatesResponse] parsed result object
|
554
|
+
# @yieldparam err [StandardError] error object if request failed
|
555
|
+
#
|
556
|
+
# @return [Google::Apis::SqladminV1beta4::InstancesListServerCertificatesResponse]
|
557
|
+
#
|
558
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
559
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
560
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
561
|
+
def list_instance_server_certificates(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
562
|
+
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/listServerCertificates', options)
|
563
|
+
command.response_representation = Google::Apis::SqladminV1beta4::InstancesListServerCertificatesResponse::Representation
|
564
|
+
command.response_class = Google::Apis::SqladminV1beta4::InstancesListServerCertificatesResponse
|
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
|
+
|
572
|
+
# Rotates the server certificate version to one previously added with the
|
573
|
+
# addServerCertificate method. For instances not using Certificate Authority
|
574
|
+
# Service (CAS) server CA, use RotateServerCa instead.
|
575
|
+
# @param [String] project
|
576
|
+
# Required. Project ID of the project that contains the instance.
|
577
|
+
# @param [String] instance
|
578
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
579
|
+
# @param [Google::Apis::SqladminV1beta4::InstancesRotateServerCertificateRequest] instances_rotate_server_certificate_request_object
|
580
|
+
# @param [String] fields
|
581
|
+
# Selector specifying which fields to include in a partial response.
|
582
|
+
# @param [String] quota_user
|
583
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
584
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
585
|
+
# @param [Google::Apis::RequestOptions] options
|
586
|
+
# Request-specific options
|
587
|
+
#
|
588
|
+
# @yield [result, err] Result & error if block supplied
|
589
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
590
|
+
# @yieldparam err [StandardError] error object if request failed
|
591
|
+
#
|
592
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
593
|
+
#
|
594
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
595
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
596
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
597
|
+
def rotate_instance_server_certificate(project, instance, instances_rotate_server_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
598
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/rotateServerCertificate', options)
|
599
|
+
command.request_representation = Google::Apis::SqladminV1beta4::InstancesRotateServerCertificateRequest::Representation
|
600
|
+
command.request_object = instances_rotate_server_certificate_request_object
|
601
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
602
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
603
|
+
command.params['project'] = project unless project.nil?
|
604
|
+
command.params['instance'] = instance unless instance.nil?
|
605
|
+
command.query['fields'] = fields unless fields.nil?
|
606
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
607
|
+
execute_or_queue_command(command, &block)
|
608
|
+
end
|
609
|
+
|
534
610
|
# Acquire a lease for the setup of SQL Server Reporting Services (SSRS).
|
535
611
|
# @param [String] project
|
536
612
|
# Required. ID of the project that contains the instance (Example: project-id).
|
@@ -574,8 +650,7 @@ module Google
|
|
574
650
|
# previously added but never used in a certificate rotation, this operation
|
575
651
|
# replaces that version. There cannot be more than one CA version waiting to be
|
576
652
|
# rotated in. For instances that have enabled Certificate Authority Service (CAS)
|
577
|
-
# based server CA,
|
578
|
-
# certificate.
|
653
|
+
# based server CA, use AddServerCertificate to add a new server certificate.
|
579
654
|
# @param [String] project
|
580
655
|
# Project ID of the project that contains the instance.
|
581
656
|
# @param [String] instance
|
@@ -608,6 +683,44 @@ module Google
|
|
608
683
|
execute_or_queue_command(command, &block)
|
609
684
|
end
|
610
685
|
|
686
|
+
# Add a new trusted server certificate version for the specified instance using
|
687
|
+
# Certificate Authority Service (CAS) server CA. Required to prepare for a
|
688
|
+
# certificate rotation. If a server certificate version was previously added but
|
689
|
+
# never used in a certificate rotation, this operation replaces that version.
|
690
|
+
# There cannot be more than one certificate version waiting to be rotated in.
|
691
|
+
# For instances not using CAS server CA, use AddServerCa instead.
|
692
|
+
# @param [String] project
|
693
|
+
# Required. Project ID of the project that contains the instance.
|
694
|
+
# @param [String] instance
|
695
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
696
|
+
# @param [String] fields
|
697
|
+
# Selector specifying which fields to include in a partial response.
|
698
|
+
# @param [String] quota_user
|
699
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
700
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
701
|
+
# @param [Google::Apis::RequestOptions] options
|
702
|
+
# Request-specific options
|
703
|
+
#
|
704
|
+
# @yield [result, err] Result & error if block supplied
|
705
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Operation] parsed result object
|
706
|
+
# @yieldparam err [StandardError] error object if request failed
|
707
|
+
#
|
708
|
+
# @return [Google::Apis::SqladminV1beta4::Operation]
|
709
|
+
#
|
710
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
711
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
712
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
713
|
+
def add_instance_server_certificate(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
714
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/addServerCertificate', options)
|
715
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
|
716
|
+
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
717
|
+
command.params['project'] = project unless project.nil?
|
718
|
+
command.params['instance'] = instance unless instance.nil?
|
719
|
+
command.query['fields'] = fields unless fields.nil?
|
720
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
721
|
+
execute_or_queue_command(command, &block)
|
722
|
+
end
|
723
|
+
|
611
724
|
# Creates a Cloud SQL instance as a clone of the source instance. Using this
|
612
725
|
# operation might cause your instance to restart.
|
613
726
|
# @param [String] project
|
@@ -1064,12 +1177,11 @@ module Google
|
|
1064
1177
|
# @param [String] instance
|
1065
1178
|
# Cloud SQL read replica instance name.
|
1066
1179
|
# @param [Boolean] failover
|
1067
|
-
# Set to true to invoke a replica failover to the
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
# 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.
|
1073
1185
|
# @param [String] fields
|
1074
1186
|
# Selector specifying which fields to include in a partial response.
|
1075
1187
|
# @param [String] quota_user
|
@@ -1277,7 +1389,7 @@ module Google
|
|
1277
1389
|
|
1278
1390
|
# Rotates the server certificate to one signed by the Certificate Authority (CA)
|
1279
1391
|
# version previously added with the addServerCA method. For instances that have
|
1280
|
-
# enabled Certificate Authority Service (CAS) based server CA,
|
1392
|
+
# enabled Certificate Authority Service (CAS) based server CA, use
|
1281
1393
|
# RotateServerCertificate to rotate the server certificate.
|
1282
1394
|
# @param [String] project
|
1283
1395
|
# Project ID of the project that contains the instance.
|
@@ -1380,15 +1492,15 @@ module Google
|
|
1380
1492
|
execute_or_queue_command(command, &block)
|
1381
1493
|
end
|
1382
1494
|
|
1383
|
-
# Switches over from the primary instance to the
|
1495
|
+
# Switches over from the primary instance to the DR replica instance.
|
1384
1496
|
# @param [String] project
|
1385
1497
|
# ID of the project that contains the replica.
|
1386
1498
|
# @param [String] instance
|
1387
1499
|
# Cloud SQL read replica instance name.
|
1388
1500
|
# @param [String] db_timeout
|
1389
|
-
# Optional. (MySQL only) Cloud SQL instance operations timeout,
|
1390
|
-
# of all database operations. Default value is 10 minutes and can
|
1391
|
-
# 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.
|
1392
1504
|
# @param [String] fields
|
1393
1505
|
# Selector specifying which fields to include in a partial response.
|
1394
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.
|
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-
|
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.
|
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.
|
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
|