google-apis-sqladmin_v1beta4 0.86.0 → 0.88.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee31b3fb05ae8a692a376f1ac5292813a9f50de56aa1eb94d8fe32558398a3dd
|
4
|
+
data.tar.gz: 8433629bf8911daead5d9775da2580ec1e86a677e28cb1496c185299ecf0667d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f651c63eef40766308a127c3f21c4c8e13b01144158c0942773b1c76ad83e8c81adc4ab185ffdad87f33a0525cc5686644d94222441ba6c95b44d6006746dd95
|
7
|
+
data.tar.gz: 66fa8edcbef5b5722f16c9c5b84c79e3c18d33cea0e8e7d6a7543907eaac5e528fe1c1b26aacc80be8cd11fa598b9c0a3a4201f3166045877d4bf5e17c04c6da
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.88.0 (2025-08-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250807
|
6
|
+
|
7
|
+
### v0.87.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250613
|
10
|
+
|
3
11
|
### v0.86.0 (2025-06-01)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250526
|
@@ -781,6 +781,12 @@ module Google
|
|
781
781
|
# @return [String]
|
782
782
|
attr_accessor :preferred_zone
|
783
783
|
|
784
|
+
# The timestamp used to identify the time when the source instance is deleted.
|
785
|
+
# If this instance is deleted, then you must set the timestamp.
|
786
|
+
# Corresponds to the JSON property `sourceInstanceDeletionTime`
|
787
|
+
# @return [String]
|
788
|
+
attr_accessor :source_instance_deletion_time
|
789
|
+
|
784
790
|
def initialize(**args)
|
785
791
|
update!(**args)
|
786
792
|
end
|
@@ -796,6 +802,32 @@ module Google
|
|
796
802
|
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
797
803
|
@preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
|
798
804
|
@preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
|
805
|
+
@source_instance_deletion_time = args[:source_instance_deletion_time] if args.key?(:source_instance_deletion_time)
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
# Contains the name and datatype of a column.
|
810
|
+
class Column
|
811
|
+
include Google::Apis::Core::Hashable
|
812
|
+
|
813
|
+
# Name of the column.
|
814
|
+
# Corresponds to the JSON property `name`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :name
|
817
|
+
|
818
|
+
# Datatype of the column.
|
819
|
+
# Corresponds to the JSON property `type`
|
820
|
+
# @return [String]
|
821
|
+
attr_accessor :type
|
822
|
+
|
823
|
+
def initialize(**args)
|
824
|
+
update!(**args)
|
825
|
+
end
|
826
|
+
|
827
|
+
# Update properties of this object
|
828
|
+
def update!(**args)
|
829
|
+
@name = args[:name] if args.key?(:name)
|
830
|
+
@type = args[:type] if args.key?(:type)
|
799
831
|
end
|
800
832
|
end
|
801
833
|
|
@@ -885,6 +917,15 @@ module Google
|
|
885
917
|
# @return [String]
|
886
918
|
attr_accessor :kind
|
887
919
|
|
920
|
+
# Optional. Output only. mdx_protocol_support controls how the client uses
|
921
|
+
# metadata exchange when connecting to the instance. The values in the list
|
922
|
+
# representing parts of the MDX protocol that are supported by this instance.
|
923
|
+
# When the list is empty, the instance does not support MDX, so the client must
|
924
|
+
# not send an MDX request. The default is empty.
|
925
|
+
# Corresponds to the JSON property `mdxProtocolSupport`
|
926
|
+
# @return [Array<String>]
|
927
|
+
attr_accessor :mdx_protocol_support
|
928
|
+
|
888
929
|
# The number of read pool nodes in a read pool.
|
889
930
|
# Corresponds to the JSON property `nodeCount`
|
890
931
|
# @return [Fixnum]
|
@@ -931,6 +972,7 @@ module Google
|
|
931
972
|
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
932
973
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
933
974
|
@kind = args[:kind] if args.key?(:kind)
|
975
|
+
@mdx_protocol_support = args[:mdx_protocol_support] if args.key?(:mdx_protocol_support)
|
934
976
|
@node_count = args[:node_count] if args.key?(:node_count)
|
935
977
|
@nodes = args[:nodes] if args.key?(:nodes)
|
936
978
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
@@ -955,6 +997,11 @@ module Google
|
|
955
997
|
# @return [Array<Google::Apis::SqladminV1beta4::ConnectionPoolFlags>]
|
956
998
|
attr_accessor :flags
|
957
999
|
|
1000
|
+
# Output only. Number of connection poolers.
|
1001
|
+
# Corresponds to the JSON property `poolerCount`
|
1002
|
+
# @return [Fixnum]
|
1003
|
+
attr_accessor :pooler_count
|
1004
|
+
|
958
1005
|
def initialize(**args)
|
959
1006
|
update!(**args)
|
960
1007
|
end
|
@@ -963,6 +1010,7 @@ module Google
|
|
963
1010
|
def update!(**args)
|
964
1011
|
@connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
|
965
1012
|
@flags = args[:flags] if args.key?(:flags)
|
1013
|
+
@pooler_count = args[:pooler_count] if args.key?(:pooler_count)
|
966
1014
|
end
|
967
1015
|
end
|
968
1016
|
|
@@ -1127,12 +1175,6 @@ module Google
|
|
1127
1175
|
# @return [String]
|
1128
1176
|
attr_accessor :backend_type
|
1129
1177
|
|
1130
|
-
# Clears private network settings when the instance is restored.
|
1131
|
-
# Corresponds to the JSON property `clearNetwork`
|
1132
|
-
# @return [Boolean]
|
1133
|
-
attr_accessor :clear_network
|
1134
|
-
alias_method :clear_network?, :clear_network
|
1135
|
-
|
1136
1178
|
# Connection name of the Cloud SQL instance used in connection strings.
|
1137
1179
|
# Corresponds to the JSON property `connectionName`
|
1138
1180
|
# @return [String]
|
@@ -1279,12 +1321,6 @@ module Google
|
|
1279
1321
|
# @return [Google::Apis::SqladminV1beta4::SqlOutOfDiskReport]
|
1280
1322
|
attr_accessor :out_of_disk_report
|
1281
1323
|
|
1282
|
-
# PITR related fields include enablement settings, archiving settings, and the
|
1283
|
-
# bucket name.
|
1284
|
-
# Corresponds to the JSON property `pitrFields`
|
1285
|
-
# @return [Google::Apis::SqladminV1beta4::PitrFields]
|
1286
|
-
attr_accessor :pitr_fields
|
1287
|
-
|
1288
1324
|
# Output only. DEPRECATED: please use write_endpoint instead.
|
1289
1325
|
# Corresponds to the JSON property `primaryDnsName`
|
1290
1326
|
# @return [String]
|
@@ -1430,7 +1466,6 @@ module Google
|
|
1430
1466
|
def update!(**args)
|
1431
1467
|
@available_maintenance_versions = args[:available_maintenance_versions] if args.key?(:available_maintenance_versions)
|
1432
1468
|
@backend_type = args[:backend_type] if args.key?(:backend_type)
|
1433
|
-
@clear_network = args[:clear_network] if args.key?(:clear_network)
|
1434
1469
|
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
1435
1470
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1436
1471
|
@current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
|
@@ -1457,7 +1492,6 @@ module Google
|
|
1457
1492
|
@nodes = args[:nodes] if args.key?(:nodes)
|
1458
1493
|
@on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
|
1459
1494
|
@out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
|
1460
|
-
@pitr_fields = args[:pitr_fields] if args.key?(:pitr_fields)
|
1461
1495
|
@primary_dns_name = args[:primary_dns_name] if args.key?(:primary_dns_name)
|
1462
1496
|
@project = args[:project] if args.key?(:project)
|
1463
1497
|
@psc_service_attachment_link = args[:psc_service_attachment_link] if args.key?(:psc_service_attachment_link)
|
@@ -1829,6 +1863,47 @@ module Google
|
|
1829
1863
|
end
|
1830
1864
|
end
|
1831
1865
|
|
1866
|
+
# The request payload used to execute SQL statements.
|
1867
|
+
class ExecuteSqlPayload
|
1868
|
+
include Google::Apis::Core::Hashable
|
1869
|
+
|
1870
|
+
# Optional. When set to true, the API caller identity associated with the
|
1871
|
+
# request is used for database authentication. The API caller must be an IAM
|
1872
|
+
# user in the database.
|
1873
|
+
# Corresponds to the JSON property `autoIamAuthn`
|
1874
|
+
# @return [Boolean]
|
1875
|
+
attr_accessor :auto_iam_authn
|
1876
|
+
alias_method :auto_iam_authn?, :auto_iam_authn
|
1877
|
+
|
1878
|
+
# Optional. Name of the database on which the statement will be executed.
|
1879
|
+
# Corresponds to the JSON property `database`
|
1880
|
+
# @return [String]
|
1881
|
+
attr_accessor :database
|
1882
|
+
|
1883
|
+
# Optional. The maximum number of rows returned per SQL statement.
|
1884
|
+
# Corresponds to the JSON property `rowLimit`
|
1885
|
+
# @return [Fixnum]
|
1886
|
+
attr_accessor :row_limit
|
1887
|
+
|
1888
|
+
# Required. SQL statements to run on the database. It can be a single statement
|
1889
|
+
# or a sequence of statements separated by semicolons.
|
1890
|
+
# Corresponds to the JSON property `sqlStatement`
|
1891
|
+
# @return [String]
|
1892
|
+
attr_accessor :sql_statement
|
1893
|
+
|
1894
|
+
def initialize(**args)
|
1895
|
+
update!(**args)
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# Update properties of this object
|
1899
|
+
def update!(**args)
|
1900
|
+
@auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
|
1901
|
+
@database = args[:database] if args.key?(:database)
|
1902
|
+
@row_limit = args[:row_limit] if args.key?(:row_limit)
|
1903
|
+
@sql_statement = args[:sql_statement] if args.key?(:sql_statement)
|
1904
|
+
end
|
1905
|
+
end
|
1906
|
+
|
1832
1907
|
# Database instance export context.
|
1833
1908
|
class ExportContext
|
1834
1909
|
include Google::Apis::Core::Hashable
|
@@ -2216,6 +2291,33 @@ module Google
|
|
2216
2291
|
end
|
2217
2292
|
end
|
2218
2293
|
|
2294
|
+
# Config used to determine the final backup settings for the instance.
|
2295
|
+
class FinalBackupConfig
|
2296
|
+
include Google::Apis::Core::Hashable
|
2297
|
+
|
2298
|
+
# Whether the final backup is enabled for the instance.
|
2299
|
+
# Corresponds to the JSON property `enabled`
|
2300
|
+
# @return [Boolean]
|
2301
|
+
attr_accessor :enabled
|
2302
|
+
alias_method :enabled?, :enabled
|
2303
|
+
|
2304
|
+
# The number of days to retain the final backup after the instance deletion. The
|
2305
|
+
# final backup will be purged at (time_of_instance_deletion + retention_days).
|
2306
|
+
# Corresponds to the JSON property `retentionDays`
|
2307
|
+
# @return [Fixnum]
|
2308
|
+
attr_accessor :retention_days
|
2309
|
+
|
2310
|
+
def initialize(**args)
|
2311
|
+
update!(**args)
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
# Update properties of this object
|
2315
|
+
def update!(**args)
|
2316
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2317
|
+
@retention_days = args[:retention_days] if args.key?(:retention_days)
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
|
2219
2321
|
# A flag resource.
|
2220
2322
|
class Flag
|
2221
2323
|
include Google::Apis::Core::Hashable
|
@@ -3170,6 +3272,13 @@ module Google
|
|
3170
3272
|
# @return [Google::Apis::SqladminV1beta4::RestoreBackupContext]
|
3171
3273
|
attr_accessor :restore_backup_context
|
3172
3274
|
|
3275
|
+
# Optional. This field has the same purpose as restore_instance_settings,
|
3276
|
+
# changes any instance settings stored in the backup you are restoring from.
|
3277
|
+
# With the difference that these fields are cleared in the settings.
|
3278
|
+
# Corresponds to the JSON property `restoreInstanceClearOverridesFieldNames`
|
3279
|
+
# @return [Array<String>]
|
3280
|
+
attr_accessor :restore_instance_clear_overrides_field_names
|
3281
|
+
|
3173
3282
|
# A Cloud SQL instance resource.
|
3174
3283
|
# Corresponds to the JSON property `restoreInstanceSettings`
|
3175
3284
|
# @return [Google::Apis::SqladminV1beta4::DatabaseInstance]
|
@@ -3184,6 +3293,7 @@ module Google
|
|
3184
3293
|
@backup = args[:backup] if args.key?(:backup)
|
3185
3294
|
@backupdr_backup = args[:backupdr_backup] if args.key?(:backupdr_backup)
|
3186
3295
|
@restore_backup_context = args[:restore_backup_context] if args.key?(:restore_backup_context)
|
3296
|
+
@restore_instance_clear_overrides_field_names = args[:restore_instance_clear_overrides_field_names] if args.key?(:restore_instance_clear_overrides_field_names)
|
3187
3297
|
@restore_instance_settings = args[:restore_instance_settings] if args.key?(:restore_instance_settings)
|
3188
3298
|
end
|
3189
3299
|
end
|
@@ -3541,6 +3651,26 @@ module Google
|
|
3541
3651
|
end
|
3542
3652
|
end
|
3543
3653
|
|
3654
|
+
# The additional metadata information regarding the execution of the SQL
|
3655
|
+
# statements.
|
3656
|
+
class Metadata
|
3657
|
+
include Google::Apis::Core::Hashable
|
3658
|
+
|
3659
|
+
# The time taken to execute the SQL statements.
|
3660
|
+
# Corresponds to the JSON property `sqlStatementExecutionTime`
|
3661
|
+
# @return [String]
|
3662
|
+
attr_accessor :sql_statement_execution_time
|
3663
|
+
|
3664
|
+
def initialize(**args)
|
3665
|
+
update!(**args)
|
3666
|
+
end
|
3667
|
+
|
3668
|
+
# Update properties of this object
|
3669
|
+
def update!(**args)
|
3670
|
+
@sql_statement_execution_time = args[:sql_statement_execution_time] if args.key?(:sql_statement_execution_time)
|
3671
|
+
end
|
3672
|
+
end
|
3673
|
+
|
3544
3674
|
# Read-replica configuration specific to MySQL databases.
|
3545
3675
|
class MySqlReplicaConfiguration
|
3546
3676
|
include Google::Apis::Core::Hashable
|
@@ -4010,47 +4140,6 @@ module Google
|
|
4010
4140
|
end
|
4011
4141
|
end
|
4012
4142
|
|
4013
|
-
# PITR related fields include enablement settings, archiving settings, and the
|
4014
|
-
# bucket name.
|
4015
|
-
class PitrFields
|
4016
|
-
include Google::Apis::Core::Hashable
|
4017
|
-
|
4018
|
-
# The enablement setting for PITR for MySQL.
|
4019
|
-
# Corresponds to the JSON property `enableBinLog`
|
4020
|
-
# @return [Boolean]
|
4021
|
-
attr_accessor :enable_bin_log
|
4022
|
-
alias_method :enable_bin_log?, :enable_bin_log
|
4023
|
-
|
4024
|
-
# The enablement setting for PITR for PostgreSQL.
|
4025
|
-
# Corresponds to the JSON property `replicationLogArchivingEnabled`
|
4026
|
-
# @return [Boolean]
|
4027
|
-
attr_accessor :replication_log_archiving_enabled
|
4028
|
-
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
|
4029
|
-
|
4030
|
-
# The enablement setting for PITR for SQL Server.
|
4031
|
-
# Corresponds to the JSON property `sqlserverPitrEnabled`
|
4032
|
-
# @return [Boolean]
|
4033
|
-
attr_accessor :sqlserver_pitr_enabled
|
4034
|
-
alias_method :sqlserver_pitr_enabled?, :sqlserver_pitr_enabled
|
4035
|
-
|
4036
|
-
# The number of transaction log days to retain for PITR
|
4037
|
-
# Corresponds to the JSON property `transactionLogRetentionDays`
|
4038
|
-
# @return [Fixnum]
|
4039
|
-
attr_accessor :transaction_log_retention_days
|
4040
|
-
|
4041
|
-
def initialize(**args)
|
4042
|
-
update!(**args)
|
4043
|
-
end
|
4044
|
-
|
4045
|
-
# Update properties of this object
|
4046
|
-
def update!(**args)
|
4047
|
-
@enable_bin_log = args[:enable_bin_log] if args.key?(:enable_bin_log)
|
4048
|
-
@replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
|
4049
|
-
@sqlserver_pitr_enabled = args[:sqlserver_pitr_enabled] if args.key?(:sqlserver_pitr_enabled)
|
4050
|
-
@transaction_log_retention_days = args[:transaction_log_retention_days] if args.key?(:transaction_log_retention_days)
|
4051
|
-
end
|
4052
|
-
end
|
4053
|
-
|
4054
4143
|
# Read-only password status.
|
4055
4144
|
class PasswordStatus
|
4056
4145
|
include Google::Apis::Core::Hashable
|
@@ -4166,7 +4255,7 @@ module Google
|
|
4166
4255
|
# range. This range must comply with [RFC 1035](https://tools.ietf.org/html/
|
4167
4256
|
# rfc1035) standards. Specifically, the name must be 1-63 characters long and
|
4168
4257
|
# match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future
|
4169
|
-
# use.
|
4258
|
+
# use.
|
4170
4259
|
# Corresponds to the JSON property `allocatedIpRange`
|
4171
4260
|
# @return [String]
|
4172
4261
|
attr_accessor :allocated_ip_range
|
@@ -4368,6 +4457,45 @@ module Google
|
|
4368
4457
|
end
|
4369
4458
|
end
|
4370
4459
|
|
4460
|
+
# QueryResult contains the result of executing a single SQL statement.
|
4461
|
+
class QueryResult
|
4462
|
+
include Google::Apis::Core::Hashable
|
4463
|
+
|
4464
|
+
# List of columns included in the result. This also includes the data type of
|
4465
|
+
# the column.
|
4466
|
+
# Corresponds to the JSON property `columns`
|
4467
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Column>]
|
4468
|
+
attr_accessor :columns
|
4469
|
+
|
4470
|
+
# Message related to the SQL execution result.
|
4471
|
+
# Corresponds to the JSON property `message`
|
4472
|
+
# @return [String]
|
4473
|
+
attr_accessor :message
|
4474
|
+
|
4475
|
+
# Set to true if the SQL execution's result is truncated due to size limits.
|
4476
|
+
# Corresponds to the JSON property `partialResult`
|
4477
|
+
# @return [Boolean]
|
4478
|
+
attr_accessor :partial_result
|
4479
|
+
alias_method :partial_result?, :partial_result
|
4480
|
+
|
4481
|
+
# Rows returned by the SQL statement.
|
4482
|
+
# Corresponds to the JSON property `rows`
|
4483
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Row>]
|
4484
|
+
attr_accessor :rows
|
4485
|
+
|
4486
|
+
def initialize(**args)
|
4487
|
+
update!(**args)
|
4488
|
+
end
|
4489
|
+
|
4490
|
+
# Update properties of this object
|
4491
|
+
def update!(**args)
|
4492
|
+
@columns = args[:columns] if args.key?(:columns)
|
4493
|
+
@message = args[:message] if args.key?(:message)
|
4494
|
+
@partial_result = args[:partial_result] if args.key?(:partial_result)
|
4495
|
+
@rows = args[:rows] if args.key?(:rows)
|
4496
|
+
end
|
4497
|
+
end
|
4498
|
+
|
4371
4499
|
# Read-replica configuration for connecting to the primary instance.
|
4372
4500
|
class ReplicaConfiguration
|
4373
4501
|
include Google::Apis::Core::Hashable
|
@@ -4577,6 +4705,25 @@ module Google
|
|
4577
4705
|
end
|
4578
4706
|
end
|
4579
4707
|
|
4708
|
+
# Contains the values for a row.
|
4709
|
+
class Row
|
4710
|
+
include Google::Apis::Core::Hashable
|
4711
|
+
|
4712
|
+
# The values for the row.
|
4713
|
+
# Corresponds to the JSON property `values`
|
4714
|
+
# @return [Array<Google::Apis::SqladminV1beta4::Value>]
|
4715
|
+
attr_accessor :values
|
4716
|
+
|
4717
|
+
def initialize(**args)
|
4718
|
+
update!(**args)
|
4719
|
+
end
|
4720
|
+
|
4721
|
+
# Update properties of this object
|
4722
|
+
def update!(**args)
|
4723
|
+
@values = args[:values] if args.key?(:values)
|
4724
|
+
end
|
4725
|
+
end
|
4726
|
+
|
4580
4727
|
# A list of objects that the user selects for replication from an external
|
4581
4728
|
# source instance.
|
4582
4729
|
class SelectedObjects
|
@@ -4742,6 +4889,11 @@ module Google
|
|
4742
4889
|
attr_accessor :enable_google_ml_integration
|
4743
4890
|
alias_method :enable_google_ml_integration?, :enable_google_ml_integration
|
4744
4891
|
|
4892
|
+
# Config used to determine the final backup settings for the instance.
|
4893
|
+
# Corresponds to the JSON property `finalBackupConfig`
|
4894
|
+
# @return [Google::Apis::SqladminV1beta4::FinalBackupConfig]
|
4895
|
+
attr_accessor :final_backup_config
|
4896
|
+
|
4745
4897
|
# Insights configuration. This specifies when Cloud SQL Insights feature is
|
4746
4898
|
# enabled and optional configuration.
|
4747
4899
|
# Corresponds to the JSON property `insightsConfig`
|
@@ -4875,6 +5027,7 @@ module Google
|
|
4875
5027
|
@edition = args[:edition] if args.key?(:edition)
|
4876
5028
|
@enable_dataplex_integration = args[:enable_dataplex_integration] if args.key?(:enable_dataplex_integration)
|
4877
5029
|
@enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
|
5030
|
+
@final_backup_config = args[:final_backup_config] if args.key?(:final_backup_config)
|
4878
5031
|
@insights_config = args[:insights_config] if args.key?(:insights_config)
|
4879
5032
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
4880
5033
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -4899,6 +5052,17 @@ module Google
|
|
4899
5052
|
class SqlActiveDirectoryConfig
|
4900
5053
|
include Google::Apis::Core::Hashable
|
4901
5054
|
|
5055
|
+
# Optional. The secret manager key storing the administrator credential. (e.g.,
|
5056
|
+
# projects/`project`/secrets/`secret`).
|
5057
|
+
# Corresponds to the JSON property `adminCredentialSecretName`
|
5058
|
+
# @return [String]
|
5059
|
+
attr_accessor :admin_credential_secret_name
|
5060
|
+
|
5061
|
+
# Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.
|
5062
|
+
# Corresponds to the JSON property `dnsServers`
|
5063
|
+
# @return [Array<String>]
|
5064
|
+
attr_accessor :dns_servers
|
5065
|
+
|
4902
5066
|
# The name of the domain (e.g., mydomain.com).
|
4903
5067
|
# Corresponds to the JSON property `domain`
|
4904
5068
|
# @return [String]
|
@@ -4909,14 +5073,29 @@ module Google
|
|
4909
5073
|
# @return [String]
|
4910
5074
|
attr_accessor :kind
|
4911
5075
|
|
5076
|
+
# Optional. The mode of the Active Directory configuration.
|
5077
|
+
# Corresponds to the JSON property `mode`
|
5078
|
+
# @return [String]
|
5079
|
+
attr_accessor :mode
|
5080
|
+
|
5081
|
+
# Optional. The organizational unit distinguished name. This is the full
|
5082
|
+
# hierarchical path to the organizational unit.
|
5083
|
+
# Corresponds to the JSON property `organizationalUnit`
|
5084
|
+
# @return [String]
|
5085
|
+
attr_accessor :organizational_unit
|
5086
|
+
|
4912
5087
|
def initialize(**args)
|
4913
5088
|
update!(**args)
|
4914
5089
|
end
|
4915
5090
|
|
4916
5091
|
# Update properties of this object
|
4917
5092
|
def update!(**args)
|
5093
|
+
@admin_credential_secret_name = args[:admin_credential_secret_name] if args.key?(:admin_credential_secret_name)
|
5094
|
+
@dns_servers = args[:dns_servers] if args.key?(:dns_servers)
|
4918
5095
|
@domain = args[:domain] if args.key?(:domain)
|
4919
5096
|
@kind = args[:kind] if args.key?(:kind)
|
5097
|
+
@mode = args[:mode] if args.key?(:mode)
|
5098
|
+
@organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit)
|
4920
5099
|
end
|
4921
5100
|
end
|
4922
5101
|
|
@@ -4970,6 +5149,32 @@ module Google
|
|
4970
5149
|
end
|
4971
5150
|
end
|
4972
5151
|
|
5152
|
+
# Execute SQL statements response.
|
5153
|
+
class SqlInstancesExecuteSqlResponse
|
5154
|
+
include Google::Apis::Core::Hashable
|
5155
|
+
|
5156
|
+
# The additional metadata information regarding the execution of the SQL
|
5157
|
+
# statements.
|
5158
|
+
# Corresponds to the JSON property `metadata`
|
5159
|
+
# @return [Google::Apis::SqladminV1beta4::Metadata]
|
5160
|
+
attr_accessor :metadata
|
5161
|
+
|
5162
|
+
# The list of results after executing all the SQL statements.
|
5163
|
+
# Corresponds to the JSON property `results`
|
5164
|
+
# @return [Array<Google::Apis::SqladminV1beta4::QueryResult>]
|
5165
|
+
attr_accessor :results
|
5166
|
+
|
5167
|
+
def initialize(**args)
|
5168
|
+
update!(**args)
|
5169
|
+
end
|
5170
|
+
|
5171
|
+
# Update properties of this object
|
5172
|
+
def update!(**args)
|
5173
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
5174
|
+
@results = args[:results] if args.key?(:results)
|
5175
|
+
end
|
5176
|
+
end
|
5177
|
+
|
4973
5178
|
# Instance get disk shrink config response.
|
4974
5179
|
class SqlInstancesGetDiskShrinkConfigResponse
|
4975
5180
|
include Google::Apis::Core::Hashable
|
@@ -5093,6 +5298,15 @@ module Google
|
|
5093
5298
|
# @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
|
5094
5299
|
attr_accessor :mysql_sync_config
|
5095
5300
|
|
5301
|
+
# Optional. MySQL only. True if end-user has confirmed that this SES call will
|
5302
|
+
# wipe replica databases overlapping with the proposed selected_objects. If this
|
5303
|
+
# field is not set and there are both overlapping and additional databases
|
5304
|
+
# proposed, an error will be returned.
|
5305
|
+
# Corresponds to the JSON property `replicaOverwriteEnabled`
|
5306
|
+
# @return [Boolean]
|
5307
|
+
attr_accessor :replica_overwrite_enabled
|
5308
|
+
alias_method :replica_overwrite_enabled?, :replica_overwrite_enabled
|
5309
|
+
|
5096
5310
|
# Whether to skip the verification step (VESS).
|
5097
5311
|
# Corresponds to the JSON property `skipVerification`
|
5098
5312
|
# @return [Boolean]
|
@@ -5118,6 +5332,7 @@ module Google
|
|
5118
5332
|
def update!(**args)
|
5119
5333
|
@migration_type = args[:migration_type] if args.key?(:migration_type)
|
5120
5334
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
5335
|
+
@replica_overwrite_enabled = args[:replica_overwrite_enabled] if args.key?(:replica_overwrite_enabled)
|
5121
5336
|
@skip_verification = args[:skip_verification] if args.key?(:skip_verification)
|
5122
5337
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
5123
5338
|
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
@@ -5880,6 +6095,32 @@ module Google
|
|
5880
6095
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5881
6096
|
end
|
5882
6097
|
end
|
6098
|
+
|
6099
|
+
# The cell value of the table.
|
6100
|
+
class Value
|
6101
|
+
include Google::Apis::Core::Hashable
|
6102
|
+
|
6103
|
+
# If cell value is null, then this flag will be set to true.
|
6104
|
+
# Corresponds to the JSON property `nullValue`
|
6105
|
+
# @return [Boolean]
|
6106
|
+
attr_accessor :null_value
|
6107
|
+
alias_method :null_value?, :null_value
|
6108
|
+
|
6109
|
+
# The cell value represented in string format.
|
6110
|
+
# Corresponds to the JSON property `value`
|
6111
|
+
# @return [String]
|
6112
|
+
attr_accessor :value
|
6113
|
+
|
6114
|
+
def initialize(**args)
|
6115
|
+
update!(**args)
|
6116
|
+
end
|
6117
|
+
|
6118
|
+
# Update properties of this object
|
6119
|
+
def update!(**args)
|
6120
|
+
@null_value = args[:null_value] if args.key?(:null_value)
|
6121
|
+
@value = args[:value] if args.key?(:value)
|
6122
|
+
end
|
6123
|
+
end
|
5883
6124
|
end
|
5884
6125
|
end
|
5885
6126
|
end
|
@@ -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.88.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250807"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -106,6 +106,12 @@ module Google
|
|
106
106
|
include Google::Apis::Core::JsonObjectSupport
|
107
107
|
end
|
108
108
|
|
109
|
+
class Column
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
109
115
|
class ConnectPoolNodeConfig
|
110
116
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
117
|
|
@@ -220,6 +226,12 @@ module Google
|
|
220
226
|
include Google::Apis::Core::JsonObjectSupport
|
221
227
|
end
|
222
228
|
|
229
|
+
class ExecuteSqlPayload
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
223
235
|
class ExportContext
|
224
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
237
|
|
@@ -274,6 +286,12 @@ module Google
|
|
274
286
|
include Google::Apis::Core::JsonObjectSupport
|
275
287
|
end
|
276
288
|
|
289
|
+
class FinalBackupConfig
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
277
295
|
class Flag
|
278
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
297
|
|
@@ -484,6 +502,12 @@ module Google
|
|
484
502
|
include Google::Apis::Core::JsonObjectSupport
|
485
503
|
end
|
486
504
|
|
505
|
+
class Metadata
|
506
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
507
|
+
|
508
|
+
include Google::Apis::Core::JsonObjectSupport
|
509
|
+
end
|
510
|
+
|
487
511
|
class MySqlReplicaConfiguration
|
488
512
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
513
|
|
@@ -532,12 +556,6 @@ module Google
|
|
532
556
|
include Google::Apis::Core::JsonObjectSupport
|
533
557
|
end
|
534
558
|
|
535
|
-
class PitrFields
|
536
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
-
|
538
|
-
include Google::Apis::Core::JsonObjectSupport
|
539
|
-
end
|
540
|
-
|
541
559
|
class PasswordStatus
|
542
560
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
543
561
|
|
@@ -580,6 +598,12 @@ module Google
|
|
580
598
|
include Google::Apis::Core::JsonObjectSupport
|
581
599
|
end
|
582
600
|
|
601
|
+
class QueryResult
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
583
607
|
class ReplicaConfiguration
|
584
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
609
|
|
@@ -616,6 +640,12 @@ module Google
|
|
616
640
|
include Google::Apis::Core::JsonObjectSupport
|
617
641
|
end
|
618
642
|
|
643
|
+
class Row
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
619
649
|
class SelectedObjects
|
620
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
651
|
|
@@ -646,6 +676,12 @@ module Google
|
|
646
676
|
include Google::Apis::Core::JsonObjectSupport
|
647
677
|
end
|
648
678
|
|
679
|
+
class SqlInstancesExecuteSqlResponse
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
649
685
|
class SqlInstancesGetDiskShrinkConfigResponse
|
650
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
687
|
|
@@ -808,6 +844,12 @@ module Google
|
|
808
844
|
include Google::Apis::Core::JsonObjectSupport
|
809
845
|
end
|
810
846
|
|
847
|
+
class Value
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
811
853
|
class AclEntry
|
812
854
|
# @private
|
813
855
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -988,6 +1030,15 @@ module Google
|
|
988
1030
|
property :point_in_time, as: 'pointInTime'
|
989
1031
|
property :preferred_secondary_zone, as: 'preferredSecondaryZone'
|
990
1032
|
property :preferred_zone, as: 'preferredZone'
|
1033
|
+
property :source_instance_deletion_time, as: 'sourceInstanceDeletionTime'
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
class Column
|
1038
|
+
# @private
|
1039
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1040
|
+
property :name, as: 'name'
|
1041
|
+
property :type, as: 'type'
|
991
1042
|
end
|
992
1043
|
end
|
993
1044
|
|
@@ -1015,6 +1066,7 @@ module Google
|
|
1015
1066
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1beta4::IpMapping, decorator: Google::Apis::SqladminV1beta4::IpMapping::Representation
|
1016
1067
|
|
1017
1068
|
property :kind, as: 'kind'
|
1069
|
+
collection :mdx_protocol_support, as: 'mdxProtocolSupport'
|
1018
1070
|
property :node_count, as: 'nodeCount'
|
1019
1071
|
collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig, decorator: Google::Apis::SqladminV1beta4::ConnectPoolNodeConfig::Representation
|
1020
1072
|
|
@@ -1032,6 +1084,7 @@ module Google
|
|
1032
1084
|
property :connection_pooling_enabled, as: 'connectionPoolingEnabled'
|
1033
1085
|
collection :flags, as: 'flags', class: Google::Apis::SqladminV1beta4::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1beta4::ConnectionPoolFlags::Representation
|
1034
1086
|
|
1087
|
+
property :pooler_count, as: 'poolerCount'
|
1035
1088
|
end
|
1036
1089
|
end
|
1037
1090
|
|
@@ -1079,7 +1132,6 @@ module Google
|
|
1079
1132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1080
1133
|
collection :available_maintenance_versions, as: 'availableMaintenanceVersions'
|
1081
1134
|
property :backend_type, as: 'backendType'
|
1082
|
-
property :clear_network, as: 'clearNetwork'
|
1083
1135
|
property :connection_name, as: 'connectionName'
|
1084
1136
|
property :create_time, as: 'createTime'
|
1085
1137
|
property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
|
@@ -1115,8 +1167,6 @@ module Google
|
|
1115
1167
|
|
1116
1168
|
property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
|
1117
1169
|
|
1118
|
-
property :pitr_fields, as: 'pitrFields', class: Google::Apis::SqladminV1beta4::PitrFields, decorator: Google::Apis::SqladminV1beta4::PitrFields::Representation
|
1119
|
-
|
1120
1170
|
property :primary_dns_name, as: 'primaryDnsName'
|
1121
1171
|
property :project, as: 'project'
|
1122
1172
|
property :psc_service_attachment_link, as: 'pscServiceAttachmentLink'
|
@@ -1247,6 +1297,16 @@ module Google
|
|
1247
1297
|
end
|
1248
1298
|
end
|
1249
1299
|
|
1300
|
+
class ExecuteSqlPayload
|
1301
|
+
# @private
|
1302
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1303
|
+
property :auto_iam_authn, as: 'autoIamAuthn'
|
1304
|
+
property :database, as: 'database'
|
1305
|
+
property :row_limit, :numeric_string => true, as: 'rowLimit'
|
1306
|
+
property :sql_statement, as: 'sqlStatement'
|
1307
|
+
end
|
1308
|
+
end
|
1309
|
+
|
1250
1310
|
class ExportContext
|
1251
1311
|
# @private
|
1252
1312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1344,6 +1404,14 @@ module Google
|
|
1344
1404
|
end
|
1345
1405
|
end
|
1346
1406
|
|
1407
|
+
class FinalBackupConfig
|
1408
|
+
# @private
|
1409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1410
|
+
property :enabled, as: 'enabled'
|
1411
|
+
property :retention_days, as: 'retentionDays'
|
1412
|
+
end
|
1413
|
+
end
|
1414
|
+
|
1347
1415
|
class Flag
|
1348
1416
|
# @private
|
1349
1417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1610,6 +1678,7 @@ module Google
|
|
1610
1678
|
property :backupdr_backup, as: 'backupdrBackup'
|
1611
1679
|
property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1beta4::RestoreBackupContext, decorator: Google::Apis::SqladminV1beta4::RestoreBackupContext::Representation
|
1612
1680
|
|
1681
|
+
collection :restore_instance_clear_overrides_field_names, as: 'restoreInstanceClearOverridesFieldNames'
|
1613
1682
|
property :restore_instance_settings, as: 'restoreInstanceSettings', class: Google::Apis::SqladminV1beta4::DatabaseInstance, decorator: Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
1614
1683
|
|
1615
1684
|
end
|
@@ -1706,6 +1775,13 @@ module Google
|
|
1706
1775
|
end
|
1707
1776
|
end
|
1708
1777
|
|
1778
|
+
class Metadata
|
1779
|
+
# @private
|
1780
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1781
|
+
property :sql_statement_execution_time, as: 'sqlStatementExecutionTime'
|
1782
|
+
end
|
1783
|
+
end
|
1784
|
+
|
1709
1785
|
class MySqlReplicaConfiguration
|
1710
1786
|
# @private
|
1711
1787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1823,16 +1899,6 @@ module Google
|
|
1823
1899
|
end
|
1824
1900
|
end
|
1825
1901
|
|
1826
|
-
class PitrFields
|
1827
|
-
# @private
|
1828
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1829
|
-
property :enable_bin_log, as: 'enableBinLog'
|
1830
|
-
property :replication_log_archiving_enabled, as: 'replicationLogArchivingEnabled'
|
1831
|
-
property :sqlserver_pitr_enabled, as: 'sqlserverPitrEnabled'
|
1832
|
-
property :transaction_log_retention_days, as: 'transactionLogRetentionDays'
|
1833
|
-
end
|
1834
|
-
end
|
1835
|
-
|
1836
1902
|
class PasswordStatus
|
1837
1903
|
# @private
|
1838
1904
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1910,6 +1976,18 @@ module Google
|
|
1910
1976
|
end
|
1911
1977
|
end
|
1912
1978
|
|
1979
|
+
class QueryResult
|
1980
|
+
# @private
|
1981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1982
|
+
collection :columns, as: 'columns', class: Google::Apis::SqladminV1beta4::Column, decorator: Google::Apis::SqladminV1beta4::Column::Representation
|
1983
|
+
|
1984
|
+
property :message, as: 'message'
|
1985
|
+
property :partial_result, as: 'partialResult'
|
1986
|
+
collection :rows, as: 'rows', class: Google::Apis::SqladminV1beta4::Row, decorator: Google::Apis::SqladminV1beta4::Row::Representation
|
1987
|
+
|
1988
|
+
end
|
1989
|
+
end
|
1990
|
+
|
1913
1991
|
class ReplicaConfiguration
|
1914
1992
|
# @private
|
1915
1993
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1964,6 +2042,14 @@ module Google
|
|
1964
2042
|
end
|
1965
2043
|
end
|
1966
2044
|
|
2045
|
+
class Row
|
2046
|
+
# @private
|
2047
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2048
|
+
collection :values, as: 'values', class: Google::Apis::SqladminV1beta4::Value, decorator: Google::Apis::SqladminV1beta4::Value::Representation
|
2049
|
+
|
2050
|
+
end
|
2051
|
+
end
|
2052
|
+
|
1967
2053
|
class SelectedObjects
|
1968
2054
|
# @private
|
1969
2055
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2003,6 +2089,8 @@ module Google
|
|
2003
2089
|
property :edition, as: 'edition'
|
2004
2090
|
property :enable_dataplex_integration, as: 'enableDataplexIntegration'
|
2005
2091
|
property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
|
2092
|
+
property :final_backup_config, as: 'finalBackupConfig', class: Google::Apis::SqladminV1beta4::FinalBackupConfig, decorator: Google::Apis::SqladminV1beta4::FinalBackupConfig::Representation
|
2093
|
+
|
2006
2094
|
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1beta4::InsightsConfig, decorator: Google::Apis::SqladminV1beta4::InsightsConfig::Representation
|
2007
2095
|
|
2008
2096
|
property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1beta4::IpConfiguration, decorator: Google::Apis::SqladminV1beta4::IpConfiguration::Representation
|
@@ -2032,8 +2120,12 @@ module Google
|
|
2032
2120
|
class SqlActiveDirectoryConfig
|
2033
2121
|
# @private
|
2034
2122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2123
|
+
property :admin_credential_secret_name, as: 'adminCredentialSecretName'
|
2124
|
+
collection :dns_servers, as: 'dnsServers'
|
2035
2125
|
property :domain, as: 'domain'
|
2036
2126
|
property :kind, as: 'kind'
|
2127
|
+
property :mode, as: 'mode'
|
2128
|
+
property :organizational_unit, as: 'organizationalUnit'
|
2037
2129
|
end
|
2038
2130
|
end
|
2039
2131
|
|
@@ -2053,6 +2145,16 @@ module Google
|
|
2053
2145
|
end
|
2054
2146
|
end
|
2055
2147
|
|
2148
|
+
class SqlInstancesExecuteSqlResponse
|
2149
|
+
# @private
|
2150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2151
|
+
property :metadata, as: 'metadata', class: Google::Apis::SqladminV1beta4::Metadata, decorator: Google::Apis::SqladminV1beta4::Metadata::Representation
|
2152
|
+
|
2153
|
+
collection :results, as: 'results', class: Google::Apis::SqladminV1beta4::QueryResult, decorator: Google::Apis::SqladminV1beta4::QueryResult::Representation
|
2154
|
+
|
2155
|
+
end
|
2156
|
+
end
|
2157
|
+
|
2056
2158
|
class SqlInstancesGetDiskShrinkConfigResponse
|
2057
2159
|
# @private
|
2058
2160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2097,6 +2199,7 @@ module Google
|
|
2097
2199
|
property :migration_type, as: 'migrationType'
|
2098
2200
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
|
2099
2201
|
|
2202
|
+
property :replica_overwrite_enabled, as: 'replicaOverwriteEnabled'
|
2100
2203
|
property :skip_verification, as: 'skipVerification'
|
2101
2204
|
property :sync_mode, as: 'syncMode'
|
2102
2205
|
property :sync_parallel_level, as: 'syncParallelLevel'
|
@@ -2317,6 +2420,14 @@ module Google
|
|
2317
2420
|
property :next_page_token, as: 'nextPageToken'
|
2318
2421
|
end
|
2319
2422
|
end
|
2423
|
+
|
2424
|
+
class Value
|
2425
|
+
# @private
|
2426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2427
|
+
property :null_value, as: 'nullValue'
|
2428
|
+
property :value, as: 'value'
|
2429
|
+
end
|
2430
|
+
end
|
2320
2431
|
end
|
2321
2432
|
end
|
2322
2433
|
end
|
@@ -1067,6 +1067,42 @@ module Google
|
|
1067
1067
|
execute_or_queue_command(command, &block)
|
1068
1068
|
end
|
1069
1069
|
|
1070
|
+
# Execute SQL statements.
|
1071
|
+
# @param [String] project
|
1072
|
+
# Required. Project ID of the project that contains the instance.
|
1073
|
+
# @param [String] instance
|
1074
|
+
# Required. Database instance ID. This does not include the project ID.
|
1075
|
+
# @param [Google::Apis::SqladminV1beta4::ExecuteSqlPayload] execute_sql_payload_object
|
1076
|
+
# @param [String] fields
|
1077
|
+
# Selector specifying which fields to include in a partial response.
|
1078
|
+
# @param [String] quota_user
|
1079
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1080
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1081
|
+
# @param [Google::Apis::RequestOptions] options
|
1082
|
+
# Request-specific options
|
1083
|
+
#
|
1084
|
+
# @yield [result, err] Result & error if block supplied
|
1085
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::SqlInstancesExecuteSqlResponse] parsed result object
|
1086
|
+
# @yieldparam err [StandardError] error object if request failed
|
1087
|
+
#
|
1088
|
+
# @return [Google::Apis::SqladminV1beta4::SqlInstancesExecuteSqlResponse]
|
1089
|
+
#
|
1090
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1091
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1092
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1093
|
+
def execute_instance_sql(project, instance, execute_sql_payload_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1094
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/executeSql', options)
|
1095
|
+
command.request_representation = Google::Apis::SqladminV1beta4::ExecuteSqlPayload::Representation
|
1096
|
+
command.request_object = execute_sql_payload_object
|
1097
|
+
command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesExecuteSqlResponse::Representation
|
1098
|
+
command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesExecuteSqlResponse
|
1099
|
+
command.params['project'] = project unless project.nil?
|
1100
|
+
command.params['instance'] = instance unless instance.nil?
|
1101
|
+
command.query['fields'] = fields unless fields.nil?
|
1102
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1103
|
+
execute_or_queue_command(command, &block)
|
1104
|
+
end
|
1105
|
+
|
1070
1106
|
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump
|
1071
1107
|
# or CSV file.
|
1072
1108
|
# @param [String] project
|
@@ -1984,6 +2020,9 @@ module Google
|
|
1984
2020
|
# Project ID of the project that contains the instance.
|
1985
2021
|
# @param [String] instance
|
1986
2022
|
# Cloud SQL instance ID. This does not include the project ID.
|
2023
|
+
# @param [String] source_instance_deletion_time
|
2024
|
+
# The timestamp used to identify the time when the source instance is deleted.
|
2025
|
+
# If this instance is deleted, then you must set the timestamp.
|
1987
2026
|
# @param [String] fields
|
1988
2027
|
# Selector specifying which fields to include in a partial response.
|
1989
2028
|
# @param [String] quota_user
|
@@ -2001,12 +2040,13 @@ module Google
|
|
2001
2040
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2002
2041
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2003
2042
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2004
|
-
def get_project_instance_latest_recovery_time(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
2043
|
+
def get_project_instance_latest_recovery_time(project, instance, source_instance_deletion_time: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2005
2044
|
command = make_simple_command(:get, 'sql/v1beta4/projects/{project}/instances/{instance}/getLatestRecoveryTime', options)
|
2006
2045
|
command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse::Representation
|
2007
2046
|
command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesGetLatestRecoveryTimeResponse
|
2008
2047
|
command.params['project'] = project unless project.nil?
|
2009
2048
|
command.params['instance'] = instance unless instance.nil?
|
2049
|
+
command.query['sourceInstanceDeletionTime'] = source_instance_deletion_time unless source_instance_deletion_time.nil?
|
2010
2050
|
command.query['fields'] = fields unless fields.nil?
|
2011
2051
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2012
2052
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.88.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|