Skip to content

Commit

Permalink
feat: Automated regeneration of datamigration v1 client (googleapis#1…
Browse files Browse the repository at this point in the history
…8721)

Auto-created at 2024-04-07 10:18:12 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Apr 7, 2024
1 parent dd836a8 commit 6e8fb4d
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
2 changes: 2 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146954,6 +146954,7 @@
"/datamigration:v1/MigrationJob/displayName": display_name
"/datamigration:v1/MigrationJob/dumpFlags": dump_flags
"/datamigration:v1/MigrationJob/dumpPath": dump_path
"/datamigration:v1/MigrationJob/dumpType": dump_type
"/datamigration:v1/MigrationJob/duration": duration
"/datamigration:v1/MigrationJob/endTime": end_time
"/datamigration:v1/MigrationJob/error": error
Expand Down Expand Up @@ -147074,6 +147075,7 @@
"/datamigration:v1/RestartMigrationJobRequest": restart_migration_job_request
"/datamigration:v1/RestartMigrationJobRequest/skipValidation": skip_validation
"/datamigration:v1/ResumeMigrationJobRequest": resume_migration_job_request
"/datamigration:v1/ResumeMigrationJobRequest/skipValidation": skip_validation
"/datamigration:v1/ReverseSshConnectivity": reverse_ssh_connectivity
"/datamigration:v1/ReverseSshConnectivity/vm": vm
"/datamigration:v1/ReverseSshConnectivity/vmIp": vm_ip
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-datamigration_v1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-datamigration_v1

### v0.55.0 (2024-04-07)

* Regenerated from discovery document revision 20240327

### v0.54.0 (2024-03-24)

* Regenerated from discovery document revision 20240315
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2858,6 +2858,12 @@ class MigrationJob
# @return [String]
attr_accessor :dump_path

# Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL
# migrations only.
# Corresponds to the JSON property `dumpType`
# @return [String]
attr_accessor :dump_type

# Output only. The duration of the migration job (in seconds). A duration in
# seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
# Corresponds to the JSON property `duration`
Expand Down Expand Up @@ -2982,6 +2988,7 @@ def update!(**args)
@display_name = args[:display_name] if args.key?(:display_name)
@dump_flags = args[:dump_flags] if args.key?(:dump_flags)
@dump_path = args[:dump_path] if args.key?(:dump_path)
@dump_type = args[:dump_type] if args.key?(:dump_type)
@duration = args[:duration] if args.key?(:duration)
@end_time = args[:end_time] if args.key?(:end_time)
@error = args[:error] if args.key?(:error)
Expand Down Expand Up @@ -3819,12 +3826,20 @@ def update!(**args)
class ResumeMigrationJobRequest
include Google::Apis::Core::Hashable

# Optional. Resume the migration job without running prior configuration
# verification. Defaults to `false`.
# Corresponds to the JSON property `skipValidation`
# @return [Boolean]
attr_accessor :skip_validation
alias_method :skip_validation?, :skip_validation

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@skip_validation = args[:skip_validation] if args.key?(:skip_validation)
end
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module DatamigrationV1
# Version of the google-apis-datamigration_v1 gem
GEM_VERSION = "0.54.0"
GEM_VERSION = "0.55.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20240315"
REVISION = "20240327"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
property :dump_flags, as: 'dumpFlags', class: Google::Apis::DatamigrationV1::DumpFlags, decorator: Google::Apis::DatamigrationV1::DumpFlags::Representation

property :dump_path, as: 'dumpPath'
property :dump_type, as: 'dumpType'
property :duration, as: 'duration'
property :end_time, as: 'endTime'
property :error, as: 'error', class: Google::Apis::DatamigrationV1::Status, decorator: Google::Apis::DatamigrationV1::Status::Representation
Expand Down Expand Up @@ -1775,6 +1776,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ResumeMigrationJobRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :skip_validation, as: 'skipValidation'
end
end

Expand Down

0 comments on commit 6e8fb4d

Please sign in to comment.