Skip to content

Commit 6e8fb4d

Browse files
feat: Automated regeneration of datamigration v1 client (#18721)
Auto-created at 2024-04-07 10:18:12 +0000 using the toys pull request generator.
1 parent dd836a8 commit 6e8fb4d

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146954,6 +146954,7 @@
146954146954
"/datamigration:v1/MigrationJob/displayName": display_name
146955146955
"/datamigration:v1/MigrationJob/dumpFlags": dump_flags
146956146956
"/datamigration:v1/MigrationJob/dumpPath": dump_path
146957+
"/datamigration:v1/MigrationJob/dumpType": dump_type
146957146958
"/datamigration:v1/MigrationJob/duration": duration
146958146959
"/datamigration:v1/MigrationJob/endTime": end_time
146959146960
"/datamigration:v1/MigrationJob/error": error
@@ -147074,6 +147075,7 @@
147074147075
"/datamigration:v1/RestartMigrationJobRequest": restart_migration_job_request
147075147076
"/datamigration:v1/RestartMigrationJobRequest/skipValidation": skip_validation
147076147077
"/datamigration:v1/ResumeMigrationJobRequest": resume_migration_job_request
147078+
"/datamigration:v1/ResumeMigrationJobRequest/skipValidation": skip_validation
147077147079
"/datamigration:v1/ReverseSshConnectivity": reverse_ssh_connectivity
147078147080
"/datamigration:v1/ReverseSshConnectivity/vm": vm
147079147081
"/datamigration:v1/ReverseSshConnectivity/vmIp": vm_ip

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.55.0 (2024-04-07)
4+
5+
* Regenerated from discovery document revision 20240327
6+
37
### v0.54.0 (2024-03-24)
48

59
* Regenerated from discovery document revision 20240315

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2858,6 +2858,12 @@ class MigrationJob
28582858
# @return [String]
28592859
attr_accessor :dump_path
28602860

2861+
# Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL
2862+
# migrations only.
2863+
# Corresponds to the JSON property `dumpType`
2864+
# @return [String]
2865+
attr_accessor :dump_type
2866+
28612867
# Output only. The duration of the migration job (in seconds). A duration in
28622868
# seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
28632869
# Corresponds to the JSON property `duration`
@@ -2982,6 +2988,7 @@ def update!(**args)
29822988
@display_name = args[:display_name] if args.key?(:display_name)
29832989
@dump_flags = args[:dump_flags] if args.key?(:dump_flags)
29842990
@dump_path = args[:dump_path] if args.key?(:dump_path)
2991+
@dump_type = args[:dump_type] if args.key?(:dump_type)
29852992
@duration = args[:duration] if args.key?(:duration)
29862993
@end_time = args[:end_time] if args.key?(:end_time)
29872994
@error = args[:error] if args.key?(:error)
@@ -3819,12 +3826,20 @@ def update!(**args)
38193826
class ResumeMigrationJobRequest
38203827
include Google::Apis::Core::Hashable
38213828

3829+
# Optional. Resume the migration job without running prior configuration
3830+
# verification. Defaults to `false`.
3831+
# Corresponds to the JSON property `skipValidation`
3832+
# @return [Boolean]
3833+
attr_accessor :skip_validation
3834+
alias_method :skip_validation?, :skip_validation
3835+
38223836
def initialize(**args)
38233837
update!(**args)
38243838
end
38253839

38263840
# Update properties of this object
38273841
def update!(**args)
3842+
@skip_validation = args[:skip_validation] if args.key?(:skip_validation)
38283843
end
38293844
end
38303845

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.54.0"
19+
GEM_VERSION = "0.55.0"
2020

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
15521552
property :dump_flags, as: 'dumpFlags', class: Google::Apis::DatamigrationV1::DumpFlags, decorator: Google::Apis::DatamigrationV1::DumpFlags::Representation
15531553

15541554
property :dump_path, as: 'dumpPath'
1555+
property :dump_type, as: 'dumpType'
15551556
property :duration, as: 'duration'
15561557
property :end_time, as: 'endTime'
15571558
property :error, as: 'error', class: Google::Apis::DatamigrationV1::Status, decorator: Google::Apis::DatamigrationV1::Status::Representation
@@ -1775,6 +1776,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
17751776
class ResumeMigrationJobRequest
17761777
# @private
17771778
class Representation < Google::Apis::Core::JsonRepresentation
1779+
property :skip_validation, as: 'skipValidation'
17781780
end
17791781
end
17801782

0 commit comments

Comments
 (0)