Skip to content

Commit 68d2faa

Browse files
feat: Automated regeneration of securitycenter v1 client (googleapis#22176)
Auto-created at 2025-03-23 09:50:51 +0000 using the toys pull request generator.
1 parent a72a194 commit 68d2faa

File tree

5 files changed

+110
-2
lines changed

5 files changed

+110
-2
lines changed

api_names_out.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315484,6 +315484,9 @@
315484315484
"/securitycenter:v1/BulkMuteFindingsRequest/muteState": mute_state
315485315485
"/securitycenter:v1/CelPolicySpec": cel_policy_spec
315486315486
"/securitycenter:v1/CelPolicySpec/spec": spec
315487+
"/securitycenter:v1/Chokepoint": chokepoint
315488+
"/securitycenter:v1/Chokepoint/relatedFindings": related_findings
315489+
"/securitycenter:v1/Chokepoint/relatedFindings/related_finding": related_finding
315487315490
"/securitycenter:v1/CloudArmor": cloud_armor
315488315491
"/securitycenter:v1/CloudArmor/adaptiveProtection": adaptive_protection
315489315492
"/securitycenter:v1/CloudArmor/attack": attack
@@ -315670,6 +315673,7 @@
315670315673
"/securitycenter:v1/Finding/backupDisasterRecovery": backup_disaster_recovery
315671315674
"/securitycenter:v1/Finding/canonicalName": canonical_name
315672315675
"/securitycenter:v1/Finding/category": category
315676+
"/securitycenter:v1/Finding/chokepoint": chokepoint
315673315677
"/securitycenter:v1/Finding/cloudArmor": cloud_armor
315674315678
"/securitycenter:v1/Finding/cloudDlpDataProfile": cloud_dlp_data_profile
315675315679
"/securitycenter:v1/Finding/cloudDlpInspection": cloud_dlp_inspection
@@ -316054,6 +316058,9 @@
316054316058
"/securitycenter:v1/GoogleCloudSecuritycenterV2Binding/subjects": subjects
316055316059
"/securitycenter:v1/GoogleCloudSecuritycenterV2Binding/subjects/subject": subject
316056316060
"/securitycenter:v1/GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": google_cloud_securitycenter_v2_bulk_mute_findings_response
316061+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Chokepoint": google_cloud_securitycenter_v2_chokepoint
316062+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings": related_findings
316063+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings/related_finding": related_finding
316057316064
"/securitycenter:v1/GoogleCloudSecuritycenterV2CloudArmor": google_cloud_securitycenter_v2_cloud_armor
316058316065
"/securitycenter:v1/GoogleCloudSecuritycenterV2CloudArmor/adaptiveProtection": adaptive_protection
316059316066
"/securitycenter:v1/GoogleCloudSecuritycenterV2CloudArmor/attack": attack
@@ -316202,6 +316209,7 @@
316202316209
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/backupDisasterRecovery": backup_disaster_recovery
316203316210
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/canonicalName": canonical_name
316204316211
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/category": category
316212+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/chokepoint": chokepoint
316205316213
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/cloudArmor": cloud_armor
316206316214
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/cloudDlpDataProfile": cloud_dlp_data_profile
316207316215
"/securitycenter:v1/GoogleCloudSecuritycenterV2Finding/cloudDlpInspection": cloud_dlp_inspection

generated/google-apis-securitycenter_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-securitycenter_v1
22

3+
### v0.96.0 (2025-03-23)
4+
5+
* Regenerated from discovery document revision 20250315
6+
37
### v0.95.0 (2025-03-16)
48

59
* Regenerated from discovery document revision 20250308

generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/classes.rb

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,30 @@ def update!(**args)
12341234
end
12351235
end
12361236

1237+
# Contains details about a chokepoint, which is a resource or resource group
1238+
# where high-risk attack paths converge, based on [attack path simulations] (
1239+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
1240+
# attack_path_simulations).
1241+
class Chokepoint
1242+
include Google::Apis::Core::Hashable
1243+
1244+
# List of resource names of findings associated with this chokepoint. For
1245+
# example, organizations/123/sources/456/findings/789. This list will have at
1246+
# most 100 findings.
1247+
# Corresponds to the JSON property `relatedFindings`
1248+
# @return [Array<String>]
1249+
attr_accessor :related_findings
1250+
1251+
def initialize(**args)
1252+
update!(**args)
1253+
end
1254+
1255+
# Update properties of this object
1256+
def update!(**args)
1257+
@related_findings = args[:related_findings] if args.key?(:related_findings)
1258+
end
1259+
end
1260+
12371261
# Fields related to Google Cloud Armor findings.
12381262
class CloudArmor
12391263
include Google::Apis::Core::Hashable
@@ -2624,6 +2648,14 @@ class Finding
26242648
# @return [String]
26252649
attr_accessor :category
26262650

2651+
# Contains details about a chokepoint, which is a resource or resource group
2652+
# where high-risk attack paths converge, based on [attack path simulations] (
2653+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
2654+
# attack_path_simulations).
2655+
# Corresponds to the JSON property `chokepoint`
2656+
# @return [Google::Apis::SecuritycenterV1::Chokepoint]
2657+
attr_accessor :chokepoint
2658+
26272659
# Fields related to Google Cloud Armor findings.
26282660
# Corresponds to the JSON property `cloudArmor`
26292661
# @return [Google::Apis::SecuritycenterV1::CloudArmor]
@@ -2957,6 +2989,7 @@ def update!(**args)
29572989
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
29582990
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
29592991
@category = args[:category] if args.key?(:category)
2992+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
29602993
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
29612994
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
29622995
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -5221,6 +5254,30 @@ def update!(**args)
52215254
end
52225255
end
52235256

5257+
# Contains details about a chokepoint, which is a resource or resource group
5258+
# where high-risk attack paths converge, based on [attack path simulations] (
5259+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
5260+
# attack_path_simulations).
5261+
class GoogleCloudSecuritycenterV2Chokepoint
5262+
include Google::Apis::Core::Hashable
5263+
5264+
# List of resource names of findings associated with this chokepoint. For
5265+
# example, organizations/123/sources/456/findings/789. This list will have at
5266+
# most 100 findings.
5267+
# Corresponds to the JSON property `relatedFindings`
5268+
# @return [Array<String>]
5269+
attr_accessor :related_findings
5270+
5271+
def initialize(**args)
5272+
update!(**args)
5273+
end
5274+
5275+
# Update properties of this object
5276+
def update!(**args)
5277+
@related_findings = args[:related_findings] if args.key?(:related_findings)
5278+
end
5279+
end
5280+
52245281
# Fields related to Google Cloud Armor findings.
52255282
class GoogleCloudSecuritycenterV2CloudArmor
52265283
include Google::Apis::Core::Hashable
@@ -6335,6 +6392,14 @@ class GoogleCloudSecuritycenterV2Finding
63356392
# @return [String]
63366393
attr_accessor :category
63376394

6395+
# Contains details about a chokepoint, which is a resource or resource group
6396+
# where high-risk attack paths converge, based on [attack path simulations] (
6397+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
6398+
# attack_path_simulations).
6399+
# Corresponds to the JSON property `chokepoint`
6400+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Chokepoint]
6401+
attr_accessor :chokepoint
6402+
63386403
# Fields related to Google Cloud Armor findings.
63396404
# Corresponds to the JSON property `cloudArmor`
63406405
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudArmor]
@@ -6678,6 +6743,7 @@ def update!(**args)
66786743
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
66796744
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
66806745
@category = args[:category] if args.key?(:category)
6746+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
66816747
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
66826748
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
66836749
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)

generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module SecuritycenterV1
1818
# Version of the google-apis-securitycenter_v1 gem
19-
GEM_VERSION = "0.95.0"
19+
GEM_VERSION = "0.96.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250308"
25+
REVISION = "20250315"
2626
end
2727
end
2828
end

generated/google-apis-securitycenter_v1/lib/google/apis/securitycenter_v1/representations.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
196196
include Google::Apis::Core::JsonObjectSupport
197197
end
198198

199+
class Chokepoint
200+
class Representation < Google::Apis::Core::JsonRepresentation; end
201+
202+
include Google::Apis::Core::JsonObjectSupport
203+
end
204+
199205
class CloudArmor
200206
class Representation < Google::Apis::Core::JsonRepresentation; end
201207

@@ -688,6 +694,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
688694
include Google::Apis::Core::JsonObjectSupport
689695
end
690696

697+
class GoogleCloudSecuritycenterV2Chokepoint
698+
class Representation < Google::Apis::Core::JsonRepresentation; end
699+
700+
include Google::Apis::Core::JsonObjectSupport
701+
end
702+
691703
class GoogleCloudSecuritycenterV2CloudArmor
692704
class Representation < Google::Apis::Core::JsonRepresentation; end
693705

@@ -2096,6 +2108,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
20962108
end
20972109
end
20982110

2111+
class Chokepoint
2112+
# @private
2113+
class Representation < Google::Apis::Core::JsonRepresentation
2114+
collection :related_findings, as: 'relatedFindings'
2115+
end
2116+
end
2117+
20992118
class CloudArmor
21002119
# @private
21012120
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2453,6 +2472,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
24532472

24542473
property :canonical_name, as: 'canonicalName'
24552474
property :category, as: 'category'
2475+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1::Chokepoint, decorator: Google::Apis::SecuritycenterV1::Chokepoint::Representation
2476+
24562477
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1::CloudArmor, decorator: Google::Apis::SecuritycenterV1::CloudArmor::Representation
24572478

24582479
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1::CloudDlpDataProfile::Representation
@@ -3070,6 +3091,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
30703091
end
30713092
end
30723093

3094+
class GoogleCloudSecuritycenterV2Chokepoint
3095+
# @private
3096+
class Representation < Google::Apis::Core::JsonRepresentation
3097+
collection :related_findings, as: 'relatedFindings'
3098+
end
3099+
end
3100+
30733101
class GoogleCloudSecuritycenterV2CloudArmor
30743102
# @private
30753103
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3357,6 +3385,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
33573385

33583386
property :canonical_name, as: 'canonicalName'
33593387
property :category, as: 'category'
3388+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Chokepoint, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Chokepoint::Representation
3389+
33603390
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudArmor::Representation
33613391

33623392
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation

0 commit comments

Comments
 (0)