Skip to content

Commit 0f35ff3

Browse files
feat: Automated regeneration of securitycenter v1beta1 client (#22215)
Auto-created at 2025-03-23 10:44:22 +0000 using the toys pull request generator.
1 parent 9f6e849 commit 0f35ff3

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
@@ -318194,6 +318194,9 @@
318194318194
"/securitycenter:v1beta1/Binding/members/member": member
318195318195
"/securitycenter:v1beta1/Binding/role": role
318196318196
"/securitycenter:v1beta1/CancelOperationRequest": cancel_operation_request
318197+
"/securitycenter:v1beta1/Chokepoint": chokepoint
318198+
"/securitycenter:v1beta1/Chokepoint/relatedFindings": related_findings
318199+
"/securitycenter:v1beta1/Chokepoint/relatedFindings/related_finding": related_finding
318197318200
"/securitycenter:v1beta1/CloudArmor": cloud_armor
318198318201
"/securitycenter:v1beta1/CloudArmor/adaptiveProtection": adaptive_protection
318199318202
"/securitycenter:v1beta1/CloudArmor/attack": attack
@@ -318348,6 +318351,7 @@
318348318351
"/securitycenter:v1beta1/Finding/backupDisasterRecovery": backup_disaster_recovery
318349318352
"/securitycenter:v1beta1/Finding/canonicalName": canonical_name
318350318353
"/securitycenter:v1beta1/Finding/category": category
318354+
"/securitycenter:v1beta1/Finding/chokepoint": chokepoint
318351318355
"/securitycenter:v1beta1/Finding/cloudArmor": cloud_armor
318352318356
"/securitycenter:v1beta1/Finding/cloudDlpDataProfile": cloud_dlp_data_profile
318353318357
"/securitycenter:v1beta1/Finding/cloudDlpInspection": cloud_dlp_inspection
@@ -318747,6 +318751,9 @@
318747318751
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Binding/subjects": subjects
318748318752
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Binding/subjects/subject": subject
318749318753
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": google_cloud_securitycenter_v2_bulk_mute_findings_response
318754+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Chokepoint": google_cloud_securitycenter_v2_chokepoint
318755+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings": related_findings
318756+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings/related_finding": related_finding
318750318757
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2CloudArmor": google_cloud_securitycenter_v2_cloud_armor
318751318758
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2CloudArmor/adaptiveProtection": adaptive_protection
318752318759
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2CloudArmor/attack": attack
@@ -318895,6 +318902,7 @@
318895318902
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/backupDisasterRecovery": backup_disaster_recovery
318896318903
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/canonicalName": canonical_name
318897318904
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/category": category
318905+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/chokepoint": chokepoint
318898318906
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/cloudArmor": cloud_armor
318899318907
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/cloudDlpDataProfile": cloud_dlp_data_profile
318900318908
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/cloudDlpInspection": cloud_dlp_inspection

generated/google-apis-securitycenter_v1beta1/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_v1beta1
22

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

59
* Regenerated from discovery document revision 20250308

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,30 @@ def update!(**args)
989989
end
990990
end
991991

992+
# Contains details about a chokepoint, which is a resource or resource group
993+
# where high-risk attack paths converge, based on [attack path simulations] (
994+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
995+
# attack_path_simulations).
996+
class Chokepoint
997+
include Google::Apis::Core::Hashable
998+
999+
# List of resource names of findings associated with this chokepoint. For
1000+
# example, organizations/123/sources/456/findings/789. This list will have at
1001+
# most 100 findings.
1002+
# Corresponds to the JSON property `relatedFindings`
1003+
# @return [Array<String>]
1004+
attr_accessor :related_findings
1005+
1006+
def initialize(**args)
1007+
update!(**args)
1008+
end
1009+
1010+
# Update properties of this object
1011+
def update!(**args)
1012+
@related_findings = args[:related_findings] if args.key?(:related_findings)
1013+
end
1014+
end
1015+
9921016
# Fields related to Google Cloud Armor findings.
9931017
class CloudArmor
9941018
include Google::Apis::Core::Hashable
@@ -2141,6 +2165,14 @@ class Finding
21412165
# @return [String]
21422166
attr_accessor :category
21432167

2168+
# Contains details about a chokepoint, which is a resource or resource group
2169+
# where high-risk attack paths converge, based on [attack path simulations] (
2170+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
2171+
# attack_path_simulations).
2172+
# Corresponds to the JSON property `chokepoint`
2173+
# @return [Google::Apis::SecuritycenterV1beta1::Chokepoint]
2174+
attr_accessor :chokepoint
2175+
21442176
# Fields related to Google Cloud Armor findings.
21452177
# Corresponds to the JSON property `cloudArmor`
21462178
# @return [Google::Apis::SecuritycenterV1beta1::CloudArmor]
@@ -2474,6 +2506,7 @@ def update!(**args)
24742506
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
24752507
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
24762508
@category = args[:category] if args.key?(:category)
2509+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
24772510
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
24782511
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
24792512
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -4871,6 +4904,30 @@ def update!(**args)
48714904
end
48724905
end
48734906

4907+
# Contains details about a chokepoint, which is a resource or resource group
4908+
# where high-risk attack paths converge, based on [attack path simulations] (
4909+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
4910+
# attack_path_simulations).
4911+
class GoogleCloudSecuritycenterV2Chokepoint
4912+
include Google::Apis::Core::Hashable
4913+
4914+
# List of resource names of findings associated with this chokepoint. For
4915+
# example, organizations/123/sources/456/findings/789. This list will have at
4916+
# most 100 findings.
4917+
# Corresponds to the JSON property `relatedFindings`
4918+
# @return [Array<String>]
4919+
attr_accessor :related_findings
4920+
4921+
def initialize(**args)
4922+
update!(**args)
4923+
end
4924+
4925+
# Update properties of this object
4926+
def update!(**args)
4927+
@related_findings = args[:related_findings] if args.key?(:related_findings)
4928+
end
4929+
end
4930+
48744931
# Fields related to Google Cloud Armor findings.
48754932
class GoogleCloudSecuritycenterV2CloudArmor
48764933
include Google::Apis::Core::Hashable
@@ -5985,6 +6042,14 @@ class GoogleCloudSecuritycenterV2Finding
59856042
# @return [String]
59866043
attr_accessor :category
59876044

6045+
# Contains details about a chokepoint, which is a resource or resource group
6046+
# where high-risk attack paths converge, based on [attack path simulations] (
6047+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
6048+
# attack_path_simulations).
6049+
# Corresponds to the JSON property `chokepoint`
6050+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint]
6051+
attr_accessor :chokepoint
6052+
59886053
# Fields related to Google Cloud Armor findings.
59896054
# Corresponds to the JSON property `cloudArmor`
59906055
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor]
@@ -6328,6 +6393,7 @@ def update!(**args)
63286393
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
63296394
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
63306395
@category = args[:category] if args.key?(:category)
6396+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
63316397
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
63326398
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
63336399
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)

