google-apis-sqladmin_v1beta4 0.48.0 → 0.49.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: 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
@@ -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
|
@@ -3316,6 +3324,12 @@ module Google
|
|
3316
3324
|
# @return [String]
|
3317
3325
|
attr_accessor :sync_mode
|
3318
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
|
+
|
3319
3333
|
def initialize(**args)
|
3320
3334
|
update!(**args)
|
3321
3335
|
end
|
@@ -3325,6 +3339,7 @@ module Google
|
|
3325
3339
|
@mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
|
3326
3340
|
@skip_verification = args[:skip_verification] if args.key?(:skip_verification)
|
3327
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)
|
3328
3343
|
end
|
3329
3344
|
end
|
3330
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
|
@@ -1437,6 +1448,7 @@ module Google
|
|
1437
1448
|
|
1438
1449
|
property :skip_verification, as: 'skipVerification'
|
1439
1450
|
property :sync_mode, as: 'syncMode'
|
1451
|
+
property :sync_parallel_level, as: 'syncParallelLevel'
|
1440
1452
|
end
|
1441
1453
|
end
|
1442
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-
|
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: []
|