google-apis-sqladmin_v1 0.37.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: e553f9da2c71ab295b8acd8b08234d4394867a5df24e3dffdfca66980e9bb1db
4
- data.tar.gz: ec53a84e9f12208a6314149562d2298935380175f8ddd81cd02c34a474006b78
3
+ metadata.gz: 538d7bb67e6525b07735e1d4f1f3ff3996f3caf10763e5d2bfbb26b6f25e8ca5
4
+ data.tar.gz: c6f109732afbc9a4695c2ba7910395672467d41cf4e21cbb7d52b11e03763f69
5
5
  SHA512:
6
- metadata.gz: a142c489a729999f65213c03c8b4f764b3cf22e6378a4ee049f581ef7fe230c78c236f19c19c2909db5a607c6bd13ff0f75a79a3cde8d923c70c30209bc7bc1b
7
- data.tar.gz: e5986e85dd339ff1f14f0c96731c23d1c4986c48a9c9506728e25504cd9e86c9f7bd8fb8c27a3999bf74b766d397614de582aa76663bf280afd1afaae0eb1c09
6
+ metadata.gz: 1d0c2f70369ced1289e85a77b1c2cebf23290e297d44d6703572f0a16c843828d02246e52a9d440c48c51bfcf5ab9bf7b39faf25226d857ff57a875f85025412
7
+ data.tar.gz: dc41ac0f09fa2b0f65745ae760f61a1fdff5266be36b5a76b642b32982a7b703da5c15492214fc2584aa7a0f830d3e8f9f93338351eb24fc9a7897832cc472de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.37.0 (2023-05-14)
4
8
 
5
9
  * Regenerated from discovery document revision 20230505
@@ -143,7 +143,7 @@ module Google
143
143
  # @return [String]
144
144
  attr_accessor :location
145
145
 
146
- # (Postgres only) Whether point in time recovery is enabled.
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
@@ -3315,6 +3323,12 @@ module Google
3315
3323
  # @return [String]
3316
3324
  attr_accessor :sync_mode
3317
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
+
3318
3332
  def initialize(**args)
3319
3333
  update!(**args)
3320
3334
  end
@@ -3324,6 +3338,7 @@ module Google
3324
3338
  @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
3325
3339
  @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
3326
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)
3327
3342
  end
3328
3343
  end
3329
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.37.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 = "20230505"
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::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.37.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-05-14 00:00:00.000000000 Z
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.37.0
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: []