google-apis-sqladmin_v1 0.82.0 → 0.84.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: 44c0435ed3349c7a78e1e2ee0831eab507af5e180821060510ff4a4ce2148d4c
|
4
|
+
data.tar.gz: cf63d309200a0e3873913f23b17fdb115e6a31322945f3b27284a1eb27386149
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7951a858c979c48951059343c444810a30b3b303079e306efbc4218d0342bbab78bc4359b006ebbfd8200fee542779bdb60ce9ff8c97f547261df17611462d53
|
7
|
+
data.tar.gz: e8fea62a6db725f0fee45978183e7002222458c80d067e75ec466f139d7be22eee7fe0eca0d4244acbdb3d02d45e77d3c7cd122008f7498f4bee9ae1f49af836
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.84.0 (2025-08-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250823
|
6
|
+
|
7
|
+
### v0.83.0 (2025-08-17)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250807
|
10
|
+
|
3
11
|
### v0.82.0 (2025-06-22)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250613
|
@@ -782,6 +782,12 @@ module Google
|
|
782
782
|
# @return [String]
|
783
783
|
attr_accessor :preferred_zone
|
784
784
|
|
785
|
+
# The timestamp used to identify the time when the source instance is deleted.
|
786
|
+
# If this instance is deleted, then you must set the timestamp.
|
787
|
+
# Corresponds to the JSON property `sourceInstanceDeletionTime`
|
788
|
+
# @return [String]
|
789
|
+
attr_accessor :source_instance_deletion_time
|
790
|
+
|
785
791
|
def initialize(**args)
|
786
792
|
update!(**args)
|
787
793
|
end
|
@@ -797,6 +803,32 @@ module Google
|
|
797
803
|
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
798
804
|
@preferred_secondary_zone = args[:preferred_secondary_zone] if args.key?(:preferred_secondary_zone)
|
799
805
|
@preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
|
806
|
+
@source_instance_deletion_time = args[:source_instance_deletion_time] if args.key?(:source_instance_deletion_time)
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
# Contains the name and datatype of a column.
|
811
|
+
class Column
|
812
|
+
include Google::Apis::Core::Hashable
|
813
|
+
|
814
|
+
# Name of the column.
|
815
|
+
# Corresponds to the JSON property `name`
|
816
|
+
# @return [String]
|
817
|
+
attr_accessor :name
|
818
|
+
|
819
|
+
# Datatype of the column.
|
820
|
+
# Corresponds to the JSON property `type`
|
821
|
+
# @return [String]
|
822
|
+
attr_accessor :type
|
823
|
+
|
824
|
+
def initialize(**args)
|
825
|
+
update!(**args)
|
826
|
+
end
|
827
|
+
|
828
|
+
# Update properties of this object
|
829
|
+
def update!(**args)
|
830
|
+
@name = args[:name] if args.key?(:name)
|
831
|
+
@type = args[:type] if args.key?(:type)
|
800
832
|
end
|
801
833
|
end
|
802
834
|
|
@@ -886,6 +918,15 @@ module Google
|
|
886
918
|
# @return [String]
|
887
919
|
attr_accessor :kind
|
888
920
|
|
921
|
+
# Optional. Output only. mdx_protocol_support controls how the client uses
|
922
|
+
# metadata exchange when connecting to the instance. The values in the list
|
923
|
+
# representing parts of the MDX protocol that are supported by this instance.
|
924
|
+
# When the list is empty, the instance does not support MDX, so the client must
|
925
|
+
# not send an MDX request. The default is empty.
|
926
|
+
# Corresponds to the JSON property `mdxProtocolSupport`
|
927
|
+
# @return [Array<String>]
|
928
|
+
attr_accessor :mdx_protocol_support
|
929
|
+
|
889
930
|
# The number of read pool nodes in a read pool.
|
890
931
|
# Corresponds to the JSON property `nodeCount`
|
891
932
|
# @return [Fixnum]
|
@@ -932,6 +973,7 @@ module Google
|
|
932
973
|
@dns_names = args[:dns_names] if args.key?(:dns_names)
|
933
974
|
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
934
975
|
@kind = args[:kind] if args.key?(:kind)
|
976
|
+
@mdx_protocol_support = args[:mdx_protocol_support] if args.key?(:mdx_protocol_support)
|
935
977
|
@node_count = args[:node_count] if args.key?(:node_count)
|
936
978
|
@nodes = args[:nodes] if args.key?(:nodes)
|
937
979
|
@psc_enabled = args[:psc_enabled] if args.key?(:psc_enabled)
|
@@ -956,6 +998,11 @@ module Google
|
|
956
998
|
# @return [Array<Google::Apis::SqladminV1::ConnectionPoolFlags>]
|
957
999
|
attr_accessor :flags
|
958
1000
|
|
1001
|
+
# Output only. Number of connection poolers.
|
1002
|
+
# Corresponds to the JSON property `poolerCount`
|
1003
|
+
# @return [Fixnum]
|
1004
|
+
attr_accessor :pooler_count
|
1005
|
+
|
959
1006
|
def initialize(**args)
|
960
1007
|
update!(**args)
|
961
1008
|
end
|
@@ -964,6 +1011,7 @@ module Google
|
|
964
1011
|
def update!(**args)
|
965
1012
|
@connection_pooling_enabled = args[:connection_pooling_enabled] if args.key?(:connection_pooling_enabled)
|
966
1013
|
@flags = args[:flags] if args.key?(:flags)
|
1014
|
+
@pooler_count = args[:pooler_count] if args.key?(:pooler_count)
|
967
1015
|
end
|
968
1016
|
end
|
969
1017
|
|
@@ -1128,12 +1176,6 @@ module Google
|
|
1128
1176
|
# @return [String]
|
1129
1177
|
attr_accessor :backend_type
|
1130
1178
|
|
1131
|
-
# Clears private network settings when the instance is restored.
|
1132
|
-
# Corresponds to the JSON property `clearNetwork`
|
1133
|
-
# @return [Boolean]
|
1134
|
-
attr_accessor :clear_network
|
1135
|
-
alias_method :clear_network?, :clear_network
|
1136
|
-
|
1137
1179
|
# Connection name of the Cloud SQL instance used in connection strings.
|
1138
1180
|
# Corresponds to the JSON property `connectionName`
|
1139
1181
|
# @return [String]
|
@@ -1426,7 +1468,6 @@ module Google
|
|
1426
1468
|
def update!(**args)
|
1427
1469
|
@available_maintenance_versions = args[:available_maintenance_versions] if args.key?(:available_maintenance_versions)
|
1428
1470
|
@backend_type = args[:backend_type] if args.key?(:backend_type)
|
1429
|
-
@clear_network = args[:clear_network] if args.key?(:clear_network)
|
1430
1471
|
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
1431
1472
|
@create_time = args[:create_time] if args.key?(:create_time)
|
1432
1473
|
@current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
|
@@ -1824,6 +1865,62 @@ module Google
|
|
1824
1865
|
end
|
1825
1866
|
end
|
1826
1867
|
|
1868
|
+
# The request payload used to execute SQL statements.
|
1869
|
+
class ExecuteSqlPayload
|
1870
|
+
include Google::Apis::Core::Hashable
|
1871
|
+
|
1872
|
+
# Optional. When set to true, the API caller identity associated with the
|
1873
|
+
# request is used for database authentication. The API caller must be an IAM
|
1874
|
+
# user in the database.
|
1875
|
+
# Corresponds to the JSON property `autoIamAuthn`
|
1876
|
+
# @return [Boolean]
|
1877
|
+
attr_accessor :auto_iam_authn
|
1878
|
+
alias_method :auto_iam_authn?, :auto_iam_authn
|
1879
|
+
|
1880
|
+
# Optional. Name of the database on which the statement will be executed.
|
1881
|
+
# Corresponds to the JSON property `database`
|
1882
|
+
# @return [String]
|
1883
|
+
attr_accessor :database
|
1884
|
+
|
1885
|
+
# Optional. Controls how the API should respond when the SQL execution result
|
1886
|
+
# exceeds 10 MB. The default mode is to throw an error.
|
1887
|
+
# Corresponds to the JSON property `partialResultMode`
|
1888
|
+
# @return [String]
|
1889
|
+
attr_accessor :partial_result_mode
|
1890
|
+
|
1891
|
+
# Optional. The maximum number of rows returned per SQL statement.
|
1892
|
+
# Corresponds to the JSON property `rowLimit`
|
1893
|
+
# @return [Fixnum]
|
1894
|
+
attr_accessor :row_limit
|
1895
|
+
|
1896
|
+
# Required. SQL statements to run on the database. It can be a single statement
|
1897
|
+
# or a sequence of statements separated by semicolons.
|
1898
|
+
# Corresponds to the JSON property `sqlStatement`
|
1899
|
+
# @return [String]
|
1900
|
+
attr_accessor :sql_statement
|
1901
|
+
|
1902
|
+
# Optional. The name of an existing database user to connect to the database.
|
1903
|
+
# When `auto_iam_authn` is set to true, this field is ignored and the API caller'
|
1904
|
+
# s IAM user is used.
|
1905
|
+
# Corresponds to the JSON property `user`
|
1906
|
+
# @return [String]
|
1907
|
+
attr_accessor :user
|
1908
|
+
|
1909
|
+
def initialize(**args)
|
1910
|
+
update!(**args)
|
1911
|
+
end
|
1912
|
+
|
1913
|
+
# Update properties of this object
|
1914
|
+
def update!(**args)
|
1915
|
+
@auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
|
1916
|
+
@database = args[:database] if args.key?(:database)
|
1917
|
+
@partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
|
1918
|
+
@row_limit = args[:row_limit] if args.key?(:row_limit)
|
1919
|
+
@sql_statement = args[:sql_statement] if args.key?(:sql_statement)
|
1920
|
+
@user = args[:user] if args.key?(:user)
|
1921
|
+
end
|
1922
|
+
end
|
1923
|
+
|
1827
1924
|
# Database instance export context.
|
1828
1925
|
class ExportContext
|
1829
1926
|
include Google::Apis::Core::Hashable
|
@@ -2211,6 +2308,33 @@ module Google
|
|
2211
2308
|
end
|
2212
2309
|
end
|
2213
2310
|
|
2311
|
+
# Config used to determine the final backup settings for the instance.
|
2312
|
+
class FinalBackupConfig
|
2313
|
+
include Google::Apis::Core::Hashable
|
2314
|
+
|
2315
|
+
# Whether the final backup is enabled for the instance.
|
2316
|
+
# Corresponds to the JSON property `enabled`
|
2317
|
+
# @return [Boolean]
|
2318
|
+
attr_accessor :enabled
|
2319
|
+
alias_method :enabled?, :enabled
|
2320
|
+
|
2321
|
+
# The number of days to retain the final backup after the instance deletion. The
|
2322
|
+
# final backup will be purged at (time_of_instance_deletion + retention_days).
|
2323
|
+
# Corresponds to the JSON property `retentionDays`
|
2324
|
+
# @return [Fixnum]
|
2325
|
+
attr_accessor :retention_days
|
2326
|
+
|
2327
|
+
def initialize(**args)
|
2328
|
+
update!(**args)
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
# Update properties of this object
|
2332
|
+
def update!(**args)
|
2333
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
2334
|
+
@retention_days = args[:retention_days] if args.key?(:retention_days)
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2214
2338
|
# A flag resource.
|
2215
2339
|
class Flag
|
2216
2340
|
include Google::Apis::Core::Hashable
|
@@ -3162,6 +3286,13 @@ module Google
|
|
3162
3286
|
# @return [Google::Apis::SqladminV1::RestoreBackupContext]
|
3163
3287
|
attr_accessor :restore_backup_context
|
3164
3288
|
|
3289
|
+
# Optional. This field has the same purpose as restore_instance_settings,
|
3290
|
+
# changes any instance settings stored in the backup you are restoring from.
|
3291
|
+
# With the difference that these fields are cleared in the settings.
|
3292
|
+
# Corresponds to the JSON property `restoreInstanceClearOverridesFieldNames`
|
3293
|
+
# @return [Array<String>]
|
3294
|
+
attr_accessor :restore_instance_clear_overrides_field_names
|
3295
|
+
|
3165
3296
|
# A Cloud SQL instance resource.
|
3166
3297
|
# Corresponds to the JSON property `restoreInstanceSettings`
|
3167
3298
|
# @return [Google::Apis::SqladminV1::DatabaseInstance]
|
@@ -3176,6 +3307,7 @@ module Google
|
|
3176
3307
|
@backup = args[:backup] if args.key?(:backup)
|
3177
3308
|
@backupdr_backup = args[:backupdr_backup] if args.key?(:backupdr_backup)
|
3178
3309
|
@restore_backup_context = args[:restore_backup_context] if args.key?(:restore_backup_context)
|
3310
|
+
@restore_instance_clear_overrides_field_names = args[:restore_instance_clear_overrides_field_names] if args.key?(:restore_instance_clear_overrides_field_names)
|
3179
3311
|
@restore_instance_settings = args[:restore_instance_settings] if args.key?(:restore_instance_settings)
|
3180
3312
|
end
|
3181
3313
|
end
|
@@ -3533,6 +3665,26 @@ module Google
|
|
3533
3665
|
end
|
3534
3666
|
end
|
3535
3667
|
|
3668
|
+
# The additional metadata information regarding the execution of the SQL
|
3669
|
+
# statements.
|
3670
|
+
class Metadata
|
3671
|
+
include Google::Apis::Core::Hashable
|
3672
|
+
|
3673
|
+
# The time taken to execute the SQL statements.
|
3674
|
+
# Corresponds to the JSON property `sqlStatementExecutionTime`
|
3675
|
+
# @return [String]
|
3676
|
+
attr_accessor :sql_statement_execution_time
|
3677
|
+
|
3678
|
+
def initialize(**args)
|
3679
|
+
update!(**args)
|
3680
|
+
end
|
3681
|
+
|
3682
|
+
# Update properties of this object
|
3683
|
+
def update!(**args)
|
3684
|
+
@sql_statement_execution_time = args[:sql_statement_execution_time] if args.key?(:sql_statement_execution_time)
|
3685
|
+
end
|
3686
|
+
end
|
3687
|
+
|
3536
3688
|
# Read-replica configuration specific to MySQL databases.
|
3537
3689
|
class MySqlReplicaConfiguration
|
3538
3690
|
include Google::Apis::Core::Hashable
|
@@ -4117,7 +4269,7 @@ module Google
|
|
4117
4269
|
# range. This range must comply with [RFC 1035](https://tools.ietf.org/html/
|
4118
4270
|
# rfc1035) standards. Specifically, the name must be 1-63 characters long and
|
4119
4271
|
# match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future
|
4120
|
-
# use.
|
4272
|
+
# use.
|
4121
4273
|
# Corresponds to the JSON property `allocatedIpRange`
|
4122
4274
|
# @return [String]
|
4123
4275
|
attr_accessor :allocated_ip_range
|
@@ -4319,6 +4471,45 @@ module Google
|
|
4319
4471
|
end
|
4320
4472
|
end
|
4321
4473
|
|
4474
|
+
# QueryResult contains the result of executing a single SQL statement.
|
4475
|
+
class QueryResult
|
4476
|
+
include Google::Apis::Core::Hashable
|
4477
|
+
|
4478
|
+
# List of columns included in the result. This also includes the data type of
|
4479
|
+
# the column.
|
4480
|
+
# Corresponds to the JSON property `columns`
|
4481
|
+
# @return [Array<Google::Apis::SqladminV1::Column>]
|
4482
|
+
attr_accessor :columns
|
4483
|
+
|
4484
|
+
# Message related to the SQL execution result.
|
4485
|
+
# Corresponds to the JSON property `message`
|
4486
|
+
# @return [String]
|
4487
|
+
attr_accessor :message
|
4488
|
+
|
4489
|
+
# Set to true if the SQL execution's result is truncated due to size limits.
|
4490
|
+
# Corresponds to the JSON property `partialResult`
|
4491
|
+
# @return [Boolean]
|
4492
|
+
attr_accessor :partial_result
|
4493
|
+
alias_method :partial_result?, :partial_result
|
4494
|
+
|
4495
|
+
# Rows returned by the SQL statement.
|
4496
|
+
# Corresponds to the JSON property `rows`
|
4497
|
+
# @return [Array<Google::Apis::SqladminV1::Row>]
|
4498
|
+
attr_accessor :rows
|
4499
|
+
|
4500
|
+
def initialize(**args)
|
4501
|
+
update!(**args)
|
4502
|
+
end
|
4503
|
+
|
4504
|
+
# Update properties of this object
|
4505
|
+
def update!(**args)
|
4506
|
+
@columns = args[:columns] if args.key?(:columns)
|
4507
|
+
@message = args[:message] if args.key?(:message)
|
4508
|
+
@partial_result = args[:partial_result] if args.key?(:partial_result)
|
4509
|
+
@rows = args[:rows] if args.key?(:rows)
|
4510
|
+
end
|
4511
|
+
end
|
4512
|
+
|
4322
4513
|
# Read-replica configuration for connecting to the primary instance.
|
4323
4514
|
class ReplicaConfiguration
|
4324
4515
|
include Google::Apis::Core::Hashable
|
@@ -4528,6 +4719,25 @@ module Google
|
|
4528
4719
|
end
|
4529
4720
|
end
|
4530
4721
|
|
4722
|
+
# Contains the values for a row.
|
4723
|
+
class Row
|
4724
|
+
include Google::Apis::Core::Hashable
|
4725
|
+
|
4726
|
+
# The values for the row.
|
4727
|
+
# Corresponds to the JSON property `values`
|
4728
|
+
# @return [Array<Google::Apis::SqladminV1::Value>]
|
4729
|
+
attr_accessor :values
|
4730
|
+
|
4731
|
+
def initialize(**args)
|
4732
|
+
update!(**args)
|
4733
|
+
end
|
4734
|
+
|
4735
|
+
# Update properties of this object
|
4736
|
+
def update!(**args)
|
4737
|
+
@values = args[:values] if args.key?(:values)
|
4738
|
+
end
|
4739
|
+
end
|
4740
|
+
|
4531
4741
|
# A list of objects that the user selects for replication from an external
|
4532
4742
|
# source instance.
|
4533
4743
|
class SelectedObjects
|
@@ -4693,6 +4903,11 @@ module Google
|
|
4693
4903
|
attr_accessor :enable_google_ml_integration
|
4694
4904
|
alias_method :enable_google_ml_integration?, :enable_google_ml_integration
|
4695
4905
|
|
4906
|
+
# Config used to determine the final backup settings for the instance.
|
4907
|
+
# Corresponds to the JSON property `finalBackupConfig`
|
4908
|
+
# @return [Google::Apis::SqladminV1::FinalBackupConfig]
|
4909
|
+
attr_accessor :final_backup_config
|
4910
|
+
|
4696
4911
|
# Insights configuration. This specifies when Cloud SQL Insights feature is
|
4697
4912
|
# enabled and optional configuration.
|
4698
4913
|
# Corresponds to the JSON property `insightsConfig`
|
@@ -4826,6 +5041,7 @@ module Google
|
|
4826
5041
|
@edition = args[:edition] if args.key?(:edition)
|
4827
5042
|
@enable_dataplex_integration = args[:enable_dataplex_integration] if args.key?(:enable_dataplex_integration)
|
4828
5043
|
@enable_google_ml_integration = args[:enable_google_ml_integration] if args.key?(:enable_google_ml_integration)
|
5044
|
+
@final_backup_config = args[:final_backup_config] if args.key?(:final_backup_config)
|
4829
5045
|
@insights_config = args[:insights_config] if args.key?(:insights_config)
|
4830
5046
|
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
4831
5047
|
@kind = args[:kind] if args.key?(:kind)
|
@@ -4850,6 +5066,17 @@ module Google
|
|
4850
5066
|
class SqlActiveDirectoryConfig
|
4851
5067
|
include Google::Apis::Core::Hashable
|
4852
5068
|
|
5069
|
+
# Optional. The secret manager key storing the administrator credential. (e.g.,
|
5070
|
+
# projects/`project`/secrets/`secret`).
|
5071
|
+
# Corresponds to the JSON property `adminCredentialSecretName`
|
5072
|
+
# @return [String]
|
5073
|
+
attr_accessor :admin_credential_secret_name
|
5074
|
+
|
5075
|
+
# Optional. Domain controller IPv4 addresses used to bootstrap Active Directory.
|
5076
|
+
# Corresponds to the JSON property `dnsServers`
|
5077
|
+
# @return [Array<String>]
|
5078
|
+
attr_accessor :dns_servers
|
5079
|
+
|
4853
5080
|
# The name of the domain (e.g., mydomain.com).
|
4854
5081
|
# Corresponds to the JSON property `domain`
|
4855
5082
|
# @return [String]
|
@@ -4860,14 +5087,29 @@ module Google
|
|
4860
5087
|
# @return [String]
|
4861
5088
|
attr_accessor :kind
|
4862
5089
|
|
5090
|
+
# Optional. The mode of the Active Directory configuration.
|
5091
|
+
# Corresponds to the JSON property `mode`
|
5092
|
+
# @return [String]
|
5093
|
+
attr_accessor :mode
|
5094
|
+
|
5095
|
+
# Optional. The organizational unit distinguished name. This is the full
|
5096
|
+
# hierarchical path to the organizational unit.
|
5097
|
+
# Corresponds to the JSON property `organizationalUnit`
|
5098
|
+
# @return [String]
|
5099
|
+
attr_accessor :organizational_unit
|
5100
|
+
|
4863
5101
|
def initialize(**args)
|
4864
5102
|
update!(**args)
|
4865
5103
|
end
|
4866
5104
|
|
4867
5105
|
# Update properties of this object
|
4868
5106
|
def update!(**args)
|
5107
|
+
@admin_credential_secret_name = args[:admin_credential_secret_name] if args.key?(:admin_credential_secret_name)
|
5108
|
+
@dns_servers = args[:dns_servers] if args.key?(:dns_servers)
|
4869
5109
|
@domain = args[:domain] if args.key?(:domain)
|
4870
5110
|
@kind = args[:kind] if args.key?(:kind)
|
5111
|
+
@mode = args[:mode] if args.key?(:mode)
|
5112
|
+
@organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit)
|
4871
5113
|
end
|
4872
5114
|
end
|
4873
5115
|
|
@@ -4921,6 +5163,32 @@ module Google
|
|
4921
5163
|
end
|
4922
5164
|
end
|
4923
5165
|
|
5166
|
+
# Execute SQL statements response.
|
5167
|
+
class SqlInstancesExecuteSqlResponse
|
5168
|
+
include Google::Apis::Core::Hashable
|
5169
|
+
|
5170
|
+
# The additional metadata information regarding the execution of the SQL
|
5171
|
+
# statements.
|
5172
|
+
# Corresponds to the JSON property `metadata`
|
5173
|
+
# @return [Google::Apis::SqladminV1::Metadata]
|
5174
|
+
attr_accessor :metadata
|
5175
|
+
|
5176
|
+
# The list of results after executing all the SQL statements.
|
5177
|
+
# Corresponds to the JSON property `results`
|
5178
|
+
# @return [Array<Google::Apis::SqladminV1::QueryResult>]
|
5179
|
+
attr_accessor :results
|
5180
|
+
|
5181
|
+
def initialize(**args)
|
5182
|
+
update!(**args)
|
5183
|
+
end
|
5184
|
+
|
5185
|
+
# Update properties of this object
|
5186
|
+
def update!(**args)
|
5187
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
5188
|
+
@results = args[:results] if args.key?(:results)
|
5189
|
+
end
|
5190
|
+
end
|
5191
|
+
|
4924
5192
|
# Instance get disk shrink config response.
|
4925
5193
|
class SqlInstancesGetDiskShrinkConfigResponse
|
4926
5194
|
include Google::Apis::Core::Hashable
|
@@ -4956,6 +5224,11 @@ module Google
|
|
4956
5224
|
class SqlInstancesGetLatestRecoveryTimeResponse
|
4957
5225
|
include Google::Apis::Core::Hashable
|
4958
5226
|
|
5227
|
+
# Timestamp, identifies the earliest recovery time of the source instance.
|
5228
|
+
# Corresponds to the JSON property `earliestRecoveryTime`
|
5229
|
+
# @return [String]
|
5230
|
+
attr_accessor :earliest_recovery_time
|
5231
|
+
|
4959
5232
|
# This is always `sql#getLatestRecoveryTime`.
|
4960
5233
|
# Corresponds to the JSON property `kind`
|
4961
5234
|
# @return [String]
|
@@ -4972,6 +5245,7 @@ module Google
|
|
4972
5245
|
|
4973
5246
|
# Update properties of this object
|
4974
5247
|
def update!(**args)
|
5248
|
+
@earliest_recovery_time = args[:earliest_recovery_time] if args.key?(:earliest_recovery_time)
|
4975
5249
|
@kind = args[:kind] if args.key?(:kind)
|
4976
5250
|
@latest_recovery_time = args[:latest_recovery_time] if args.key?(:latest_recovery_time)
|
4977
5251
|
end
|
@@ -5044,6 +5318,15 @@ module Google
|
|
5044
5318
|
# @return [Google::Apis::SqladminV1::MySqlSyncConfig]
|
5045
5319
|
attr_accessor :mysql_sync_config
|
5046
5320
|
|
5321
|
+
# Optional. MySQL only. True if end-user has confirmed that this SES call will
|
5322
|
+
# wipe replica databases overlapping with the proposed selected_objects. If this
|
5323
|
+
# field is not set and there are both overlapping and additional databases
|
5324
|
+
# proposed, an error will be returned.
|
5325
|
+
# Corresponds to the JSON property `replicaOverwriteEnabled`
|
5326
|
+
# @return [Boolean]
|
5327
|
+
attr_accessor :replica_overwrite_enabled
|
5328
|
+
alias_method :replica_overwrite_enabled?, :replica_overwrite_enabled
|
5329
|
+
|
5047
5330
|
# Whether to skip the verification step (VESS).
|
5048
5331
|
# Corresponds to the JSON property `skipVerification`
|
5049
5332
|
# @return [Boolean]
|
@@ -5069,6 +5352,7 @@ module Google
|
|
5069
5352
|
def update!(**args)
|
5070
5353
|
@migration_type = args[:migration_type] if args.key?(:migration_type)
|
5071
5354
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
5355
|
+
@replica_overwrite_enabled = args[:replica_overwrite_enabled] if args.key?(:replica_overwrite_enabled)
|
5072
5356
|
@skip_verification = args[:skip_verification] if args.key?(:skip_verification)
|
5073
5357
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
5074
5358
|
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
@@ -5831,6 +6115,32 @@ module Google
|
|
5831
6115
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5832
6116
|
end
|
5833
6117
|
end
|
6118
|
+
|
6119
|
+
# The cell value of the table.
|
6120
|
+
class Value
|
6121
|
+
include Google::Apis::Core::Hashable
|
6122
|
+
|
6123
|
+
# If cell value is null, then this flag will be set to true.
|
6124
|
+
# Corresponds to the JSON property `nullValue`
|
6125
|
+
# @return [Boolean]
|
6126
|
+
attr_accessor :null_value
|
6127
|
+
alias_method :null_value?, :null_value
|
6128
|
+
|
6129
|
+
# The cell value in string format.
|
6130
|
+
# Corresponds to the JSON property `value`
|
6131
|
+
# @return [String]
|
6132
|
+
attr_accessor :value
|
6133
|
+
|
6134
|
+
def initialize(**args)
|
6135
|
+
update!(**args)
|
6136
|
+
end
|
6137
|
+
|
6138
|
+
# Update properties of this object
|
6139
|
+
def update!(**args)
|
6140
|
+
@null_value = args[:null_value] if args.key?(:null_value)
|
6141
|
+
@value = args[:value] if args.key?(:value)
|
6142
|
+
end
|
6143
|
+
end
|
5834
6144
|
end
|
5835
6145
|
end
|
5836
6146
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SqladminV1
|
18
18
|
# Version of the google-apis-sqladmin_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.84.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 = "20250823"
|
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
|
|
@@ -574,6 +598,12 @@ module Google
|
|
574
598
|
include Google::Apis::Core::JsonObjectSupport
|
575
599
|
end
|
576
600
|
|
601
|
+
class QueryResult
|
602
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
603
|
+
|
604
|
+
include Google::Apis::Core::JsonObjectSupport
|
605
|
+
end
|
606
|
+
|
577
607
|
class ReplicaConfiguration
|
578
608
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
609
|
|
@@ -610,6 +640,12 @@ module Google
|
|
610
640
|
include Google::Apis::Core::JsonObjectSupport
|
611
641
|
end
|
612
642
|
|
643
|
+
class Row
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
|
+
|
646
|
+
include Google::Apis::Core::JsonObjectSupport
|
647
|
+
end
|
648
|
+
|
613
649
|
class SelectedObjects
|
614
650
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
651
|
|
@@ -640,6 +676,12 @@ module Google
|
|
640
676
|
include Google::Apis::Core::JsonObjectSupport
|
641
677
|
end
|
642
678
|
|
679
|
+
class SqlInstancesExecuteSqlResponse
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
643
685
|
class SqlInstancesGetDiskShrinkConfigResponse
|
644
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
645
687
|
|
@@ -802,6 +844,12 @@ module Google
|
|
802
844
|
include Google::Apis::Core::JsonObjectSupport
|
803
845
|
end
|
804
846
|
|
847
|
+
class Value
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
805
853
|
class AclEntry
|
806
854
|
# @private
|
807
855
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -982,6 +1030,15 @@ module Google
|
|
982
1030
|
property :point_in_time, as: 'pointInTime'
|
983
1031
|
property :preferred_secondary_zone, as: 'preferredSecondaryZone'
|
984
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'
|
985
1042
|
end
|
986
1043
|
end
|
987
1044
|
|
@@ -1009,6 +1066,7 @@ module Google
|
|
1009
1066
|
collection :ip_addresses, as: 'ipAddresses', class: Google::Apis::SqladminV1::IpMapping, decorator: Google::Apis::SqladminV1::IpMapping::Representation
|
1010
1067
|
|
1011
1068
|
property :kind, as: 'kind'
|
1069
|
+
collection :mdx_protocol_support, as: 'mdxProtocolSupport'
|
1012
1070
|
property :node_count, as: 'nodeCount'
|
1013
1071
|
collection :nodes, as: 'nodes', class: Google::Apis::SqladminV1::ConnectPoolNodeConfig, decorator: Google::Apis::SqladminV1::ConnectPoolNodeConfig::Representation
|
1014
1072
|
|
@@ -1026,6 +1084,7 @@ module Google
|
|
1026
1084
|
property :connection_pooling_enabled, as: 'connectionPoolingEnabled'
|
1027
1085
|
collection :flags, as: 'flags', class: Google::Apis::SqladminV1::ConnectionPoolFlags, decorator: Google::Apis::SqladminV1::ConnectionPoolFlags::Representation
|
1028
1086
|
|
1087
|
+
property :pooler_count, as: 'poolerCount'
|
1029
1088
|
end
|
1030
1089
|
end
|
1031
1090
|
|
@@ -1073,7 +1132,6 @@ module Google
|
|
1073
1132
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1074
1133
|
collection :available_maintenance_versions, as: 'availableMaintenanceVersions'
|
1075
1134
|
property :backend_type, as: 'backendType'
|
1076
|
-
property :clear_network, as: 'clearNetwork'
|
1077
1135
|
property :connection_name, as: 'connectionName'
|
1078
1136
|
property :create_time, as: 'createTime'
|
1079
1137
|
property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
|
@@ -1239,6 +1297,18 @@ module Google
|
|
1239
1297
|
end
|
1240
1298
|
end
|
1241
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 :partial_result_mode, as: 'partialResultMode'
|
1306
|
+
property :row_limit, :numeric_string => true, as: 'rowLimit'
|
1307
|
+
property :sql_statement, as: 'sqlStatement'
|
1308
|
+
property :user, as: 'user'
|
1309
|
+
end
|
1310
|
+
end
|
1311
|
+
|
1242
1312
|
class ExportContext
|
1243
1313
|
# @private
|
1244
1314
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1336,6 +1406,14 @@ module Google
|
|
1336
1406
|
end
|
1337
1407
|
end
|
1338
1408
|
|
1409
|
+
class FinalBackupConfig
|
1410
|
+
# @private
|
1411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1412
|
+
property :enabled, as: 'enabled'
|
1413
|
+
property :retention_days, as: 'retentionDays'
|
1414
|
+
end
|
1415
|
+
end
|
1416
|
+
|
1339
1417
|
class Flag
|
1340
1418
|
# @private
|
1341
1419
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1602,6 +1680,7 @@ module Google
|
|
1602
1680
|
property :backupdr_backup, as: 'backupdrBackup'
|
1603
1681
|
property :restore_backup_context, as: 'restoreBackupContext', class: Google::Apis::SqladminV1::RestoreBackupContext, decorator: Google::Apis::SqladminV1::RestoreBackupContext::Representation
|
1604
1682
|
|
1683
|
+
collection :restore_instance_clear_overrides_field_names, as: 'restoreInstanceClearOverridesFieldNames'
|
1605
1684
|
property :restore_instance_settings, as: 'restoreInstanceSettings', class: Google::Apis::SqladminV1::DatabaseInstance, decorator: Google::Apis::SqladminV1::DatabaseInstance::Representation
|
1606
1685
|
|
1607
1686
|
end
|
@@ -1698,6 +1777,13 @@ module Google
|
|
1698
1777
|
end
|
1699
1778
|
end
|
1700
1779
|
|
1780
|
+
class Metadata
|
1781
|
+
# @private
|
1782
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1783
|
+
property :sql_statement_execution_time, as: 'sqlStatementExecutionTime'
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
|
1701
1787
|
class MySqlReplicaConfiguration
|
1702
1788
|
# @private
|
1703
1789
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1892,6 +1978,18 @@ module Google
|
|
1892
1978
|
end
|
1893
1979
|
end
|
1894
1980
|
|
1981
|
+
class QueryResult
|
1982
|
+
# @private
|
1983
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1984
|
+
collection :columns, as: 'columns', class: Google::Apis::SqladminV1::Column, decorator: Google::Apis::SqladminV1::Column::Representation
|
1985
|
+
|
1986
|
+
property :message, as: 'message'
|
1987
|
+
property :partial_result, as: 'partialResult'
|
1988
|
+
collection :rows, as: 'rows', class: Google::Apis::SqladminV1::Row, decorator: Google::Apis::SqladminV1::Row::Representation
|
1989
|
+
|
1990
|
+
end
|
1991
|
+
end
|
1992
|
+
|
1895
1993
|
class ReplicaConfiguration
|
1896
1994
|
# @private
|
1897
1995
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1946,6 +2044,14 @@ module Google
|
|
1946
2044
|
end
|
1947
2045
|
end
|
1948
2046
|
|
2047
|
+
class Row
|
2048
|
+
# @private
|
2049
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2050
|
+
collection :values, as: 'values', class: Google::Apis::SqladminV1::Value, decorator: Google::Apis::SqladminV1::Value::Representation
|
2051
|
+
|
2052
|
+
end
|
2053
|
+
end
|
2054
|
+
|
1949
2055
|
class SelectedObjects
|
1950
2056
|
# @private
|
1951
2057
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1985,6 +2091,8 @@ module Google
|
|
1985
2091
|
property :edition, as: 'edition'
|
1986
2092
|
property :enable_dataplex_integration, as: 'enableDataplexIntegration'
|
1987
2093
|
property :enable_google_ml_integration, as: 'enableGoogleMlIntegration'
|
2094
|
+
property :final_backup_config, as: 'finalBackupConfig', class: Google::Apis::SqladminV1::FinalBackupConfig, decorator: Google::Apis::SqladminV1::FinalBackupConfig::Representation
|
2095
|
+
|
1988
2096
|
property :insights_config, as: 'insightsConfig', class: Google::Apis::SqladminV1::InsightsConfig, decorator: Google::Apis::SqladminV1::InsightsConfig::Representation
|
1989
2097
|
|
1990
2098
|
property :ip_configuration, as: 'ipConfiguration', class: Google::Apis::SqladminV1::IpConfiguration, decorator: Google::Apis::SqladminV1::IpConfiguration::Representation
|
@@ -2014,8 +2122,12 @@ module Google
|
|
2014
2122
|
class SqlActiveDirectoryConfig
|
2015
2123
|
# @private
|
2016
2124
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2125
|
+
property :admin_credential_secret_name, as: 'adminCredentialSecretName'
|
2126
|
+
collection :dns_servers, as: 'dnsServers'
|
2017
2127
|
property :domain, as: 'domain'
|
2018
2128
|
property :kind, as: 'kind'
|
2129
|
+
property :mode, as: 'mode'
|
2130
|
+
property :organizational_unit, as: 'organizationalUnit'
|
2019
2131
|
end
|
2020
2132
|
end
|
2021
2133
|
|
@@ -2035,6 +2147,16 @@ module Google
|
|
2035
2147
|
end
|
2036
2148
|
end
|
2037
2149
|
|
2150
|
+
class SqlInstancesExecuteSqlResponse
|
2151
|
+
# @private
|
2152
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2153
|
+
property :metadata, as: 'metadata', class: Google::Apis::SqladminV1::Metadata, decorator: Google::Apis::SqladminV1::Metadata::Representation
|
2154
|
+
|
2155
|
+
collection :results, as: 'results', class: Google::Apis::SqladminV1::QueryResult, decorator: Google::Apis::SqladminV1::QueryResult::Representation
|
2156
|
+
|
2157
|
+
end
|
2158
|
+
end
|
2159
|
+
|
2038
2160
|
class SqlInstancesGetDiskShrinkConfigResponse
|
2039
2161
|
# @private
|
2040
2162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2047,6 +2169,7 @@ module Google
|
|
2047
2169
|
class SqlInstancesGetLatestRecoveryTimeResponse
|
2048
2170
|
# @private
|
2049
2171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2172
|
+
property :earliest_recovery_time, as: 'earliestRecoveryTime'
|
2050
2173
|
property :kind, as: 'kind'
|
2051
2174
|
property :latest_recovery_time, as: 'latestRecoveryTime'
|
2052
2175
|
end
|
@@ -2079,6 +2202,7 @@ module Google
|
|
2079
2202
|
property :migration_type, as: 'migrationType'
|
2080
2203
|
property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1::MySqlSyncConfig, decorator: Google::Apis::SqladminV1::MySqlSyncConfig::Representation
|
2081
2204
|
|
2205
|
+
property :replica_overwrite_enabled, as: 'replicaOverwriteEnabled'
|
2082
2206
|
property :skip_verification, as: 'skipVerification'
|
2083
2207
|
property :sync_mode, as: 'syncMode'
|
2084
2208
|
property :sync_parallel_level, as: 'syncParallelLevel'
|
@@ -2299,6 +2423,14 @@ module Google
|
|
2299
2423
|
property :next_page_token, as: 'nextPageToken'
|
2300
2424
|
end
|
2301
2425
|
end
|
2426
|
+
|
2427
|
+
class Value
|
2428
|
+
# @private
|
2429
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2430
|
+
property :null_value, as: 'nullValue'
|
2431
|
+
property :value, as: 'value'
|
2432
|
+
end
|
2433
|
+
end
|
2302
2434
|
end
|
2303
2435
|
end
|
2304
2436
|
end
|
@@ -1068,6 +1068,42 @@ module Google
|
|
1068
1068
|
execute_or_queue_command(command, &block)
|
1069
1069
|
end
|
1070
1070
|
|
1071
|
+
# Execute SQL statements.
|
1072
|
+
# @param [String] project
|
1073
|
+
# Required. Project ID of the project that contains the instance.
|
1074
|
+
# @param [String] instance
|
1075
|
+
# Required. Database instance ID. This does not include the project ID.
|
1076
|
+
# @param [Google::Apis::SqladminV1::ExecuteSqlPayload] execute_sql_payload_object
|
1077
|
+
# @param [String] fields
|
1078
|
+
# Selector specifying which fields to include in a partial response.
|
1079
|
+
# @param [String] quota_user
|
1080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1082
|
+
# @param [Google::Apis::RequestOptions] options
|
1083
|
+
# Request-specific options
|
1084
|
+
#
|
1085
|
+
# @yield [result, err] Result & error if block supplied
|
1086
|
+
# @yieldparam result [Google::Apis::SqladminV1::SqlInstancesExecuteSqlResponse] parsed result object
|
1087
|
+
# @yieldparam err [StandardError] error object if request failed
|
1088
|
+
#
|
1089
|
+
# @return [Google::Apis::SqladminV1::SqlInstancesExecuteSqlResponse]
|
1090
|
+
#
|
1091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1094
|
+
def execute_instance_sql(project, instance, execute_sql_payload_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1095
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/executeSql', options)
|
1096
|
+
command.request_representation = Google::Apis::SqladminV1::ExecuteSqlPayload::Representation
|
1097
|
+
command.request_object = execute_sql_payload_object
|
1098
|
+
command.response_representation = Google::Apis::SqladminV1::SqlInstancesExecuteSqlResponse::Representation
|
1099
|
+
command.response_class = Google::Apis::SqladminV1::SqlInstancesExecuteSqlResponse
|
1100
|
+
command.params['project'] = project unless project.nil?
|
1101
|
+
command.params['instance'] = instance unless instance.nil?
|
1102
|
+
command.query['fields'] = fields unless fields.nil?
|
1103
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1104
|
+
execute_or_queue_command(command, &block)
|
1105
|
+
end
|
1106
|
+
|
1071
1107
|
# Exports data from a Cloud SQL instance to a Cloud Storage bucket as a SQL dump
|
1072
1108
|
# or CSV file.
|
1073
1109
|
# @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, 'v1/projects/{project}/instances/{instance}/getLatestRecoveryTime', options)
|
2006
2045
|
command.response_representation = Google::Apis::SqladminV1::SqlInstancesGetLatestRecoveryTimeResponse::Representation
|
2007
2046
|
command.response_class = Google::Apis::SqladminV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.84.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.84.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|