Skip to content

Commit abebe26

Browse files
feat: Automated regeneration of WebSecurityScanner client (googleapis#12826)
Auto-created at 2025-01-15 13:16:43 +0000 using the toys pull request generator.
1 parent ca41a99 commit abebe26

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

clients/web_security_scanner/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_web_security_scanner, "~> 0.18"}]
14+
[{:google_api_web_security_scanner, "~> 0.19"}]
1515
end
1616
```
1717

clients/web_security_scanner/lib/google_api/web_security_scanner/v1/api/projects.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ defmodule GoogleApi.WebSecurityScanner.V1.Api.Projects do
319319
## Parameters
320320
321321
* `connection` (*type:* `GoogleApi.WebSecurityScanner.V1.Connection.t`) - Connection to server
322-
* `name` (*type:* `String.t`) - The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
322+
* `name` (*type:* `String.t`) - Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
323323
* `optional_params` (*type:* `keyword()`) - Optional parameters
324324
* `:"$.xgafv"` (*type:* `String.t`) - V1 error format.
325325
* `:access_token` (*type:* `String.t`) - OAuth access token.

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

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

23-
@discovery_revision "20231021"
23+
@discovery_revision "20250105"
2424

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

clients/web_security_scanner/lib/google_api/web_security_scanner/v1/model/scan_config.ex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,15 @@ defmodule GoogleApi.WebSecurityScanner.V1.Model.ScanConfig do
2626
* `displayName` (*type:* `String.t`, *default:* `nil`) - Required. The user provided display name of the ScanConfig.
2727
* `exportToSecurityCommandCenter` (*type:* `String.t`, *default:* `nil`) - Controls export of scan configurations and results to Security Command Center.
2828
* `ignoreHttpStatusErrors` (*type:* `boolean()`, *default:* `nil`) - Whether to keep scanning even if most requests return HTTP error codes.
29+
* `latestRun` (*type:* `GoogleApi.WebSecurityScanner.V1.Model.ScanRun.t`, *default:* `nil`) -
2930
* `managedScan` (*type:* `boolean()`, *default:* `nil`) - Whether the scan config is managed by Web Security Scanner, output only.
3031
* `maxQps` (*type:* `integer()`, *default:* `nil`) - The maximum QPS during scanning. A valid value ranges from 5 to 20 inclusively. If the field is unspecified or its value is set 0, server will default to 15. Other values outside of [5, 20] range will be rejected with INVALID_ARGUMENT error.
31-
* `name` (*type:* `String.t`, *default:* `nil`) - The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
32+
* `name` (*type:* `String.t`, *default:* `nil`) - Identifier. The resource name of the ScanConfig. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'. The ScanConfig IDs are generated by the system.
3233
* `riskLevel` (*type:* `String.t`, *default:* `nil`) - The risk level selected for the scan
3334
* `schedule` (*type:* `GoogleApi.WebSecurityScanner.V1.Model.Schedule.t`, *default:* `nil`) - The schedule of the ScanConfig.
3435
* `startingUrls` (*type:* `list(String.t)`, *default:* `nil`) - Required. The starting URLs from which the scanner finds site pages.
3536
* `staticIpScan` (*type:* `boolean()`, *default:* `nil`) - Whether the scan configuration has enabled static IP address scan feature. If enabled, the scanner will access applications from static IP addresses.
37+
* `targetPlatforms` (*type:* `list(String.t)`, *default:* `nil`) - Set of Google Cloud platforms targeted by the scan. If empty, APP_ENGINE will be used as a default.
3638
* `userAgent` (*type:* `String.t`, *default:* `nil`) - The user agent used during scanning.
3739
"""
3840

@@ -44,13 +46,15 @@ defmodule GoogleApi.WebSecurityScanner.V1.Model.ScanConfig do
4446
:displayName => String.t() | nil,
4547
:exportToSecurityCommandCenter => String.t() | nil,
4648
:ignoreHttpStatusErrors => boolean() | nil,
49+
:latestRun => GoogleApi.WebSecurityScanner.V1.Model.ScanRun.t() | nil,
4750
:managedScan => boolean() | nil,
4851
:maxQps => integer() | nil,
4952
:name => String.t() | nil,
5053
:riskLevel => String.t() | nil,
5154
:schedule => GoogleApi.WebSecurityScanner.V1.Model.Schedule.t() | nil,
5255
:startingUrls => list(String.t()) | nil,
5356
:staticIpScan => boolean() | nil,
57+
:targetPlatforms => list(String.t()) | nil,
5458
:userAgent => String.t() | nil
5559
}
5660

@@ -59,13 +63,15 @@ defmodule GoogleApi.WebSecurityScanner.V1.Model.ScanConfig do
5963
field(:displayName)
6064
field(:exportToSecurityCommandCenter)
6165
field(:ignoreHttpStatusErrors)
66+
field(:latestRun, as: GoogleApi.WebSecurityScanner.V1.Model.ScanRun)
6267
field(:managedScan)
6368
field(:maxQps)
6469
field(:name)
6570
field(:riskLevel)
6671
field(:schedule, as: GoogleApi.WebSecurityScanner.V1.Model.Schedule)
6772
field(:startingUrls, type: :list)
6873
field(:staticIpScan)
74+
field(:targetPlatforms, type: :list)
6975
field(:userAgent)
7076
end
7177

clients/web_security_scanner/mix.exs

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

21-
@version "0.18.0"
21+
@version "0.19.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)