Skip to content

Commit 069fa2a

Browse files
feat: Automated regeneration of datamigration v1 client (#27234)
Auto-created at 2026-07-05 10:38:28 +0000 using the toys pull request generator.
1 parent d9c243c commit 069fa2a

5 files changed

Lines changed: 50 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175216,6 +175216,7 @@
175216175216
"/datamigration:v1/MigrationJob/filter": filter
175217175217
"/datamigration:v1/MigrationJob/labels": labels
175218175218
"/datamigration:v1/MigrationJob/labels/label": label
175219+
"/datamigration:v1/MigrationJob/mysqlHomogeneousConfig": mysql_homogeneous_config
175219175220
"/datamigration:v1/MigrationJob/name": name
175220175221
"/datamigration:v1/MigrationJob/objectsConfig": objects_config
175221175222
"/datamigration:v1/MigrationJob/oracleToPostgresConfig": oracle_to_postgres_config
@@ -175274,6 +175275,8 @@
175274175275
"/datamigration:v1/MySqlConnectionProfile/port": port
175275175276
"/datamigration:v1/MySqlConnectionProfile/ssl": ssl
175276175277
"/datamigration:v1/MySqlConnectionProfile/username": username
175278+
"/datamigration:v1/MySqlHomogeneousConfig": my_sql_homogeneous_config
175279+
"/datamigration:v1/MySqlHomogeneousConfig/isPrimaryDestination": is_primary_destination
175277175280
"/datamigration:v1/Operation": operation
175278175281
"/datamigration:v1/Operation/done": done
175279175282
"/datamigration:v1/Operation/error": error

generated/google-apis-datamigration_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-datamigration_v1
22

3+
### v0.90.0 (2026-07-05)
4+
5+
* Regenerated from discovery document revision 20260620
6+
37
### v0.89.0 (2026-06-14)
48

59
* Regenerated using generator version 0.19.0

generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3421,6 +3421,11 @@ class MigrationJob
34213421
# @return [Hash<String,String>]
34223422
attr_accessor :labels
34233423

3424+
# Configuration for MySQL to MySQL migrations.
3425+
# Corresponds to the JSON property `mysqlHomogeneousConfig`
3426+
# @return [Google::Apis::DatamigrationV1::MySqlHomogeneousConfig]
3427+
attr_accessor :mysql_homogeneous_config
3428+
34243429
# The name (URI) of this migration job resource, in the form of: projects/`
34253430
# project`/locations/`location`/migrationJobs/`migrationJob`.
34263431
# Corresponds to the JSON property `name`
@@ -3566,6 +3571,7 @@ def update!(**args)
35663571
@error = args[:error] if args.key?(:error)
35673572
@filter = args[:filter] if args.key?(:filter)
35683573
@labels = args[:labels] if args.key?(:labels)
3574+
@mysql_homogeneous_config = args[:mysql_homogeneous_config] if args.key?(:mysql_homogeneous_config)
35693575
@name = args[:name] if args.key?(:name)
35703576
@objects_config = args[:objects_config] if args.key?(:objects_config)
35713577
@oracle_to_postgres_config = args[:oracle_to_postgres_config] if args.key?(:oracle_to_postgres_config)
@@ -3881,6 +3887,26 @@ def update!(**args)
38813887
end
38823888
end
38833889

3890+
# Configuration for MySQL to MySQL migrations.
3891+
class MySqlHomogeneousConfig
3892+
include Google::Apis::Core::Hashable
3893+
3894+
# Optional. Whether the destination for the migration job is a primary instance.
3895+
# Corresponds to the JSON property `isPrimaryDestination`
3896+
# @return [Boolean]
3897+
attr_accessor :is_primary_destination
3898+
alias_method :is_primary_destination?, :is_primary_destination
3899+
3900+
def initialize(**args)
3901+
update!(**args)
3902+
end
3903+
3904+
# Update properties of this object
3905+
def update!(**args)
3906+
@is_primary_destination = args[:is_primary_destination] if args.key?(:is_primary_destination)
3907+
end
3908+
end
3909+
38843910
# This resource represents a long-running operation that is the result of a
38853911
# network API call.
38863912
class Operation

generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DatamigrationV1
1818
# Version of the google-apis-datamigration_v1 gem
19-
GEM_VERSION = "0.89.0"
19+
GEM_VERSION = "0.90.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.19.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260511"
25+
REVISION = "20260620"
2626
end
2727
end
2828
end

generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
544544
include Google::Apis::Core::JsonObjectSupport
545545
end
546546

547+
class MySqlHomogeneousConfig
548+
class Representation < Google::Apis::Core::JsonRepresentation; end
549+
550+
include Google::Apis::Core::JsonObjectSupport
551+
end
552+
547553
class Operation
548554
class Representation < Google::Apis::Core::JsonRepresentation; end
549555

@@ -1941,6 +1947,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
19411947

19421948
property :filter, as: 'filter'
19431949
hash :labels, as: 'labels'
1950+
property :mysql_homogeneous_config, as: 'mysqlHomogeneousConfig', class: Google::Apis::DatamigrationV1::MySqlHomogeneousConfig, decorator: Google::Apis::DatamigrationV1::MySqlHomogeneousConfig::Representation
1951+
19441952
property :name, as: 'name'
19451953
property :objects_config, as: 'objectsConfig', class: Google::Apis::DatamigrationV1::MigrationJobObjectsConfig, decorator: Google::Apis::DatamigrationV1::MigrationJobObjectsConfig::Representation
19461954

@@ -2049,6 +2057,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
20492057
end
20502058
end
20512059

2060+
class MySqlHomogeneousConfig
2061+
# @private
2062+
class Representation < Google::Apis::Core::JsonRepresentation
2063+
property :is_primary_destination, as: 'isPrimaryDestination'
2064+
end
2065+
end
2066+
20522067
class Operation
20532068
# @private
20542069
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)