google-apis-sqladmin_v1beta4 0.74.0 → 0.75.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: 9b1e34b6b11f1d16030de792471042a2a287e450dec047616c95685228f25866
|
4
|
+
data.tar.gz: '053850a811b54810eea9ae040b3849025bca01b55d05e45157b375449cc1b684'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e9aa56a4843a07bfb85d8821dd85065ffc3a53afc6b6b3fb0c930bbe754a1970cf5c49a9e9a8ac1820421ade7a68ae327989545f7244551a2735499b97ff43a
|
7
|
+
data.tar.gz: 192723564c53a37fd455274dc51ea62f1474289a6f0a5ce1d0d7962f93f7195b41e24ae3ed72dc09c7c9f5cf8d9adfb6f30a22c21d86e3498449c0bf3a10ee33
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.75.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241108
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.74.0 (2024-07-25)
|
4
9
|
|
5
10
|
* 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
|
@@ -980,6 +994,13 @@ module Google
|
|
980
994
|
# @return [String]
|
981
995
|
attr_accessor :root_password
|
982
996
|
|
997
|
+
# Output only. This status indicates whether the instance satisfies PZI. The
|
998
|
+
# status is reserved for future use.
|
999
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
1000
|
+
# @return [Boolean]
|
1001
|
+
attr_accessor :satisfies_pzi
|
1002
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
1003
|
+
|
983
1004
|
# This status indicates whether the instance satisfies PZS. The status is
|
984
1005
|
# reserved for future use.
|
985
1006
|
# Corresponds to the JSON property `satisfiesPzs`
|
@@ -1091,6 +1112,7 @@ module Google
|
|
1091
1112
|
@replica_names = args[:replica_names] if args.key?(:replica_names)
|
1092
1113
|
@replication_cluster = args[:replication_cluster] if args.key?(:replication_cluster)
|
1093
1114
|
@root_password = args[:root_password] if args.key?(:root_password)
|
1115
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
1094
1116
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
1095
1117
|
@scheduled_maintenance = args[:scheduled_maintenance] if args.key?(:scheduled_maintenance)
|
1096
1118
|
@secondary_gce_zone = args[:secondary_gce_zone] if args.key?(:secondary_gce_zone)
|
@@ -1515,6 +1537,23 @@ module Google
|
|
1515
1537
|
attr_accessor :differential_base
|
1516
1538
|
alias_method :differential_base?, :differential_base
|
1517
1539
|
|
1540
|
+
# Optional. The end timestamp when transaction log will be included in the
|
1541
|
+
# export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for
|
1542
|
+
# example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
|
1543
|
+
# until current time will be included. Only applied to Cloud SQL for SQL Server.
|
1544
|
+
# Corresponds to the JSON property `exportLogEndTime`
|
1545
|
+
# @return [String]
|
1546
|
+
attr_accessor :export_log_end_time
|
1547
|
+
|
1548
|
+
# Optional. The begin timestamp when transaction log will be included in the
|
1549
|
+
# export operation. [RFC 3339](https://tools.ietf.org/html/rfc3339) format (for
|
1550
|
+
# example, `2023-10-01T16:19:00.094`) in UTC. When omitted, all available logs
|
1551
|
+
# from the beginning of retention period will be included. Only applied to Cloud
|
1552
|
+
# SQL for SQL Server.
|
1553
|
+
# Corresponds to the JSON property `exportLogStartTime`
|
1554
|
+
# @return [String]
|
1555
|
+
attr_accessor :export_log_start_time
|
1556
|
+
|
1518
1557
|
# Option for specifying how many stripes to use for the export. If blank, and
|
1519
1558
|
# the value of the striped field is true, the number of stripes is automatically
|
1520
1559
|
# chosen.
|
@@ -1537,6 +1576,8 @@ module Google
|
|
1537
1576
|
@bak_type = args[:bak_type] if args.key?(:bak_type)
|
1538
1577
|
@copy_only = args[:copy_only] if args.key?(:copy_only)
|
1539
1578
|
@differential_base = args[:differential_base] if args.key?(:differential_base)
|
1579
|
+
@export_log_end_time = args[:export_log_end_time] if args.key?(:export_log_end_time)
|
1580
|
+
@export_log_start_time = args[:export_log_start_time] if args.key?(:export_log_start_time)
|
1540
1581
|
@stripe_count = args[:stripe_count] if args.key?(:stripe_count)
|
1541
1582
|
@striped = args[:striped] if args.key?(:striped)
|
1542
1583
|
end
|
@@ -1694,6 +1735,25 @@ module Google
|
|
1694
1735
|
end
|
1695
1736
|
end
|
1696
1737
|
|
1738
|
+
# The selected object that Cloud SQL migrates.
|
1739
|
+
class ExternalSyncSelectedObject
|
1740
|
+
include Google::Apis::Core::Hashable
|
1741
|
+
|
1742
|
+
# The name of the database that Cloud SQL migrates.
|
1743
|
+
# Corresponds to the JSON property `database`
|
1744
|
+
# @return [String]
|
1745
|
+
attr_accessor :database
|
1746
|
+
|
1747
|
+
def initialize(**args)
|
1748
|
+
update!(**args)
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# Update properties of this object
|
1752
|
+
def update!(**args)
|
1753
|
+
@database = args[:database] if args.key?(:database)
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1697
1757
|
# Database instance failover context.
|
1698
1758
|
class FailoverContext
|
1699
1759
|
include Google::Apis::Core::Hashable
|
@@ -2516,6 +2576,44 @@ module Google
|
|
2516
2576
|
end
|
2517
2577
|
end
|
2518
2578
|
|
2579
|
+
# Instances ListServerCertificatess response.
|
2580
|
+
class InstancesListServerCertificatesResponse
|
2581
|
+
include Google::Apis::Core::Hashable
|
2582
|
+
|
2583
|
+
# The `sha1_fingerprint` of the active certificate from `server_certs`.
|
2584
|
+
# Corresponds to the JSON property `activeVersion`
|
2585
|
+
# @return [String]
|
2586
|
+
attr_accessor :active_version
|
2587
|
+
|
2588
|
+
# List of server CA certificates for the instance.
|
2589
|
+
# Corresponds to the JSON property `caCerts`
|
2590
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
2591
|
+
attr_accessor :ca_certs
|
2592
|
+
|
2593
|
+
# This is always `sql#instancesListServerCertificates`.
|
2594
|
+
# Corresponds to the JSON property `kind`
|
2595
|
+
# @return [String]
|
2596
|
+
attr_accessor :kind
|
2597
|
+
|
2598
|
+
# List of server certificates for the instance, signed by the corresponding CA
|
2599
|
+
# from the `ca_certs` list.
|
2600
|
+
# Corresponds to the JSON property `serverCerts`
|
2601
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SslCert>]
|
2602
|
+
attr_accessor :server_certs
|
2603
|
+
|
2604
|
+
def initialize(**args)
|
2605
|
+
update!(**args)
|
2606
|
+
end
|
2607
|
+
|
2608
|
+
# Update properties of this object
|
2609
|
+
def update!(**args)
|
2610
|
+
@active_version = args[:active_version] if args.key?(:active_version)
|
2611
|
+
@ca_certs = args[:ca_certs] if args.key?(:ca_certs)
|
2612
|
+
@kind = args[:kind] if args.key?(:kind)
|
2613
|
+
@server_certs = args[:server_certs] if args.key?(:server_certs)
|
2614
|
+
end
|
2615
|
+
end
|
2616
|
+
|
2519
2617
|
# Database Instance reencrypt request.
|
2520
2618
|
class InstancesReencryptRequest
|
2521
2619
|
include Google::Apis::Core::Hashable
|
@@ -2574,6 +2672,25 @@ module Google
|
|
2574
2672
|
end
|
2575
2673
|
end
|
2576
2674
|
|
2675
|
+
# Rotate Server Certificate request.
|
2676
|
+
class InstancesRotateServerCertificateRequest
|
2677
|
+
include Google::Apis::Core::Hashable
|
2678
|
+
|
2679
|
+
# Instance rotate server certificate context.
|
2680
|
+
# Corresponds to the JSON property `rotateServerCertificateContext`
|
2681
|
+
# @return [Google::Apis::SqladminV1beta4::RotateServerCertificateContext]
|
2682
|
+
attr_accessor :rotate_server_certificate_context
|
2683
|
+
|
2684
|
+
def initialize(**args)
|
2685
|
+
update!(**args)
|
2686
|
+
end
|
2687
|
+
|
2688
|
+
# Update properties of this object
|
2689
|
+
def update!(**args)
|
2690
|
+
@rotate_server_certificate_context = args[:rotate_server_certificate_context] if args.key?(:rotate_server_certificate_context)
|
2691
|
+
end
|
2692
|
+
end
|
2693
|
+
|
2577
2694
|
# Instance truncate log request.
|
2578
2695
|
class InstancesTruncateLogRequest
|
2579
2696
|
include Google::Apis::Core::Hashable
|
@@ -2957,11 +3074,22 @@ module Google
|
|
2957
3074
|
# @return [String]
|
2958
3075
|
attr_accessor :password
|
2959
3076
|
|
3077
|
+
# Optional. A list of objects that the user selects for replication from an
|
3078
|
+
# external source instance.
|
3079
|
+
# Corresponds to the JSON property `selectedObjects`
|
3080
|
+
# @return [Array<Google::Apis::SqladminV1beta4::SelectedObjects>]
|
3081
|
+
attr_accessor :selected_objects
|
3082
|
+
|
2960
3083
|
# Reference to another Cloud SQL instance.
|
2961
3084
|
# Corresponds to the JSON property `sourceInstance`
|
2962
3085
|
# @return [Google::Apis::SqladminV1beta4::InstanceReference]
|
2963
3086
|
attr_accessor :source_instance
|
2964
3087
|
|
3088
|
+
# Optional. SslOption for replica connection to the on-premises source.
|
3089
|
+
# Corresponds to the JSON property `sslOption`
|
3090
|
+
# @return [String]
|
3091
|
+
attr_accessor :ssl_option
|
3092
|
+
|
2965
3093
|
# The username for connecting to on-premises instance.
|
2966
3094
|
# Corresponds to the JSON property `username`
|
2967
3095
|
# @return [String]
|
@@ -2980,7 +3108,9 @@ module Google
|
|
2980
3108
|
@host_port = args[:host_port] if args.key?(:host_port)
|
2981
3109
|
@kind = args[:kind] if args.key?(:kind)
|
2982
3110
|
@password = args[:password] if args.key?(:password)
|
3111
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
2983
3112
|
@source_instance = args[:source_instance] if args.key?(:source_instance)
|
3113
|
+
@ssl_option = args[:ssl_option] if args.key?(:ssl_option)
|
2984
3114
|
@username = args[:username] if args.key?(:username)
|
2985
3115
|
end
|
2986
3116
|
end
|
@@ -3366,6 +3496,54 @@ module Google
|
|
3366
3496
|
end
|
3367
3497
|
end
|
3368
3498
|
|
3499
|
+
# Settings for an automatically-setup Private Service Connect consumer endpoint
|
3500
|
+
# that is used to connect to a Cloud SQL instance.
|
3501
|
+
class PscAutoConnectionConfig
|
3502
|
+
include Google::Apis::Core::Hashable
|
3503
|
+
|
3504
|
+
# The consumer network of this consumer endpoint. This must be a resource path
|
3505
|
+
# that includes both the host project and the network name. For example, `
|
3506
|
+
# projects/project1/global/networks/network1`. The consumer host project of this
|
3507
|
+
# network might be different from the consumer service project.
|
3508
|
+
# Corresponds to the JSON property `consumerNetwork`
|
3509
|
+
# @return [String]
|
3510
|
+
attr_accessor :consumer_network
|
3511
|
+
|
3512
|
+
# The connection policy status of the consumer network.
|
3513
|
+
# Corresponds to the JSON property `consumerNetworkStatus`
|
3514
|
+
# @return [String]
|
3515
|
+
attr_accessor :consumer_network_status
|
3516
|
+
|
3517
|
+
# This is the project ID of consumer service project of this consumer endpoint.
|
3518
|
+
# Optional. This is only applicable if consumer_network is a shared vpc network.
|
3519
|
+
# Corresponds to the JSON property `consumerProject`
|
3520
|
+
# @return [String]
|
3521
|
+
attr_accessor :consumer_project
|
3522
|
+
|
3523
|
+
# The IP address of the consumer endpoint.
|
3524
|
+
# Corresponds to the JSON property `ipAddress`
|
3525
|
+
# @return [String]
|
3526
|
+
attr_accessor :ip_address
|
3527
|
+
|
3528
|
+
# The connection status of the consumer endpoint.
|
3529
|
+
# Corresponds to the JSON property `status`
|
3530
|
+
# @return [String]
|
3531
|
+
attr_accessor :status
|
3532
|
+
|
3533
|
+
def initialize(**args)
|
3534
|
+
update!(**args)
|
3535
|
+
end
|
3536
|
+
|
3537
|
+
# Update properties of this object
|
3538
|
+
def update!(**args)
|
3539
|
+
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
3540
|
+
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
3541
|
+
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
3542
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
3543
|
+
@status = args[:status] if args.key?(:status)
|
3544
|
+
end
|
3545
|
+
end
|
3546
|
+
|
3369
3547
|
# PSC settings for a Cloud SQL instance.
|
3370
3548
|
class PscConfig
|
3371
3549
|
include Google::Apis::Core::Hashable
|
@@ -3378,6 +3556,12 @@ module Google
|
|
3378
3556
|
# @return [Array<String>]
|
3379
3557
|
attr_accessor :allowed_consumer_projects
|
3380
3558
|
|
3559
|
+
# Optional. The list of settings for requested Private Service Connect consumer
|
3560
|
+
# endpoints that can be used to connect to this Cloud SQL instance.
|
3561
|
+
# Corresponds to the JSON property `pscAutoConnections`
|
3562
|
+
# @return [Array<Google::Apis::SqladminV1beta4::PscAutoConnectionConfig>]
|
3563
|
+
attr_accessor :psc_auto_connections
|
3564
|
+
|
3381
3565
|
# Whether PSC connectivity is enabled for this instance.
|
3382
3566
|
# Corresponds to the JSON property `pscEnabled`
|
3383
3567
|
# @return [Boolean]
|
@@ -3391,6 +3575,7 @@ module Google
|
|
3391
3575
|
# Update properties of this object
|
3392
3576
|
def update!(**args)
|
3393
3577
|
@allowed_consumer_projects = args[:allowed_consumer_projects] if args.key?(:allowed_consumer_projects)
|
3578
|
+
@psc_auto_connections = args[:psc_auto_connections] if args.key?(:psc_auto_connections)
|
3394
3579
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
3395
3580
|
end
|
3396
3581
|
end
|
@@ -3577,6 +3762,53 @@ module Google
|
|
3577
3762
|
end
|
3578
3763
|
end
|
3579
3764
|
|
3765
|
+
# Instance rotate server certificate context.
|
3766
|
+
class RotateServerCertificateContext
|
3767
|
+
include Google::Apis::Core::Hashable
|
3768
|
+
|
3769
|
+
# Optional. This is always `sql#rotateServerCertificateContext`.
|
3770
|
+
# Corresponds to the JSON property `kind`
|
3771
|
+
# @return [String]
|
3772
|
+
attr_accessor :kind
|
3773
|
+
|
3774
|
+
# Optional. The fingerprint of the next version to be rotated to. If left
|
3775
|
+
# unspecified, will be rotated to the most recently added server certificate
|
3776
|
+
# version.
|
3777
|
+
# Corresponds to the JSON property `nextVersion`
|
3778
|
+
# @return [String]
|
3779
|
+
attr_accessor :next_version
|
3780
|
+
|
3781
|
+
def initialize(**args)
|
3782
|
+
update!(**args)
|
3783
|
+
end
|
3784
|
+
|
3785
|
+
# Update properties of this object
|
3786
|
+
def update!(**args)
|
3787
|
+
@kind = args[:kind] if args.key?(:kind)
|
3788
|
+
@next_version = args[:next_version] if args.key?(:next_version)
|
3789
|
+
end
|
3790
|
+
end
|
3791
|
+
|
3792
|
+
# A list of objects that the user selects for replication from an external
|
3793
|
+
# source instance.
|
3794
|
+
class SelectedObjects
|
3795
|
+
include Google::Apis::Core::Hashable
|
3796
|
+
|
3797
|
+
# Required. The name of the database to migrate.
|
3798
|
+
# Corresponds to the JSON property `database`
|
3799
|
+
# @return [String]
|
3800
|
+
attr_accessor :database
|
3801
|
+
|
3802
|
+
def initialize(**args)
|
3803
|
+
update!(**args)
|
3804
|
+
end
|
3805
|
+
|
3806
|
+
# Update properties of this object
|
3807
|
+
def update!(**args)
|
3808
|
+
@database = args[:database] if args.key?(:database)
|
3809
|
+
end
|
3810
|
+
end
|
3811
|
+
|
3580
3812
|
# Database instance settings.
|
3581
3813
|
class Settings
|
3582
3814
|
include Google::Apis::Core::Hashable
|
@@ -4083,6 +4315,12 @@ module Google
|
|
4083
4315
|
# @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
|
4084
4316
|
attr_accessor :mysql_sync_config
|
4085
4317
|
|
4318
|
+
# Optional. Migrate only the specified objects from the source instance. If this
|
4319
|
+
# field is empty, then migrate all objects.
|
4320
|
+
# Corresponds to the JSON property `selectedObjects`
|
4321
|
+
# @return [Array<Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject>]
|
4322
|
+
attr_accessor :selected_objects
|
4323
|
+
|
4086
4324
|
# External sync mode
|
4087
4325
|
# Corresponds to the JSON property `syncMode`
|
4088
4326
|
# @return [String]
|
@@ -4113,6 +4351,7 @@ module Google
|
|
4113
4351
|
def update!(**args)
|
4114
4352
|
@migration_type = args[:migration_type] if args.key?(:migration_type)
|
4115
4353
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
4354
|
+
@selected_objects = args[:selected_objects] if args.key?(:selected_objects)
|
4116
4355
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
4117
4356
|
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
4118
4357
|
@verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
|
@@ -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.75.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 = "20241108"
|
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
|
|
@@ -797,6 +833,7 @@ module Google
|
|
797
833
|
property :instance, as: 'instance'
|
798
834
|
property :kind, as: 'kind'
|
799
835
|
property :location, as: 'location'
|
836
|
+
property :max_chargeable_bytes, :numeric_string => true, as: 'maxChargeableBytes'
|
800
837
|
property :self_link, as: 'selfLink'
|
801
838
|
property :start_time, as: 'startTime'
|
802
839
|
property :status, as: 'status'
|
@@ -836,6 +873,7 @@ module Google
|
|
836
873
|
property :kind, as: 'kind'
|
837
874
|
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
|
838
875
|
property :point_in_time, as: 'pointInTime'
|
876
|
+
property :preferred_secondary_zone, as: 'preferredSecondaryZone'
|
839
877
|
property :preferred_zone, as: 'preferredZone'
|
840
878
|
end
|
841
879
|
end
|
@@ -932,6 +970,7 @@ module Google
|
|
932
970
|
property :replication_cluster, as: 'replicationCluster', class: Google::Apis::SqladminV1beta4::ReplicationCluster, decorator: Google::Apis::SqladminV1beta4::ReplicationCluster::Representation
|
933
971
|
|
934
972
|
property :root_password, as: 'rootPassword'
|
973
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
935
974
|
property :satisfies_pzs, as: 'satisfiesPzs'
|
936
975
|
property :scheduled_maintenance, as: 'scheduledMaintenance', class: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance, decorator: Google::Apis::SqladminV1beta4::SqlScheduledMaintenance::Representation
|
937
976
|
|
@@ -1063,6 +1102,8 @@ module Google
|
|
1063
1102
|
property :bak_type, as: 'bakType'
|
1064
1103
|
property :copy_only, as: 'copyOnly'
|
1065
1104
|
property :differential_base, as: 'differentialBase'
|
1105
|
+
property :export_log_end_time, as: 'exportLogEndTime'
|
1106
|
+
property :export_log_start_time, as: 'exportLogStartTime'
|
1066
1107
|
property :stripe_count, as: 'stripeCount'
|
1067
1108
|
property :striped, as: 'striped'
|
1068
1109
|
end
|
@@ -1109,6 +1150,13 @@ module Google
|
|
1109
1150
|
end
|
1110
1151
|
end
|
1111
1152
|
|
1153
|
+
class ExternalSyncSelectedObject
|
1154
|
+
# @private
|
1155
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1156
|
+
property :database, as: 'database'
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1112
1160
|
class FailoverContext
|
1113
1161
|
# @private
|
1114
1162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1340,6 +1388,18 @@ module Google
|
|
1340
1388
|
end
|
1341
1389
|
end
|
1342
1390
|
|
1391
|
+
class InstancesListServerCertificatesResponse
|
1392
|
+
# @private
|
1393
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1394
|
+
property :active_version, as: 'activeVersion'
|
1395
|
+
collection :ca_certs, as: 'caCerts', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
1396
|
+
|
1397
|
+
property :kind, as: 'kind'
|
1398
|
+
collection :server_certs, as: 'serverCerts', class: Google::Apis::SqladminV1beta4::SslCert, decorator: Google::Apis::SqladminV1beta4::SslCert::Representation
|
1399
|
+
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
|
1343
1403
|
class InstancesReencryptRequest
|
1344
1404
|
# @private
|
1345
1405
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1364,6 +1424,14 @@ module Google
|
|
1364
1424
|
end
|
1365
1425
|
end
|
1366
1426
|
|
1427
|
+
class InstancesRotateServerCertificateRequest
|
1428
|
+
# @private
|
1429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1430
|
+
property :rotate_server_certificate_context, as: 'rotateServerCertificateContext', class: Google::Apis::SqladminV1beta4::RotateServerCertificateContext, decorator: Google::Apis::SqladminV1beta4::RotateServerCertificateContext::Representation
|
1431
|
+
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1367
1435
|
class InstancesTruncateLogRequest
|
1368
1436
|
# @private
|
1369
1437
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1453,8 +1521,11 @@ module Google
|
|
1453
1521
|
property :host_port, as: 'hostPort'
|
1454
1522
|
property :kind, as: 'kind'
|
1455
1523
|
property :password, as: 'password'
|
1524
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1beta4::SelectedObjects, decorator: Google::Apis::SqladminV1beta4::SelectedObjects::Representation
|
1525
|
+
|
1456
1526
|
property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1beta4::InstanceReference, decorator: Google::Apis::SqladminV1beta4::InstanceReference::Representation
|
1457
1527
|
|
1528
|
+
property :ssl_option, as: 'sslOption'
|
1458
1529
|
property :username, as: 'username'
|
1459
1530
|
end
|
1460
1531
|
end
|
@@ -1558,10 +1629,23 @@ module Google
|
|
1558
1629
|
end
|
1559
1630
|
end
|
1560
1631
|
|
1632
|
+
class PscAutoConnectionConfig
|
1633
|
+
# @private
|
1634
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1635
|
+
property :consumer_network, as: 'consumerNetwork'
|
1636
|
+
property :consumer_network_status, as: 'consumerNetworkStatus'
|
1637
|
+
property :consumer_project, as: 'consumerProject'
|
1638
|
+
property :ip_address, as: 'ipAddress'
|
1639
|
+
property :status, as: 'status'
|
1640
|
+
end
|
1641
|
+
end
|
1642
|
+
|
1561
1643
|
class PscConfig
|
1562
1644
|
# @private
|
1563
1645
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1564
1646
|
collection :allowed_consumer_projects, as: 'allowedConsumerProjects'
|
1647
|
+
collection :psc_auto_connections, as: 'pscAutoConnections', class: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig, decorator: Google::Apis::SqladminV1beta4::PscAutoConnectionConfig::Representation
|
1648
|
+
|
1565
1649
|
property :psc_enabled, as: 'pscEnabled'
|
1566
1650
|
end
|
1567
1651
|
end
|
@@ -1612,6 +1696,21 @@ module Google
|
|
1612
1696
|
end
|
1613
1697
|
end
|
1614
1698
|
|
1699
|
+
class RotateServerCertificateContext
|
1700
|
+
# @private
|
1701
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1702
|
+
property :kind, as: 'kind'
|
1703
|
+
property :next_version, as: 'nextVersion'
|
1704
|
+
end
|
1705
|
+
end
|
1706
|
+
|
1707
|
+
class SelectedObjects
|
1708
|
+
# @private
|
1709
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1710
|
+
property :database, as: 'database'
|
1711
|
+
end
|
1712
|
+
end
|
1713
|
+
|
1615
1714
|
class Settings
|
1616
1715
|
# @private
|
1617
1716
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1744,6 +1843,8 @@ module Google
|
|
1744
1843
|
property :migration_type, as: 'migrationType'
|
1745
1844
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
|
1746
1845
|
|
1846
|
+
collection :selected_objects, as: 'selectedObjects', class: Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject, decorator: Google::Apis::SqladminV1beta4::ExternalSyncSelectedObject::Representation
|
1847
|
+
|
1747
1848
|
property :sync_mode, as: 'syncMode'
|
1748
1849
|
property :sync_parallel_level, as: 'syncParallelLevel'
|
1749
1850
|
property :verify_connection_only, as: 'verifyConnectionOnly'
|
@@ -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
|
@@ -1277,7 +1390,7 @@ module Google
|
|
1277
1390
|
|
1278
1391
|
# Rotates the server certificate to one signed by the Certificate Authority (CA)
|
1279
1392
|
# version previously added with the addServerCA method. For instances that have
|
1280
|
-
# enabled Certificate Authority Service (CAS) based server CA,
|
1393
|
+
# enabled Certificate Authority Service (CAS) based server CA, use
|
1281
1394
|
# RotateServerCertificate to rotate the server certificate.
|
1282
1395
|
# @param [String] project
|
1283
1396
|
# Project ID of the project that contains the instance.
|
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.75.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-04 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.75.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.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud SQL Admin API V1beta4
|