Skip to content

Commit

Permalink
feat: Automated regeneration of SecurityCenter client (#12775)
Browse files Browse the repository at this point in the history
Auto-created at 2025-01-07 13:13:53 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Jan 7, 2025
1 parent 402f6be commit 565574d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion clients/security_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_security_center, "~> 0.38"}]
[{:google_api_security_center, "~> 0.39"}]
end
```

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

@discovery_revision "20241206"
@discovery_revision "20250103"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,27 @@ defmodule GoogleApi.SecurityCenter.V1.Model.Attack do
## Attributes
* `classification` (*type:* `String.t`, *default:* `nil`) - Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
* `volumeBpsLong` (*type:* `String.t`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
* `volumePpsLong` (*type:* `String.t`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:classification => String.t() | nil,
:volumeBps => integer() | nil,
:volumePps => integer() | nil
:volumeBpsLong => String.t() | nil,
:volumePps => integer() | nil,
:volumePpsLong => String.t() | nil
}

field(:classification)
field(:volumeBps)
field(:volumeBpsLong)
field(:volumePps)
field(:volumePpsLong)
end

defimpl Poison.Decoder, for: GoogleApi.SecurityCenter.V1.Model.Attack do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,27 @@ defmodule GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Attack do
## Attributes
* `classification` (*type:* `String.t`, *default:* `nil`) - Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
* `volumeBpsLong` (*type:* `String.t`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
* `volumePpsLong` (*type:* `String.t`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
"""

use GoogleApi.Gax.ModelBase

@type t :: %__MODULE__{
:classification => String.t() | nil,
:volumeBps => integer() | nil,
:volumePps => integer() | nil
:volumeBpsLong => String.t() | nil,
:volumePps => integer() | nil,
:volumePpsLong => String.t() | nil
}

field(:classification)
field(:volumeBps)
field(:volumeBpsLong)
field(:volumePps)
field(:volumePpsLong)
end

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

@version "0.38.0"
@version "0.39.0"

def project() do
[
Expand Down

0 comments on commit 565574d

Please sign in to comment.