Skip to content

Commit

Permalink
feat: Automated regeneration of DataMigration client (#11250)
Browse files Browse the repository at this point in the history
Auto-created at 2024-04-02 13:14:58 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Apr 2, 2024
1 parent 82d88e5 commit 07ec0cb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion clients/data_migration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion clients/data_migration/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.DataMigration.Mixfile do
use Mix.Project

@version "0.10.1"
@version "0.11.0"

def project() do
[
Expand Down

0 comments on commit 07ec0cb

Please sign in to comment.