google-apis-sqladmin_v1beta4 0.47.0 → 0.49.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: d5691b4bfabf7cdcf7260f2577bf0ed32a6f4b60fbd22fca6f56ce67096f4cad
|
4
|
+
data.tar.gz: 7c82f0d821d02553cc75e80481a69fbd505adf5d063f44f9fac222feb56adce3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eedf8e9b9eb8dc25d159a65770da1712f6587326a69743269b895ce035f3aa17ac56c560024976cdda4729b821e78615bfe3edb40ce4ec50283ee0f01b6adddf
|
7
|
+
data.tar.gz: bbd432873de0e8f0e06256287c9c81b1554bc69bb49af47a348d9dd5817ef9399391a8be552afab4da932c324dafe34b8a6226bac6edd3560f630ab4bb95a33f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.49.0 (2023-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230530
|
6
|
+
|
7
|
+
### v0.48.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230505
|
10
|
+
|
3
11
|
### v0.47.0 (2023-04-30)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230422
|
@@ -143,7 +143,7 @@ module Google
|
|
143
143
|
# @return [String]
|
144
144
|
attr_accessor :location
|
145
145
|
|
146
|
-
#
|
146
|
+
# Whether point in time recovery is enabled.
|
147
147
|
# Corresponds to the JSON property `pointInTimeRecoveryEnabled`
|
148
148
|
# @return [Boolean]
|
149
149
|
attr_accessor :point_in_time_recovery_enabled
|
@@ -472,13 +472,6 @@ module Google
|
|
472
472
|
# @return [String]
|
473
473
|
attr_accessor :point_in_time
|
474
474
|
|
475
|
-
# (Point-in-time recovery for PostgreSQL only) Clone to an instance in the
|
476
|
-
# specified zone. If no zone is specified, clone to the same zone as the source
|
477
|
-
# instance.
|
478
|
-
# Corresponds to the JSON property `preferredZone`
|
479
|
-
# @return [String]
|
480
|
-
attr_accessor :preferred_zone
|
481
|
-
|
482
475
|
def initialize(**args)
|
483
476
|
update!(**args)
|
484
477
|
end
|
@@ -492,7 +485,6 @@ module Google
|
|
492
485
|
@kind = args[:kind] if args.key?(:kind)
|
493
486
|
@pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
|
494
487
|
@point_in_time = args[:point_in_time] if args.key?(:point_in_time)
|
495
|
-
@preferred_zone = args[:preferred_zone] if args.key?(:preferred_zone)
|
496
488
|
end
|
497
489
|
end
|
498
490
|
|
@@ -1177,6 +1169,22 @@ module Google
|
|
1177
1169
|
end
|
1178
1170
|
end
|
1179
1171
|
|
1172
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1173
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
1174
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1175
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1176
|
+
class Empty
|
1177
|
+
include Google::Apis::Core::Hashable
|
1178
|
+
|
1179
|
+
def initialize(**args)
|
1180
|
+
update!(**args)
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# Update properties of this object
|
1184
|
+
def update!(**args)
|
1185
|
+
end
|
1186
|
+
end
|
1187
|
+
|
1180
1188
|
# Database instance export context.
|
1181
1189
|
class ExportContext
|
1182
1190
|
include Google::Apis::Core::Hashable
|
@@ -1253,6 +1261,26 @@ module Google
|
|
1253
1261
|
class BakExportOptions
|
1254
1262
|
include Google::Apis::Core::Hashable
|
1255
1263
|
|
1264
|
+
# Type of this bak file will be export, FULL or DIFF, SQL Server only
|
1265
|
+
# Corresponds to the JSON property `bakType`
|
1266
|
+
# @return [String]
|
1267
|
+
attr_accessor :bak_type
|
1268
|
+
|
1269
|
+
# Whether or not the export will be exeucted with COPY_ONLY, SQL Server only
|
1270
|
+
# deprecated as the behavior should default to copy_only = true use
|
1271
|
+
# differential_base instead
|
1272
|
+
# Corresponds to the JSON property `copyOnly`
|
1273
|
+
# @return [Boolean]
|
1274
|
+
attr_accessor :copy_only
|
1275
|
+
alias_method :copy_only?, :copy_only
|
1276
|
+
|
1277
|
+
# Whether or not the backup can be use as differential base only non copy only
|
1278
|
+
# backup can be served as differential base
|
1279
|
+
# Corresponds to the JSON property `differentialBase`
|
1280
|
+
# @return [Boolean]
|
1281
|
+
attr_accessor :differential_base
|
1282
|
+
alias_method :differential_base?, :differential_base
|
1283
|
+
|
1256
1284
|
# Option for specifying how many stripes to use for the export. If blank, and
|
1257
1285
|
# the value of the striped field is true, the number of stripes is automatically
|
1258
1286
|
# chosen.
|
@@ -1272,6 +1300,9 @@ module Google
|
|
1272
1300
|
|
1273
1301
|
# Update properties of this object
|
1274
1302
|
def update!(**args)
|
1303
|
+
@bak_type = args[:bak_type] if args.key?(:bak_type)
|
1304
|
+
@copy_only = args[:copy_only] if args.key?(:copy_only)
|
1305
|
+
@differential_base = args[:differential_base] if args.key?(:differential_base)
|
1275
1306
|
@stripe_count = args[:stripe_count] if args.key?(:stripe_count)
|
1276
1307
|
@striped = args[:striped] if args.key?(:striped)
|
1277
1308
|
end
|
@@ -1640,11 +1671,32 @@ module Google
|
|
1640
1671
|
class BakImportOptions
|
1641
1672
|
include Google::Apis::Core::Hashable
|
1642
1673
|
|
1674
|
+
# Type of the bak content, FULL or DIFF.
|
1675
|
+
# Corresponds to the JSON property `bakType`
|
1676
|
+
# @return [String]
|
1677
|
+
attr_accessor :bak_type
|
1678
|
+
|
1643
1679
|
#
|
1644
1680
|
# Corresponds to the JSON property `encryptionOptions`
|
1645
1681
|
# @return [Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions]
|
1646
1682
|
attr_accessor :encryption_options
|
1647
1683
|
|
1684
|
+
# Whether or not the backup importing will restore database with NORECOVERY
|
1685
|
+
# option Applies only to Cloud SQL for SQL Server.
|
1686
|
+
# Corresponds to the JSON property `noRecovery`
|
1687
|
+
# @return [Boolean]
|
1688
|
+
attr_accessor :no_recovery
|
1689
|
+
alias_method :no_recovery?, :no_recovery
|
1690
|
+
|
1691
|
+
# Whether or not the backup importing request will just bring database online
|
1692
|
+
# without downloading Bak content only one of "no_recovery" and "recovery_only"
|
1693
|
+
# can be true otherwise error will return. Applies only to Cloud SQL for SQL
|
1694
|
+
# Server.
|
1695
|
+
# Corresponds to the JSON property `recoveryOnly`
|
1696
|
+
# @return [Boolean]
|
1697
|
+
attr_accessor :recovery_only
|
1698
|
+
alias_method :recovery_only?, :recovery_only
|
1699
|
+
|
1648
1700
|
# Whether or not the backup set being restored is striped. Applies only to Cloud
|
1649
1701
|
# SQL for SQL Server.
|
1650
1702
|
# Corresponds to the JSON property `striped`
|
@@ -1658,7 +1710,10 @@ module Google
|
|
1658
1710
|
|
1659
1711
|
# Update properties of this object
|
1660
1712
|
def update!(**args)
|
1713
|
+
@bak_type = args[:bak_type] if args.key?(:bak_type)
|
1661
1714
|
@encryption_options = args[:encryption_options] if args.key?(:encryption_options)
|
1715
|
+
@no_recovery = args[:no_recovery] if args.key?(:no_recovery)
|
1716
|
+
@recovery_only = args[:recovery_only] if args.key?(:recovery_only)
|
1662
1717
|
@striped = args[:striped] if args.key?(:striped)
|
1663
1718
|
end
|
1664
1719
|
|
@@ -3269,6 +3324,12 @@ module Google
|
|
3269
3324
|
# @return [String]
|
3270
3325
|
attr_accessor :sync_mode
|
3271
3326
|
|
3327
|
+
# Optional. Parallel level for initial data sync. Currently only applicable for
|
3328
|
+
# MySQL.
|
3329
|
+
# Corresponds to the JSON property `syncParallelLevel`
|
3330
|
+
# @return [String]
|
3331
|
+
attr_accessor :sync_parallel_level
|
3332
|
+
|
3272
3333
|
def initialize(**args)
|
3273
3334
|
update!(**args)
|
3274
3335
|
end
|
@@ -3278,6 +3339,7 @@ module Google
|
|
3278
3339
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
3279
3340
|
@skip_verification = args[:skip_verification] if args.key?(:skip_verification)
|
3280
3341
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
3342
|
+
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
3281
3343
|
end
|
3282
3344
|
end
|
3283
3345
|
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230530"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -154,6 +154,12 @@ module Google
|
|
154
154
|
include Google::Apis::Core::JsonObjectSupport
|
155
155
|
end
|
156
156
|
|
157
|
+
class Empty
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
157
163
|
class ExportContext
|
158
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
165
|
|
@@ -700,7 +706,6 @@ module Google
|
|
700
706
|
property :kind, as: 'kind'
|
701
707
|
property :pitr_timestamp_ms, :numeric_string => true, as: 'pitrTimestampMs'
|
702
708
|
property :point_in_time, as: 'pointInTime'
|
703
|
-
property :preferred_zone, as: 'preferredZone'
|
704
709
|
end
|
705
710
|
end
|
706
711
|
|
@@ -869,6 +874,12 @@ module Google
|
|
869
874
|
end
|
870
875
|
end
|
871
876
|
|
877
|
+
class Empty
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
end
|
881
|
+
end
|
882
|
+
|
872
883
|
class ExportContext
|
873
884
|
# @private
|
874
885
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -888,6 +899,9 @@ module Google
|
|
888
899
|
class BakExportOptions
|
889
900
|
# @private
|
890
901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
+
property :bak_type, as: 'bakType'
|
903
|
+
property :copy_only, as: 'copyOnly'
|
904
|
+
property :differential_base, as: 'differentialBase'
|
891
905
|
property :stripe_count, as: 'stripeCount'
|
892
906
|
property :striped, as: 'striped'
|
893
907
|
end
|
@@ -990,8 +1004,11 @@ module Google
|
|
990
1004
|
class BakImportOptions
|
991
1005
|
# @private
|
992
1006
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1007
|
+
property :bak_type, as: 'bakType'
|
993
1008
|
property :encryption_options, as: 'encryptionOptions', class: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1beta4::ImportContext::BakImportOptions::EncryptionOptions::Representation
|
994
1009
|
|
1010
|
+
property :no_recovery, as: 'noRecovery'
|
1011
|
+
property :recovery_only, as: 'recoveryOnly'
|
995
1012
|
property :striped, as: 'striped'
|
996
1013
|
end
|
997
1014
|
|
@@ -1431,6 +1448,7 @@ module Google
|
|
1431
1448
|
|
1432
1449
|
property :skip_verification, as: 'skipVerification'
|
1433
1450
|
property :sync_mode, as: 'syncMode'
|
1451
|
+
property :sync_parallel_level, as: 'syncParallelLevel'
|
1434
1452
|
end
|
1435
1453
|
end
|
1436
1454
|
|
@@ -1292,6 +1292,39 @@ module Google
|
|
1292
1292
|
execute_or_queue_command(command, &block)
|
1293
1293
|
end
|
1294
1294
|
|
1295
|
+
# Cancels an instance operation that has been performed on an instance.
|
1296
|
+
# @param [String] project
|
1297
|
+
# Project ID of the project that contains the instance.
|
1298
|
+
# @param [String] operation
|
1299
|
+
# Instance operation ID.
|
1300
|
+
# @param [String] fields
|
1301
|
+
# Selector specifying which fields to include in a partial response.
|
1302
|
+
# @param [String] quota_user
|
1303
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1304
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1305
|
+
# @param [Google::Apis::RequestOptions] options
|
1306
|
+
# Request-specific options
|
1307
|
+
#
|
1308
|
+
# @yield [result, err] Result & error if block supplied
|
1309
|
+
# @yieldparam result [Google::Apis::SqladminV1beta4::Empty] parsed result object
|
1310
|
+
# @yieldparam err [StandardError] error object if request failed
|
1311
|
+
#
|
1312
|
+
# @return [Google::Apis::SqladminV1beta4::Empty]
|
1313
|
+
#
|
1314
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1315
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1316
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1317
|
+
def cancel_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
1318
|
+
command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/operations/{operation}/cancel', options)
|
1319
|
+
command.response_representation = Google::Apis::SqladminV1beta4::Empty::Representation
|
1320
|
+
command.response_class = Google::Apis::SqladminV1beta4::Empty
|
1321
|
+
command.params['project'] = project unless project.nil?
|
1322
|
+
command.params['operation'] = operation unless operation.nil?
|
1323
|
+
command.query['fields'] = fields unless fields.nil?
|
1324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1325
|
+
execute_or_queue_command(command, &block)
|
1326
|
+
end
|
1327
|
+
|
1295
1328
|
# Retrieves an instance operation that has been performed on an instance.
|
1296
1329
|
# @param [String] project
|
1297
1330
|
# 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.49.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: 2023-04
|
11
|
+
date: 2023-06-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.49.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: []
|