Skip to content

Commit

Permalink
feat: Automated regeneration of Run client (#12178)
Browse files Browse the repository at this point in the history
Auto-created at 2024-09-20 13:12:26 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot committed Sep 20, 2024
1 parent 0e3021e commit 46adb50
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion clients/run/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_run, "~> 0.36"}]
[{:google_api_run, "~> 0.37"}]
end
```

Expand Down
2 changes: 1 addition & 1 deletion clients/run/lib/google_api/run/v2/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Run.V2 do
API client metadata for GoogleApi.Run.V2.
"""

@discovery_revision "20240831"
@discovery_revision "20240916"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,18 @@ defmodule GoogleApi.Run.V2.Model.GoogleCloudRunV2ServiceScaling do
## Attributes
* `minInstanceCount` (*type:* `integer()`, *default:* `nil`) - Optional. total min instances for the service. This number of instances is divided among all revisions with specified traffic based on the percent of traffic they are receiving. (BETA)
* `scalingMode` (*type:* `String.t`, *default:* `nil`) - Optional. The scaling mode for the service.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:minInstanceCount => integer() | nil
:minInstanceCount => integer() | nil,
:scalingMode => String.t() | nil
}

field(:minInstanceCount)
field(:scalingMode)
end

defimpl Poison.Decoder, for: GoogleApi.Run.V2.Model.GoogleCloudRunV2ServiceScaling do
Expand Down
2 changes: 1 addition & 1 deletion clients/run/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Run.Mixfile do
use Mix.Project

@version "0.36.1"
@version "0.37.0"

def project() do
[
Expand Down

0 comments on commit 46adb50

Please sign in to comment.