From 6e8fb4de2363350dde7258af51e52b075d9962a8 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 7 Apr 2024 03:22:16 -0700 Subject: [PATCH] feat: Automated regeneration of datamigration v1 client (#18721) Auto-created at 2024-04-07 10:18:12 +0000 using the toys pull request generator. --- api_names_out.yaml | 2 ++ .../google-apis-datamigration_v1/CHANGELOG.md | 4 ++++ .../lib/google/apis/datamigration_v1/classes.rb | 15 +++++++++++++++ .../google/apis/datamigration_v1/gem_version.rb | 4 ++-- .../apis/datamigration_v1/representations.rb | 2 ++ 5 files changed, 25 insertions(+), 2 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 957f53903b2..45a10c45db8 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -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 @@ -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 diff --git a/generated/google-apis-datamigration_v1/CHANGELOG.md b/generated/google-apis-datamigration_v1/CHANGELOG.md index c6120750826..c2a0850ab73 100644 --- a/generated/google-apis-datamigration_v1/CHANGELOG.md +++ b/generated/google-apis-datamigration_v1/CHANGELOG.md @@ -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 diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb index 767d0087c5a..0af0dfa8861 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/classes.rb @@ -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` @@ -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) @@ -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 diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb index 1160dec63e9..6327ed7a731 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/gem_version.rb @@ -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 diff --git a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb index b25e485db91..fbb55d48903 100644 --- a/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb +++ b/generated/google-apis-datamigration_v1/lib/google/apis/datamigration_v1/representations.rb @@ -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 @@ -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