google-apis-datamigration_v1 0.46.0 → 0.47.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: 4844d122502d957176c37327c103ba2ff4207e75c5ab15134eb847f85aeb81ef
|
4
|
+
data.tar.gz: cb87cd6c82bd0fdd3c9e5bbc6969f1f4317f7c12eaf1cca42168eceae304059b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9f7febb91d0ad19412f427a22fd62a1abf252baa13acde40a6fff22bff7646c12e896d191e084a65cb5d53d8d1e3da2281cb0e4a74579d44c83e928a2785e37
|
7
|
+
data.tar.gz: e29ae0b389d4884022c6bb7edcc4a8b1af6409f3d453778af4422ba08e558a0eaa284b6c4d0fca16347f89098bf3a2f1bfe6478342d9a48baca833093d42602b
|
data/CHANGELOG.md
CHANGED
@@ -1428,6 +1428,19 @@ module Google
|
|
1428
1428
|
end
|
1429
1429
|
end
|
1430
1430
|
|
1431
|
+
# Request message for 'DemoteDestination' request.
|
1432
|
+
class DemoteDestinationRequest
|
1433
|
+
include Google::Apis::Core::Hashable
|
1434
|
+
|
1435
|
+
def initialize(**args)
|
1436
|
+
update!(**args)
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
# Update properties of this object
|
1440
|
+
def update!(**args)
|
1441
|
+
end
|
1442
|
+
end
|
1443
|
+
|
1431
1444
|
# Response message for 'DescribeConversionWorkspaceRevisions' request.
|
1432
1445
|
class DescribeConversionWorkspaceRevisionsResponse
|
1433
1446
|
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.47.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 = "20231106"
|
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
|
|
@@ -1127,6 +1133,12 @@ module Google
|
|
1127
1133
|
end
|
1128
1134
|
end
|
1129
1135
|
|
1136
|
+
class DemoteDestinationRequest
|
1137
|
+
# @private
|
1138
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1130
1142
|
class DescribeConversionWorkspaceRevisionsResponse
|
1131
1143
|
# @private
|
1132
1144
|
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.47.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-12 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.47.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: []
|