Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automated regeneration of MigrationCenter client #12287

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion clients/migration_center/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_migration_center, "~> 0.5"}]
[{:google_api_migration_center, "~> 0.6"}]
end
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.MigrationCenter.V1 do
API client metadata for GoogleApi.MigrationCenter.V1.
"""

@discovery_revision "20240926"
@discovery_revision "20241001"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,20 @@ defmodule GoogleApi.MigrationCenter.V1.Model.AwsEc2PlatformDetails do

## Attributes

* `hyperthreading` (*type:* `String.t`, *default:* `nil`) - Optional. Whether the machine is hyperthreaded.
* `location` (*type:* `String.t`, *default:* `nil`) - The location of the machine in the AWS format.
* `machineTypeLabel` (*type:* `String.t`, *default:* `nil`) - AWS platform's machine type label.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:hyperthreading => String.t() | nil,
:location => String.t() | nil,
:machineTypeLabel => String.t() | nil
}

field(:hyperthreading)
field(:location)
field(:machineTypeLabel)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defmodule GoogleApi.MigrationCenter.V1.Model.AzureVmPlatformDetails do

## Attributes

* `hyperthreading` (*type:* `String.t`, *default:* `nil`) - Whether the machine is hyperthreaded.
* `location` (*type:* `String.t`, *default:* `nil`) - The location of the machine in the Azure format.
* `machineTypeLabel` (*type:* `String.t`, *default:* `nil`) - Azure platform's machine type label.
* `provisioningState` (*type:* `String.t`, *default:* `nil`) - Azure platform's provisioning state.
Expand All @@ -29,11 +30,13 @@ defmodule GoogleApi.MigrationCenter.V1.Model.AzureVmPlatformDetails do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:hyperthreading => String.t() | nil,
:location => String.t() | nil,
:machineTypeLabel => String.t() | nil,
:provisioningState => String.t() | nil
}

field(:hyperthreading)
field(:location)
field(:machineTypeLabel)
field(:provisioningState)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ defmodule GoogleApi.MigrationCenter.V1.Model.GenericPlatformDetails do

## Attributes

* `hyperthreading` (*type:* `String.t`, *default:* `nil`) - Whether the machine is hyperthreaded.
* `location` (*type:* `String.t`, *default:* `nil`) - Free text representation of the machine location. The format of this field should not be relied on. Different VMs in the same location may have different string values for this field.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:hyperthreading => String.t() | nil,
:location => String.t() | nil
}

field(:hyperthreading)
field(:location)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ defmodule GoogleApi.MigrationCenter.V1.Model.PhysicalPlatformDetails do

## Attributes

* `hyperthreading` (*type:* `String.t`, *default:* `nil`) - Whether the machine is hyperthreaded.
* `location` (*type:* `String.t`, *default:* `nil`) - Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:hyperthreading => String.t() | nil,
:location => String.t() | nil
}

field(:hyperthreading)
field(:location)
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ defmodule GoogleApi.MigrationCenter.V1.Model.VmwarePlatformDetails do

## Attributes

* `esxHyperthreading` (*type:* `String.t`, *default:* `nil`) - Whether the ESX is hyperthreaded.
* `esxVersion` (*type:* `String.t`, *default:* `nil`) - ESX version.
* `osid` (*type:* `String.t`, *default:* `nil`) - VMware os enum - https://vdc-repo.vmware.com/vmwb-repository/dcr-public/da47f910-60ac-438b-8b9b-6122f4d14524/16b7274a-bf8b-4b4c-a05e-746f2aa93c8c/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html.
* `vcenterFolder` (*type:* `String.t`, *default:* `nil`) - Folder name in vCenter where asset resides.
Expand All @@ -32,6 +33,7 @@ defmodule GoogleApi.MigrationCenter.V1.Model.VmwarePlatformDetails do
use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:esxHyperthreading => String.t() | nil,
:esxVersion => String.t() | nil,
:osid => String.t() | nil,
:vcenterFolder => String.t() | nil,
Expand All @@ -40,6 +42,7 @@ defmodule GoogleApi.MigrationCenter.V1.Model.VmwarePlatformDetails do
:vcenterVmId => String.t() | nil
}

field(:esxHyperthreading)
field(:esxVersion)
field(:osid)
field(:vcenterFolder)
Expand Down
2 changes: 1 addition & 1 deletion clients/migration_center/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.MigrationCenter.Mixfile do
use Mix.Project

@version "0.5.2"
@version "0.6.0"

def project() do
[
Expand Down
Loading