google-apis-sqladmin_v1 0.36.0 → 0.38.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 538d7bb67e6525b07735e1d4f1f3ff3996f3caf10763e5d2bfbb26b6f25e8ca5
|
4
|
+
data.tar.gz: c6f109732afbc9a4695c2ba7910395672467d41cf4e21cbb7d52b11e03763f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d0c2f70369ced1289e85a77b1c2cebf23290e297d44d6703572f0a16c843828d02246e52a9d440c48c51bfcf5ab9bf7b39faf25226d857ff57a875f85025412
|
7
|
+
data.tar.gz: dc41ac0f09fa2b0f65745ae760f61a1fdff5266be36b5a76b642b32982a7b703da5c15492214fc2584aa7a0f830d3e8f9f93338351eb24fc9a7897832cc472de
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.38.0 (2023-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230530
|
6
|
+
|
7
|
+
### v0.37.0 (2023-05-14)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230505
|
10
|
+
|
3
11
|
### v0.36.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
|
@@ -1639,11 +1670,32 @@ module Google
|
|
1639
1670
|
class BakImportOptions
|
1640
1671
|
include Google::Apis::Core::Hashable
|
1641
1672
|
|
1673
|
+
# Type of the bak content, FULL or DIFF
|
1674
|
+
# Corresponds to the JSON property `bakType`
|
1675
|
+
# @return [String]
|
1676
|
+
attr_accessor :bak_type
|
1677
|
+
|
1642
1678
|
#
|
1643
1679
|
# Corresponds to the JSON property `encryptionOptions`
|
1644
1680
|
# @return [Google::Apis::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions]
|
1645
1681
|
attr_accessor :encryption_options
|
1646
1682
|
|
1683
|
+
# Whether or not the backup importing will restore database with NORECOVERY
|
1684
|
+
# option Applies only to Cloud SQL for SQL Server.
|
1685
|
+
# Corresponds to the JSON property `noRecovery`
|
1686
|
+
# @return [Boolean]
|
1687
|
+
attr_accessor :no_recovery
|
1688
|
+
alias_method :no_recovery?, :no_recovery
|
1689
|
+
|
1690
|
+
# Whether or not the backup importing request will just bring database online
|
1691
|
+
# without downloading Bak content only one of "no_recovery" and "recovery_only"
|
1692
|
+
# can be true otherwise error will return. Applies only to Cloud SQL for SQL
|
1693
|
+
# Server.
|
1694
|
+
# Corresponds to the JSON property `recoveryOnly`
|
1695
|
+
# @return [Boolean]
|
1696
|
+
attr_accessor :recovery_only
|
1697
|
+
alias_method :recovery_only?, :recovery_only
|
1698
|
+
|
1647
1699
|
# Whether or not the backup set being restored is striped. Applies only to Cloud
|
1648
1700
|
# SQL for SQL Server.
|
1649
1701
|
# Corresponds to the JSON property `striped`
|
@@ -1657,7 +1709,10 @@ module Google
|
|
1657
1709
|
|
1658
1710
|
# Update properties of this object
|
1659
1711
|
def update!(**args)
|
1712
|
+
@bak_type = args[:bak_type] if args.key?(:bak_type)
|
1660
1713
|
@encryption_options = args[:encryption_options] if args.key?(:encryption_options)
|
1714
|
+
@no_recovery = args[:no_recovery] if args.key?(:no_recovery)
|
1715
|
+
@recovery_only = args[:recovery_only] if args.key?(:recovery_only)
|
1661
1716
|
@striped = args[:striped] if args.key?(:striped)
|
1662
1717
|
end
|
1663
1718
|
|
@@ -3268,6 +3323,12 @@ module Google
|
|
3268
3323
|
# @return [String]
|
3269
3324
|
attr_accessor :sync_mode
|
3270
3325
|
|
3326
|
+
# Optional. Parallel level for initial data sync. Currently only applicable for
|
3327
|
+
# MySQL.
|
3328
|
+
# Corresponds to the JSON property `syncParallelLevel`
|
3329
|
+
# @return [String]
|
3330
|
+
attr_accessor :sync_parallel_level
|
3331
|
+
|
3271
3332
|
def initialize(**args)
|
3272
3333
|
update!(**args)
|
3273
3334
|
end
|
@@ -3277,6 +3338,7 @@ module Google
|
|
3277
3338
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
3278
3339
|
@skip_verification = args[:skip_verification] if args.key?(:skip_verification)
|
3279
3340
|
@sync_mode = args[:sync_mode] if args.key?(:sync_mode)
|
3341
|
+
@sync_parallel_level = args[:sync_parallel_level] if args.key?(:sync_parallel_level)
|
3280
3342
|
end
|
3281
3343
|
end
|
3282
3344
|
|
@@ -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.38.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::SqladminV1::ImportContext::BakImportOptions::EncryptionOptions, decorator: Google::Apis::SqladminV1::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::SqladminV1::Empty] parsed result object
|
1310
|
+
# @yieldparam err [StandardError] error object if request failed
|
1311
|
+
#
|
1312
|
+
# @return [Google::Apis::SqladminV1::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, 'v1/projects/{project}/operations/{operation}/cancel', options)
|
1319
|
+
command.response_representation = Google::Apis::SqladminV1::Empty::Representation
|
1320
|
+
command.response_class = Google::Apis::SqladminV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.38.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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1/v0.38.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|