generated/google-apis-securitycenter_v1beta1/lib/google/apis/securitycenter_v1beta1/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 SecuritycenterV1beta1
1818
# Version of the google-apis-securitycenter_v1beta1 gem
19-
GEM_VERSION = "0.85.0"
19+
GEM_VERSION = "0.86.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_v1beta1/lib/google/apis/securitycenter_v1beta1/representations.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
160160
include Google::Apis::Core::JsonObjectSupport
161161
end
162162

163+
class Chokepoint
164+
class Representation < Google::Apis::Core::JsonRepresentation; end
165+
166+
include Google::Apis::Core::JsonObjectSupport
167+
end
168+
163169
class CloudArmor
164170
class Representation < Google::Apis::Core::JsonRepresentation; end
165171

@@ -634,6 +640,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
634640
include Google::Apis::Core::JsonObjectSupport
635641
end
636642

643+
class GoogleCloudSecuritycenterV2Chokepoint
644+
class Representation < Google::Apis::Core::JsonRepresentation; end
645+
646+
include Google::Apis::Core::JsonObjectSupport
647+
end
648+
637649
class GoogleCloudSecuritycenterV2CloudArmor
638650
class Representation < Google::Apis::Core::JsonRepresentation; end
639651

@@ -1801,6 +1813,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
18011813
end
18021814
end
18031815

1816+
class Chokepoint
1817+
# @private
1818+
class Representation < Google::Apis::Core::JsonRepresentation
1819+
collection :related_findings, as: 'relatedFindings'
1820+
end
1821+
end
1822+
18041823
class CloudArmor
18051824
# @private
18061825
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2100,6 +2119,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
21002119

21012120
property :canonical_name, as: 'canonicalName'
21022121
property :category, as: 'category'
2122+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta1::Chokepoint, decorator: Google::Apis::SecuritycenterV1beta1::Chokepoint::Representation
2123+
21032124
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta1::CloudArmor, decorator: Google::Apis::SecuritycenterV1beta1::CloudArmor::Representation
21042125

21052126
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile::Representation
@@ -2742,6 +2763,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
27422763
end
27432764
end
27442765

2766+
class GoogleCloudSecuritycenterV2Chokepoint
2767+
# @private
2768+
class Representation < Google::Apis::Core::JsonRepresentation
2769+
collection :related_findings, as: 'relatedFindings'
2770+
end
2771+
end
2772+
27452773
class GoogleCloudSecuritycenterV2CloudArmor
27462774
# @private
27472775
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3029,6 +3057,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
30293057

30303058
property :canonical_name, as: 'canonicalName'
30313059
property :category, as: 'category'
3060+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Chokepoint::Representation
3061+
30323062
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudArmor::Representation
30333063

30343064
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation

0 commit comments

Comments
 (0)