diff --git a/clients/data_migration/README.md b/clients/data_migration/README.md index ded0322649..2ebd3611f1 100644 --- a/clients/data_migration/README.md +++ b/clients/data_migration/README.md @@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding ```elixir def deps do - [{:google_api_data_migration, "~> 0.10"}] + [{:google_api_data_migration, "~> 0.11"}] end ``` diff --git a/clients/data_migration/lib/google_api/data_migration/v1/metadata.ex b/clients/data_migration/lib/google_api/data_migration/v1/metadata.ex index a1fd3e1c84..dddb87d288 100644 --- a/clients/data_migration/lib/google_api/data_migration/v1/metadata.ex +++ b/clients/data_migration/lib/google_api/data_migration/v1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DataMigration.V1 do API client metadata for GoogleApi.DataMigration.V1. """ - @discovery_revision "20240315" + @discovery_revision "20240327" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_migration/lib/google_api/data_migration/v1/model/migration_job.ex b/clients/data_migration/lib/google_api/data_migration/v1/model/migration_job.ex index 7894635c5e..0155b2dddb 100644 --- a/clients/data_migration/lib/google_api/data_migration/v1/model/migration_job.ex +++ b/clients/data_migration/lib/google_api/data_migration/v1/model/migration_job.ex @@ -29,6 +29,7 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do * `displayName` (*type:* `String.t`, *default:* `nil`) - The migration job display name. * `dumpFlags` (*type:* `GoogleApi.DataMigration.V1.Model.DumpFlags.t`, *default:* `nil`) - The initial dump flags. This field and the "dump_path" field are mutually exclusive. * `dumpPath` (*type:* `String.t`, *default:* `nil`) - The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive. + * `dumpType` (*type:* `String.t`, *default:* `nil`) - Optional. The type of the data dump. Supported for MySQL to CloudSQL for MySQL migrations only. * `duration` (*type:* `String.t`, *default:* `nil`) - 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". * `endTime` (*type:* `DateTime.t`, *default:* `nil`) - Output only. If the migration job is completed, the time when it was completed. * `error` (*type:* `GoogleApi.DataMigration.V1.Model.Status.t`, *default:* `nil`) - Output only. The error details in case of state FAILED. @@ -60,6 +61,7 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do :displayName => String.t() | nil, :dumpFlags => GoogleApi.DataMigration.V1.Model.DumpFlags.t() | nil, :dumpPath => String.t() | nil, + :dumpType => String.t() | nil, :duration => String.t() | nil, :endTime => DateTime.t() | nil, :error => GoogleApi.DataMigration.V1.Model.Status.t() | nil, @@ -91,6 +93,7 @@ defmodule GoogleApi.DataMigration.V1.Model.MigrationJob do field(:displayName) field(:dumpFlags, as: GoogleApi.DataMigration.V1.Model.DumpFlags) field(:dumpPath) + field(:dumpType) field(:duration) field(:endTime, as: DateTime) field(:error, as: GoogleApi.DataMigration.V1.Model.Status) diff --git a/clients/data_migration/lib/google_api/data_migration/v1/model/resume_migration_job_request.ex b/clients/data_migration/lib/google_api/data_migration/v1/model/resume_migration_job_request.ex index 1f60fd9016..9a0c85e3bd 100644 --- a/clients/data_migration/lib/google_api/data_migration/v1/model/resume_migration_job_request.ex +++ b/clients/data_migration/lib/google_api/data_migration/v1/model/resume_migration_job_request.ex @@ -21,11 +21,16 @@ defmodule GoogleApi.DataMigration.V1.Model.ResumeMigrationJobRequest do ## Attributes + * `skipValidation` (*type:* `boolean()`, *default:* `nil`) - Optional. Resume the migration job without running prior configuration verification. Defaults to `false`. """ use GoogleApi.Gax.ModelBase - @type t :: %__MODULE__{} + @type t :: %__MODULE__{ + :skipValidation => boolean() | nil + } + + field(:skipValidation) end defimpl Poison.Decoder, for: GoogleApi.DataMigration.V1.Model.ResumeMigrationJobRequest do diff --git a/clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex b/clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex index fd34f061b9..e755469526 100644 --- a/clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex +++ b/clients/data_migration/lib/google_api/data_migration/v1beta1/metadata.ex @@ -20,7 +20,7 @@ defmodule GoogleApi.DataMigration.V1beta1 do API client metadata for GoogleApi.DataMigration.V1beta1. """ - @discovery_revision "20240315" + @discovery_revision "20240327" def discovery_revision(), do: @discovery_revision end diff --git a/clients/data_migration/mix.exs b/clients/data_migration/mix.exs index af1f775935..4eb23f625a 100644 --- a/clients/data_migration/mix.exs +++ b/clients/data_migration/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.DataMigration.Mixfile do use Mix.Project - @version "0.10.1" + @version "0.11.0" def project() do [