diff --git a/clients/security_center/README.md b/clients/security_center/README.md index 3be5f07f57..4f5cdd72ed 100644 --- a/clients/security_center/README.md +++ b/clients/security_center/README.md @@ -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 ``` diff --git a/clients/security_center/lib/google_api/security_center/v1/metadata.ex b/clients/security_center/lib/google_api/security_center/v1/metadata.ex index b38cea1819..fe2c4b089b 100644 --- a/clients/security_center/lib/google_api/security_center/v1/metadata.ex +++ b/clients/security_center/lib/google_api/security_center/v1/metadata.ex @@ -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 diff --git a/clients/security_center/lib/google_api/security_center/v1/model/attack.ex b/clients/security_center/lib/google_api/security_center/v1/model/attack.ex index 63f44cfd24..02a9ebb0e8 100644 --- a/clients/security_center/lib/google_api/security_center/v1/model/attack.ex +++ b/clients/security_center/lib/google_api/security_center/v1/model/attack.ex @@ -22,8 +22,10 @@ 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 @@ -31,12 +33,16 @@ defmodule GoogleApi.SecurityCenter.V1.Model.Attack do @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 diff --git a/clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_attack.ex b/clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_attack.ex index 1165f43d9e..048d23a3fd 100644 --- a/clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_attack.ex +++ b/clients/security_center/lib/google_api/security_center/v1/model/google_cloud_securitycenter_v2_attack.ex @@ -22,8 +22,10 @@ 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 @@ -31,12 +33,16 @@ defmodule GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2Attack do @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 diff --git a/clients/security_center/mix.exs b/clients/security_center/mix.exs index 83ba3f0a43..83c41ea228 100644 --- a/clients/security_center/mix.exs +++ b/clients/security_center/mix.exs @@ -18,7 +18,7 @@ defmodule GoogleApi.SecurityCenter.Mixfile do use Mix.Project - @version "0.38.0" + @version "0.39.0" def project() do [