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 SecurityCenter client #12775

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/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
Loading