google-apis-datamigration_v1 0.46.0 → 0.48.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: 93ebaaf1f4f461788a6af1074c4a50c78044b754d2c0cd0df26112cf520a54eb
|
4
|
+
data.tar.gz: 64251b8c0fdf94c496a89731024045bf013efe7000da9813e3f7806d68a385c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54fb5fc961b9da15fa31972508b3bac48adc30f7518778b9091282aa50eb719680a06f853526723a7863e149cf1c9fb31a8b05392537c787bdadb43b1f72e399
|
7
|
+
data.tar.gz: 5e47c2a1f198a8fce1965030c1a16b0a6725e1d66eac59ceff7023a56c741095a9e48bcb4d479cf8ac63655458e017379b832a3d9847c76a89885c8c92ba4737
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-datamigration_v1
|
2
2
|
|
3
|
+
### v0.48.0 (2023-11-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231111
|
6
|
+
|
7
|
+
### v0.47.0 (2023-11-12)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231106
|
10
|
+
|
3
11
|
### v0.46.0 (2023-11-05)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20231031
|
@@ -53,6 +53,13 @@ module Google
|
|
53
53
|
class AlloyDbSettings
|
54
54
|
include Google::Apis::Core::Hashable
|
55
55
|
|
56
|
+
# Optional. The database engine major version. This is an optional field. If a
|
57
|
+
# database version is not supplied at cluster creation time, then a default
|
58
|
+
# database version will be used.
|
59
|
+
# Corresponds to the JSON property `databaseVersion`
|
60
|
+
# @return [String]
|
61
|
+
attr_accessor :database_version
|
62
|
+
|
56
63
|
# EncryptionConfig describes the encryption config of a cluster that is
|
57
64
|
# encrypted with a CMEK (customer-managed encryption key).
|
58
65
|
# Corresponds to the JSON property `encryptionConfig`
|
@@ -91,6 +98,7 @@ module Google
|
|
91
98
|
|
92
99
|
# Update properties of this object
|
93
100
|
def update!(**args)
|
101
|
+
@database_version = args[:database_version] if args.key?(:database_version)
|
94
102
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
95
103
|
@initial_user = args[:initial_user] if args.key?(:initial_user)
|
96
104
|
@labels = args[:labels] if args.key?(:labels)
|
@@ -1428,6 +1436,19 @@ module Google
|
|
1428
1436
|
end
|
1429
1437
|
end
|
1430
1438
|
|
1439
|
+
# Request message for 'DemoteDestination' request.
|
1440
|
+
class DemoteDestinationRequest
|
1441
|
+
include Google::Apis::Core::Hashable
|
1442
|
+
|
1443
|
+
def initialize(**args)
|
1444
|
+
update!(**args)
|
1445
|
+
end
|
1446
|
+
|
1447
|
+
# Update properties of this object
|
1448
|
+
def update!(**args)
|
1449
|
+
end
|
1450
|
+
end
|
1451
|
+
|
1431
1452
|
# Response message for 'DescribeConversionWorkspaceRevisions' request.
|
1432
1453
|
class DescribeConversionWorkspaceRevisionsResponse
|
1433
1454
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DatamigrationV1
|
18
18
|
# Version of the google-apis-datamigration_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.48.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 = "20231111"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class DemoteDestinationRequest
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class DescribeConversionWorkspaceRevisionsResponse
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -790,6 +796,7 @@ module Google
|
|
790
796
|
class AlloyDbSettings
|
791
797
|
# @private
|
792
798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
799
|
+
property :database_version, as: 'databaseVersion'
|
793
800
|
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::DatamigrationV1::EncryptionConfig, decorator: Google::Apis::DatamigrationV1::EncryptionConfig::Representation
|
794
801
|
|
795
802
|
property :initial_user, as: 'initialUser', class: Google::Apis::DatamigrationV1::UserPassword, decorator: Google::Apis::DatamigrationV1::UserPassword::Representation
|
@@ -1127,6 +1134,12 @@ module Google
|
|
1127
1134
|
end
|
1128
1135
|
end
|
1129
1136
|
|
1137
|
+
class DemoteDestinationRequest
|
1138
|
+
# @private
|
1139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1140
|
+
end
|
1141
|
+
end
|
1142
|
+
|
1130
1143
|
class DescribeConversionWorkspaceRevisionsResponse
|
1131
1144
|
# @private
|
1132
1145
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1434,6 +1434,41 @@ module Google
|
|
1434
1434
|
execute_or_queue_command(command, &block)
|
1435
1435
|
end
|
1436
1436
|
|
1437
|
+
# Demotes the destination database to become a read replica of the source. This
|
1438
|
+
# is applicable for the following migrations: 1. MySQL to Cloud SQL (for MySQL)
|
1439
|
+
# 2. PostgreSQL to Cloud SQL (for PostgreSQL) 3. PostgreSQL to AlloyDB.
|
1440
|
+
# @param [String] name
|
1441
|
+
# Name of the migration job resource to demote its destination.
|
1442
|
+
# @param [Google::Apis::DatamigrationV1::DemoteDestinationRequest] demote_destination_request_object
|
1443
|
+
# @param [String] fields
|
1444
|
+
# Selector specifying which fields to include in a partial response.
|
1445
|
+
# @param [String] quota_user
|
1446
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1447
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1448
|
+
# @param [Google::Apis::RequestOptions] options
|
1449
|
+
# Request-specific options
|
1450
|
+
#
|
1451
|
+
# @yield [result, err] Result & error if block supplied
|
1452
|
+
# @yieldparam result [Google::Apis::DatamigrationV1::Operation] parsed result object
|
1453
|
+
# @yieldparam err [StandardError] error object if request failed
|
1454
|
+
#
|
1455
|
+
# @return [Google::Apis::DatamigrationV1::Operation]
|
1456
|
+
#
|
1457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1460
|
+
def demote_migration_job_destination(name, demote_destination_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1461
|
+
command = make_simple_command(:post, 'v1/{+name}:demoteDestination', options)
|
1462
|
+
command.request_representation = Google::Apis::DatamigrationV1::DemoteDestinationRequest::Representation
|
1463
|
+
command.request_object = demote_destination_request_object
|
1464
|
+
command.response_representation = Google::Apis::DatamigrationV1::Operation::Representation
|
1465
|
+
command.response_class = Google::Apis::DatamigrationV1::Operation
|
1466
|
+
command.params['name'] = name unless name.nil?
|
1467
|
+
command.query['fields'] = fields unless fields.nil?
|
1468
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1469
|
+
execute_or_queue_command(command, &block)
|
1470
|
+
end
|
1471
|
+
|
1437
1472
|
# Generate a SSH configuration script to configure the reverse SSH connectivity.
|
1438
1473
|
# @param [String] migration_job
|
1439
1474
|
# Name of the migration job resource to generate the SSH script.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-datamigration_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.48.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-
|
11
|
+
date: 2023-11-19 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-datamigration_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-datamigration_v1/v0.48.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-datamigration_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|