Skip to content

Commit 565574d

Browse files
feat: Automated regeneration of SecurityCenter client (googleapis#12775)
Auto-created at 2025-01-07 13:13:53 +0000 using the toys pull request generator.
1 parent 402f6be commit 565574d

File tree

5 files changed

+21
-9
lines changed

5 files changed

+21
-9
lines changed

clients/security_center/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_security_center, "~> 0.38"}]
14+
[{:google_api_security_center, "~> 0.39"}]
1515
end
1616
```
1717

clients/security_center/lib/google_api/security_center/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.SecurityCenter.V1 do
2020
API client metadata for GoogleApi.SecurityCenter.V1.
2121
"""
2222

23-
@discovery_revision "20241206"
23+
@discovery_revision "20250103"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/security_center/lib/google_api/security_center/v1/model/attack.ex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,27 @@ defmodule GoogleApi.SecurityCenter.V1.Model.Attack do
2222
## Attributes
2323
2424
* `classification` (*type:* `String.t`, *default:* `nil`) - Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
25-
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
26-
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
25+
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
26+
* `volumeBpsLong` (*type:* `String.t`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
27+
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
28+
* `volumePpsLong` (*type:* `String.t`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
2729
"""
2830

2931
use GoogleApi.Gax.ModelBase
3032

3133
@type t :: %__MODULE__{
3234
:classification => String.t() | nil,
3335
:volumeBps => integer() | nil,
34-
:volumePps => integer() | nil
36+
:volumeBpsLong => String.t() | nil,
37+
:volumePps => integer() | nil,
38+
:volumePpsLong => String.t() | nil
3539
}
3640

3741
field(:classification)
3842
field(:volumeBps)
43+
field(:volumeBpsLong)
3944
field(:volumePps)
45+
field(:volumePpsLong)
4046
end
4147

4248
defimpl Poison.Decoder, for: GoogleApi.SecurityCenter.V1.Model.Attack do

clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_attack.ex

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +22,27 @@ defmodule GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Attack do
2222
## Attributes
2323
2424
* `classification` (*type:* `String.t`, *default:* `nil`) - Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
25-
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
26-
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
25+
* `volumeBps` (*type:* `integer()`, *default:* `nil`) - Total BPS (bytes per second) volume of attack. Deprecated - refer to volume_bps_long instead.
26+
* `volumeBpsLong` (*type:* `String.t`, *default:* `nil`) - Total BPS (bytes per second) volume of attack.
27+
* `volumePps` (*type:* `integer()`, *default:* `nil`) - Total PPS (packets per second) volume of attack. Deprecated - refer to volume_pps_long instead.
28+
* `volumePpsLong` (*type:* `String.t`, *default:* `nil`) - Total PPS (packets per second) volume of attack.
2729
"""
2830

2931
use GoogleApi.Gax.ModelBase
3032

3133
@type t :: %__MODULE__{
3234
:classification => String.t() | nil,
3335
:volumeBps => integer() | nil,
34-
:volumePps => integer() | nil
36+
:volumeBpsLong => String.t() | nil,
37+
:volumePps => integer() | nil,
38+
:volumePpsLong => String.t() | nil
3539
}
3640

3741
field(:classification)
3842
field(:volumeBps)
43+
field(:volumeBpsLong)
3944
field(:volumePps)
45+
field(:volumePpsLong)
4046
end
4147

4248
defimpl Poison.Decoder, for: GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Attack do

clients/security_center/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.SecurityCenter.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.38.0"
21+
@version "0.39.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)