google-apis-sqladmin_v1 0.33.0 → 0.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/sqladmin_v1/classes.rb +83 -1
- data/lib/google/apis/sqladmin_v1/gem_version.rb +2 -2
- data/lib/google/apis/sqladmin_v1/representations.rb +54 -0
- data/lib/google/apis/sqladmin_v1/service.rb +106 -1
- data/lib/google/apis/sqladmin_v1.rb +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab4005cb7ba1cd249befe2b9b209be32d127d249f21b3b275004481577eea975
|
4
|
+
data.tar.gz: 69418ee071e54c6ab3e58e28b0d54f97892c2e8e4257eaa0b1aaa8fd73845e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3cb13804ad4556064d33693de83945f05a5196f855a248e58667a81bde32a531e31b6d206b34745b6f8943b9968d9ed4077951c6f7b207451aa222dadee73db0
|
7
|
+
data.tar.gz: d56396b67394837284511614a56662f1ee362f750de4aa54d1c2e6856acd5b81600ba35fa49ed2a3e200a32570a427287c9d751cce7adf64cbb084817b6f0873
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1
|
2
2
|
|
3
|
+
### v0.35.0 (2023-04-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230405
|
6
|
+
|
7
|
+
### v0.34.0 (2023-03-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230309
|
10
|
+
|
3
11
|
### v0.33.0 (2023-03-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230226
|
data/OVERVIEW.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# Simple REST client for version V1 of the
|
1
|
+
# Simple REST client for version V1 of the Cloud SQL Admin API
|
2
2
|
|
3
|
-
This is a simple client library for version V1 of the
|
3
|
+
This is a simple client library for version V1 of the Cloud SQL Admin API. It provides:
|
4
4
|
|
5
5
|
* A client object that connects to the HTTP/JSON REST endpoint for the service.
|
6
6
|
* Ruby objects for data structures related to the service.
|
@@ -65,7 +65,7 @@ More detailed descriptions of the Google simple REST clients are available in tw
|
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Sqladmin service in particular.)
|
67
67
|
|
68
|
-
For reference information on specific calls in the
|
68
|
+
For reference information on specific calls in the Cloud SQL Admin API, see the {Google::Apis::SqladminV1::SQLAdminService class reference docs}.
|
69
69
|
|
70
70
|
## Which client should I use?
|
71
71
|
|
@@ -60,6 +60,25 @@ module Google
|
|
60
60
|
end
|
61
61
|
end
|
62
62
|
|
63
|
+
# Specifies options for controlling advanced machine features.
|
64
|
+
class AdvancedMachineFeatures
|
65
|
+
include Google::Apis::Core::Hashable
|
66
|
+
|
67
|
+
# The number of threads per physical core.
|
68
|
+
# Corresponds to the JSON property `threadsPerCore`
|
69
|
+
# @return [Fixnum]
|
70
|
+
attr_accessor :threads_per_core
|
71
|
+
|
72
|
+
def initialize(**args)
|
73
|
+
update!(**args)
|
74
|
+
end
|
75
|
+
|
76
|
+
# Update properties of this object
|
77
|
+
def update!(**args)
|
78
|
+
@threads_per_core = args[:threads_per_core] if args.key?(:threads_per_core)
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
63
82
|
# An Admin API warning message.
|
64
83
|
class ApiWarning
|
65
84
|
include Google::Apis::Core::Hashable
|
@@ -630,7 +649,7 @@ module Google
|
|
630
649
|
class DatabaseInstance
|
631
650
|
include Google::Apis::Core::Hashable
|
632
651
|
|
633
|
-
# List all maintenance versions applicable on the instance
|
652
|
+
# Output only. List all maintenance versions applicable on the instance
|
634
653
|
# Corresponds to the JSON property `availableMaintenanceVersions`
|
635
654
|
# @return [Array<String>]
|
636
655
|
attr_accessor :available_maintenance_versions
|
@@ -2726,6 +2745,25 @@ module Google
|
|
2726
2745
|
end
|
2727
2746
|
end
|
2728
2747
|
|
2748
|
+
# Perform disk shrink context.
|
2749
|
+
class PerformDiskShrinkContext
|
2750
|
+
include Google::Apis::Core::Hashable
|
2751
|
+
|
2752
|
+
# The target disk shrink size in GigaBytes.
|
2753
|
+
# Corresponds to the JSON property `targetSizeGb`
|
2754
|
+
# @return [Fixnum]
|
2755
|
+
attr_accessor :target_size_gb
|
2756
|
+
|
2757
|
+
def initialize(**args)
|
2758
|
+
update!(**args)
|
2759
|
+
end
|
2760
|
+
|
2761
|
+
# Update properties of this object
|
2762
|
+
def update!(**args)
|
2763
|
+
@target_size_gb = args[:target_size_gb] if args.key?(:target_size_gb)
|
2764
|
+
end
|
2765
|
+
end
|
2766
|
+
|
2729
2767
|
# Read-replica configuration for connecting to the primary instance.
|
2730
2768
|
class ReplicaConfiguration
|
2731
2769
|
include Google::Apis::Core::Hashable
|
@@ -2871,6 +2909,11 @@ module Google
|
|
2871
2909
|
# @return [Google::Apis::SqladminV1::SqlActiveDirectoryConfig]
|
2872
2910
|
attr_accessor :active_directory_config
|
2873
2911
|
|
2912
|
+
# Specifies options for controlling advanced machine features.
|
2913
|
+
# Corresponds to the JSON property `advancedMachineFeatures`
|
2914
|
+
# @return [Google::Apis::SqladminV1::AdvancedMachineFeatures]
|
2915
|
+
attr_accessor :advanced_machine_features
|
2916
|
+
|
2874
2917
|
# The App Engine app IDs that can access this instance. (Deprecated) Applied to
|
2875
2918
|
# First Generation instances only.
|
2876
2919
|
# Corresponds to the JSON property `authorizedGaeApplications`
|
@@ -3047,6 +3090,7 @@ module Google
|
|
3047
3090
|
def update!(**args)
|
3048
3091
|
@activation_policy = args[:activation_policy] if args.key?(:activation_policy)
|
3049
3092
|
@active_directory_config = args[:active_directory_config] if args.key?(:active_directory_config)
|
3093
|
+
@advanced_machine_features = args[:advanced_machine_features] if args.key?(:advanced_machine_features)
|
3050
3094
|
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
|
3051
3095
|
@availability_type = args[:availability_type] if args.key?(:availability_type)
|
3052
3096
|
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
@@ -3133,6 +3177,31 @@ module Google
|
|
3133
3177
|
end
|
3134
3178
|
end
|
3135
3179
|
|
3180
|
+
# Instance get disk shrink config response.
|
3181
|
+
class SqlInstancesGetDiskShrinkConfigResponse
|
3182
|
+
include Google::Apis::Core::Hashable
|
3183
|
+
|
3184
|
+
# This is always `sql#getDiskShrinkConfig`.
|
3185
|
+
# Corresponds to the JSON property `kind`
|
3186
|
+
# @return [String]
|
3187
|
+
attr_accessor :kind
|
3188
|
+
|
3189
|
+
# The minimum size to which a disk can be shrunk in GigaBytes.
|
3190
|
+
# Corresponds to the JSON property `minimalTargetSizeGb`
|
3191
|
+
# @return [Fixnum]
|
3192
|
+
attr_accessor :minimal_target_size_gb
|
3193
|
+
|
3194
|
+
def initialize(**args)
|
3195
|
+
update!(**args)
|
3196
|
+
end
|
3197
|
+
|
3198
|
+
# Update properties of this object
|
3199
|
+
def update!(**args)
|
3200
|
+
@kind = args[:kind] if args.key?(:kind)
|
3201
|
+
@minimal_target_size_gb = args[:minimal_target_size_gb] if args.key?(:minimal_target_size_gb)
|
3202
|
+
end
|
3203
|
+
end
|
3204
|
+
|
3136
3205
|
# Reschedule options for maintenance windows.
|
3137
3206
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
3138
3207
|
include Google::Apis::Core::Hashable
|
@@ -3152,6 +3221,19 @@ module Google
|
|
3152
3221
|
end
|
3153
3222
|
end
|
3154
3223
|
|
3224
|
+
# Instance reset replica size request.
|
3225
|
+
class SqlInstancesResetReplicaSizeRequest
|
3226
|
+
include Google::Apis::Core::Hashable
|
3227
|
+
|
3228
|
+
def initialize(**args)
|
3229
|
+
update!(**args)
|
3230
|
+
end
|
3231
|
+
|
3232
|
+
# Update properties of this object
|
3233
|
+
def update!(**args)
|
3234
|
+
end
|
3235
|
+
end
|
3236
|
+
|
3155
3237
|
# Instance start external sync request.
|
3156
3238
|
class SqlInstancesStartExternalSyncRequest
|
3157
3239
|
include Google::Apis::Core::Hashable
|
@@ -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.35.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 = "20230405"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AdvancedMachineFeatures
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class ApiWarning
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -388,6 +394,12 @@ module Google
|
|
388
394
|
include Google::Apis::Core::JsonObjectSupport
|
389
395
|
end
|
390
396
|
|
397
|
+
class PerformDiskShrinkContext
|
398
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
399
|
+
|
400
|
+
include Google::Apis::Core::JsonObjectSupport
|
401
|
+
end
|
402
|
+
|
391
403
|
class ReplicaConfiguration
|
392
404
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
393
405
|
|
@@ -430,12 +442,24 @@ module Google
|
|
430
442
|
include Google::Apis::Core::JsonObjectSupport
|
431
443
|
end
|
432
444
|
|
445
|
+
class SqlInstancesGetDiskShrinkConfigResponse
|
446
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
447
|
+
|
448
|
+
include Google::Apis::Core::JsonObjectSupport
|
449
|
+
end
|
450
|
+
|
433
451
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
434
452
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
435
453
|
|
436
454
|
include Google::Apis::Core::JsonObjectSupport
|
437
455
|
end
|
438
456
|
|
457
|
+
class SqlInstancesResetReplicaSizeRequest
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
439
463
|
class SqlInstancesStartExternalSyncRequest
|
440
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
465
|
|
@@ -572,6 +596,13 @@ module Google
|
|
572
596
|
end
|
573
597
|
end
|
574
598
|
|
599
|
+
class AdvancedMachineFeatures
|
600
|
+
# @private
|
601
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
602
|
+
property :threads_per_core, as: 'threadsPerCore'
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
575
606
|
class ApiWarning
|
576
607
|
# @private
|
577
608
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1262,6 +1293,13 @@ module Google
|
|
1262
1293
|
end
|
1263
1294
|
end
|
1264
1295
|
|
1296
|
+
class PerformDiskShrinkContext
|
1297
|
+
# @private
|
1298
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1299
|
+
property :target_size_gb, :numeric_string => true, as: 'targetSizeGb'
|
1300
|
+
end
|
1301
|
+
end
|
1302
|
+
|
1265
1303
|
class ReplicaConfiguration
|
1266
1304
|
# @private
|
1267
1305
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1304,6 +1342,8 @@ module Google
|
|
1304
1342
|
property :activation_policy, as: 'activationPolicy'
|
1305
1343
|
property :active_directory_config, as: 'activeDirectoryConfig', class: Google::Apis::SqladminV1::SqlActiveDirectoryConfig, decorator: Google::Apis::SqladminV1::SqlActiveDirectoryConfig::Representation
|
1306
1344
|
|
1345
|
+
property :advanced_machine_features, as: 'advancedMachineFeatures', class: Google::Apis::SqladminV1::AdvancedMachineFeatures, decorator: Google::Apis::SqladminV1::AdvancedMachineFeatures::Representation
|
1346
|
+
|
1307
1347
|
collection :authorized_gae_applications, as: 'authorizedGaeApplications'
|
1308
1348
|
property :availability_type, as: 'availabilityType'
|
1309
1349
|
property :backup_configuration, as: 'backupConfiguration', class: Google::Apis::SqladminV1::BackupConfiguration, decorator: Google::Apis::SqladminV1::BackupConfiguration::Representation
|
@@ -1360,6 +1400,14 @@ module Google
|
|
1360
1400
|
end
|
1361
1401
|
end
|
1362
1402
|
|
1403
|
+
class SqlInstancesGetDiskShrinkConfigResponse
|
1404
|
+
# @private
|
1405
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1406
|
+
property :kind, as: 'kind'
|
1407
|
+
property :minimal_target_size_gb, :numeric_string => true, as: 'minimalTargetSizeGb'
|
1408
|
+
end
|
1409
|
+
end
|
1410
|
+
|
1363
1411
|
class SqlInstancesRescheduleMaintenanceRequestBody
|
1364
1412
|
# @private
|
1365
1413
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1368,6 +1416,12 @@ module Google
|
|
1368
1416
|
end
|
1369
1417
|
end
|
1370
1418
|
|
1419
|
+
class SqlInstancesResetReplicaSizeRequest
|
1420
|
+
# @private
|
1421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1422
|
+
end
|
1423
|
+
end
|
1424
|
+
|
1371
1425
|
class SqlInstancesStartExternalSyncRequest
|
1372
1426
|
# @private
|
1373
1427
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module SqladminV1
|
23
|
-
#
|
23
|
+
# Cloud SQL Admin API
|
24
24
|
#
|
25
25
|
# API for Cloud SQL database instance management
|
26
26
|
#
|
@@ -1366,6 +1366,75 @@ module Google
|
|
1366
1366
|
execute_or_queue_command(command, &block)
|
1367
1367
|
end
|
1368
1368
|
|
1369
|
+
# Get Disk Shrink Config for a given instance.
|
1370
|
+
# @param [String] project
|
1371
|
+
# Project ID of the project that contains the instance.
|
1372
|
+
# @param [String] instance
|
1373
|
+
# Cloud SQL instance ID. This does not include the project ID.
|
1374
|
+
# @param [String] fields
|
1375
|
+
# Selector specifying which fields to include in a partial response.
|
1376
|
+
# @param [String] quota_user
|
1377
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1378
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1379
|
+
# @param [Google::Apis::RequestOptions] options
|
1380
|
+
# Request-specific options
|
1381
|
+
#
|
1382
|
+
# @yield [result, err] Result & error if block supplied
|
1383
|
+
# @yieldparam result [Google::Apis::SqladminV1::SqlInstancesGetDiskShrinkConfigResponse] parsed result object
|
1384
|
+
# @yieldparam err [StandardError] error object if request failed
|
1385
|
+
#
|
1386
|
+
# @return [Google::Apis::SqladminV1::SqlInstancesGetDiskShrinkConfigResponse]
|
1387
|
+
#
|
1388
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1389
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1390
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1391
|
+
def get_project_instance_disk_shrink_config(project, instance, fields: nil, quota_user: nil, options: nil, &block)
|
1392
|
+
command = make_simple_command(:get, 'v1/projects/{project}/instances/{instance}/getDiskShrinkConfig', options)
|
1393
|
+
command.response_representation = Google::Apis::SqladminV1::SqlInstancesGetDiskShrinkConfigResponse::Representation
|
1394
|
+
command.response_class = Google::Apis::SqladminV1::SqlInstancesGetDiskShrinkConfigResponse
|
1395
|
+
command.params['project'] = project unless project.nil?
|
1396
|
+
command.params['instance'] = instance unless instance.nil?
|
1397
|
+
command.query['fields'] = fields unless fields.nil?
|
1398
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1399
|
+
execute_or_queue_command(command, &block)
|
1400
|
+
end
|
1401
|
+
|
1402
|
+
# Perform Disk Shrink on primary instance.
|
1403
|
+
# @param [String] project
|
1404
|
+
# Project ID of the project that contains the instance.
|
1405
|
+
# @param [String] instance
|
1406
|
+
# Cloud SQL instance ID. This does not include the project ID.
|
1407
|
+
# @param [Google::Apis::SqladminV1::PerformDiskShrinkContext] perform_disk_shrink_context_object
|
1408
|
+
# @param [String] fields
|
1409
|
+
# Selector specifying which fields to include in a partial response.
|
1410
|
+
# @param [String] quota_user
|
1411
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1412
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1413
|
+
# @param [Google::Apis::RequestOptions] options
|
1414
|
+
# Request-specific options
|
1415
|
+
#
|
1416
|
+
# @yield [result, err] Result & error if block supplied
|
1417
|
+
# @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
|
1418
|
+
# @yieldparam err [StandardError] error object if request failed
|
1419
|
+
#
|
1420
|
+
# @return [Google::Apis::SqladminV1::Operation]
|
1421
|
+
#
|
1422
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1423
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1424
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1425
|
+
def perform_project_instance_disk_shrink(project, instance, perform_disk_shrink_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1426
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/performDiskShrink', options)
|
1427
|
+
command.request_representation = Google::Apis::SqladminV1::PerformDiskShrinkContext::Representation
|
1428
|
+
command.request_object = perform_disk_shrink_context_object
|
1429
|
+
command.response_representation = Google::Apis::SqladminV1::Operation::Representation
|
1430
|
+
command.response_class = Google::Apis::SqladminV1::Operation
|
1431
|
+
command.params['project'] = project unless project.nil?
|
1432
|
+
command.params['instance'] = instance unless instance.nil?
|
1433
|
+
command.query['fields'] = fields unless fields.nil?
|
1434
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1435
|
+
execute_or_queue_command(command, &block)
|
1436
|
+
end
|
1437
|
+
|
1369
1438
|
# Reschedules the maintenance on the given instance.
|
1370
1439
|
# @param [String] project
|
1371
1440
|
# ID of the project that contains the instance.
|
@@ -1402,6 +1471,42 @@ module Google
|
|
1402
1471
|
execute_or_queue_command(command, &block)
|
1403
1472
|
end
|
1404
1473
|
|
1474
|
+
# Reset Replica Size to primary instance disk size.
|
1475
|
+
# @param [String] project
|
1476
|
+
# ID of the project that contains the read replica.
|
1477
|
+
# @param [String] instance
|
1478
|
+
# Cloud SQL read replica instance name.
|
1479
|
+
# @param [Google::Apis::SqladminV1::SqlInstancesResetReplicaSizeRequest] sql_instances_reset_replica_size_request_object
|
1480
|
+
# @param [String] fields
|
1481
|
+
# Selector specifying which fields to include in a partial response.
|
1482
|
+
# @param [String] quota_user
|
1483
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1484
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1485
|
+
# @param [Google::Apis::RequestOptions] options
|
1486
|
+
# Request-specific options
|
1487
|
+
#
|
1488
|
+
# @yield [result, err] Result & error if block supplied
|
1489
|
+
# @yieldparam result [Google::Apis::SqladminV1::Operation] parsed result object
|
1490
|
+
# @yieldparam err [StandardError] error object if request failed
|
1491
|
+
#
|
1492
|
+
# @return [Google::Apis::SqladminV1::Operation]
|
1493
|
+
#
|
1494
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1495
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1496
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1497
|
+
def reset_project_instance_replica_size(project, instance, sql_instances_reset_replica_size_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1498
|
+
command = make_simple_command(:post, 'v1/projects/{project}/instances/{instance}/resetReplicaSize', options)
|
1499
|
+
command.request_representation = Google::Apis::SqladminV1::SqlInstancesResetReplicaSizeRequest::Representation
|
1500
|
+
command.request_object = sql_instances_reset_replica_size_request_object
|
1501
|
+
command.response_representation = Google::Apis::SqladminV1::Operation::Representation
|
1502
|
+
command.response_class = Google::Apis::SqladminV1::Operation
|
1503
|
+
command.params['project'] = project unless project.nil?
|
1504
|
+
command.params['instance'] = instance unless instance.nil?
|
1505
|
+
command.query['fields'] = fields unless fields.nil?
|
1506
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1507
|
+
execute_or_queue_command(command, &block)
|
1508
|
+
end
|
1509
|
+
|
1405
1510
|
# Start External primary instance migration.
|
1406
1511
|
# @param [String] project
|
1407
1512
|
# ID of the project that contains the instance.
|
@@ -19,13 +19,13 @@ require 'google/apis/sqladmin_v1/gem_version.rb'
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
|
-
#
|
22
|
+
# Cloud SQL Admin API
|
23
23
|
#
|
24
24
|
# API for Cloud SQL database instance management
|
25
25
|
#
|
26
26
|
# @see https://developers.google.com/cloud-sql/
|
27
27
|
module SqladminV1
|
28
|
-
# Version of the
|
28
|
+
# Version of the Cloud SQL Admin API this client connects to.
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1'
|
31
31
|
|
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.35.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-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -30,12 +30,12 @@ dependencies:
|
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
33
|
-
description: This is the simple REST client for
|
33
|
+
description: This is the simple REST client for Cloud SQL Admin API V1. Simple REST
|
34
34
|
clients are Ruby client libraries that provide access to Google services via their
|
35
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
36
36
|
based on the discovery documents published by the service, and they handle most
|
37
37
|
concerns such as authentication, pagination, retry, timeouts, and logging. You can
|
38
|
-
use this client to access the
|
38
|
+
use this client to access the Cloud SQL Admin API, but note that some services may
|
39
39
|
provide a separate modern client that is easier to use.
|
40
40
|
email: googleapis-packages@google.com
|
41
41
|
executables: []
|
@@ -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.35.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: []
|
@@ -78,5 +78,5 @@ requirements: []
|
|
78
78
|
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
|
-
summary: Simple REST client for
|
81
|
+
summary: Simple REST client for Cloud SQL Admin API V1
|
82
82
|
test_files: []
|