Skip to content

Commit 617a28c

Browse files
feat: Automated regeneration of securitycenter v1beta2 client (googleapis#22197)
Auto-created at 2025-03-23 10:20:33 +0000 using the toys pull request generator.
1 parent abda67f commit 617a28c

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
@@ -319352,6 +319352,9 @@
319352319352
"/securitycenter:v1beta2/BackupDisasterRecovery/policyOptions/policy_option": policy_option
319353319353
"/securitycenter:v1beta2/BackupDisasterRecovery/profile": profile
319354319354
"/securitycenter:v1beta2/BackupDisasterRecovery/storagePool": storage_pool
319355+
"/securitycenter:v1beta2/Chokepoint": chokepoint
319356+
"/securitycenter:v1beta2/Chokepoint/relatedFindings": related_findings
319357+
"/securitycenter:v1beta2/Chokepoint/relatedFindings/related_finding": related_finding
319355319358
"/securitycenter:v1beta2/CloudArmor": cloud_armor
319356319359
"/securitycenter:v1beta2/CloudArmor/adaptiveProtection": adaptive_protection
319357319360
"/securitycenter:v1beta2/CloudArmor/attack": attack
@@ -319526,6 +319529,7 @@
319526319529
"/securitycenter:v1beta2/Finding/backupDisasterRecovery": backup_disaster_recovery
319527319530
"/securitycenter:v1beta2/Finding/canonicalName": canonical_name
319528319531
"/securitycenter:v1beta2/Finding/category": category
319532+
"/securitycenter:v1beta2/Finding/chokepoint": chokepoint
319529319533
"/securitycenter:v1beta2/Finding/cloudArmor": cloud_armor
319530319534
"/securitycenter:v1beta2/Finding/cloudDlpDataProfile": cloud_dlp_data_profile
319531319535
"/securitycenter:v1beta2/Finding/cloudDlpInspection": cloud_dlp_inspection
@@ -319905,6 +319909,9 @@
319905319909
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Binding/subjects": subjects
319906319910
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Binding/subjects/subject": subject
319907319911
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2BulkMuteFindingsResponse": google_cloud_securitycenter_v2_bulk_mute_findings_response
319912+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Chokepoint": google_cloud_securitycenter_v2_chokepoint
319913+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings": related_findings
319914+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Chokepoint/relatedFindings/related_finding": related_finding
319908319915
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2CloudArmor": google_cloud_securitycenter_v2_cloud_armor
319909319916
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2CloudArmor/adaptiveProtection": adaptive_protection
319910319917
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2CloudArmor/attack": attack
@@ -320053,6 +320060,7 @@
320053320060
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/backupDisasterRecovery": backup_disaster_recovery
320054320061
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/canonicalName": canonical_name
320055320062
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/category": category
320063+
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/chokepoint": chokepoint
320056320064
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/cloudArmor": cloud_armor
320057320065
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/cloudDlpDataProfile": cloud_dlp_data_profile
320058320066
"/securitycenter:v1beta2/GoogleCloudSecuritycenterV2Finding/cloudDlpInspection": cloud_dlp_inspection

generated/google-apis-securitycenter_v1beta2/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_v1beta2
22

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

59
* Regenerated from discovery document revision 20250308

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

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -718,6 +718,30 @@ def update!(**args)
718718
end
719719
end
720720

721+
# Contains details about a chokepoint, which is a resource or resource group
722+
# where high-risk attack paths converge, based on [attack path simulations] (
723+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
724+
# attack_path_simulations).
725+
class Chokepoint
726+
include Google::Apis::Core::Hashable
727+
728+
# List of resource names of findings associated with this chokepoint. For
729+
# example, organizations/123/sources/456/findings/789. This list will have at
730+
# most 100 findings.
731+
# Corresponds to the JSON property `relatedFindings`
732+
# @return [Array<String>]
733+
attr_accessor :related_findings
734+
735+
def initialize(**args)
736+
update!(**args)
737+
end
738+
739+
# Update properties of this object
740+
def update!(**args)
741+
@related_findings = args[:related_findings] if args.key?(:related_findings)
742+
end
743+
end
744+
721745
# Fields related to Google Cloud Armor findings.
722746
class CloudArmor
723747
include Google::Apis::Core::Hashable
@@ -2005,6 +2029,14 @@ class Finding
20052029
# @return [String]
20062030
attr_accessor :category
20072031

2032+
# Contains details about a chokepoint, which is a resource or resource group
2033+
# where high-risk attack paths converge, based on [attack path simulations] (
2034+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
2035+
# attack_path_simulations).
2036+
# Corresponds to the JSON property `chokepoint`
2037+
# @return [Google::Apis::SecuritycenterV1beta2::Chokepoint]
2038+
attr_accessor :chokepoint
2039+
20082040
# Fields related to Google Cloud Armor findings.
20092041
# Corresponds to the JSON property `cloudArmor`
20102042
# @return [Google::Apis::SecuritycenterV1beta2::CloudArmor]
@@ -2338,6 +2370,7 @@ def update!(**args)
23382370
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
23392371
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
23402372
@category = args[:category] if args.key?(:category)
2373+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
23412374
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
23422375
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
23432376
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
@@ -4555,6 +4588,30 @@ def update!(**args)
45554588
end
45564589
end
45574590

4591+
# Contains details about a chokepoint, which is a resource or resource group
4592+
# where high-risk attack paths converge, based on [attack path simulations] (
4593+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
4594+
# attack_path_simulations).
4595+
class GoogleCloudSecuritycenterV2Chokepoint
4596+
include Google::Apis::Core::Hashable
4597+
4598+
# List of resource names of findings associated with this chokepoint. For
4599+
# example, organizations/123/sources/456/findings/789. This list will have at
4600+
# most 100 findings.
4601+
# Corresponds to the JSON property `relatedFindings`
4602+
# @return [Array<String>]
4603+
attr_accessor :related_findings
4604+
4605+
def initialize(**args)
4606+
update!(**args)
4607+
end
4608+
4609+
# Update properties of this object
4610+
def update!(**args)
4611+
@related_findings = args[:related_findings] if args.key?(:related_findings)
4612+
end
4613+
end
4614+
45584615
# Fields related to Google Cloud Armor findings.
45594616
class GoogleCloudSecuritycenterV2CloudArmor
45604617
include Google::Apis::Core::Hashable
@@ -5669,6 +5726,14 @@ class GoogleCloudSecuritycenterV2Finding
56695726
# @return [String]
56705727
attr_accessor :category
56715728

5729+
# Contains details about a chokepoint, which is a resource or resource group
5730+
# where high-risk attack paths converge, based on [attack path simulations] (
5731+
# https://cloud.google.com/security-command-center/docs/attack-exposure-learn#
5732+
# attack_path_simulations).
5733+
# Corresponds to the JSON property `chokepoint`
5734+
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint]
5735+
attr_accessor :chokepoint
5736+
56725737
# Fields related to Google Cloud Armor findings.
56735738
# Corresponds to the JSON property `cloudArmor`
56745739
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor]
@@ -6012,6 +6077,7 @@ def update!(**args)
60126077
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
60136078
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
60146079
@category = args[:category] if args.key?(:category)
6080+
@chokepoint = args[:chokepoint] if args.key?(:chokepoint)
60156081
@cloud_armor = args[:cloud_armor] if args.key?(:cloud_armor)
60166082
@cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
60176083
@cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)

generated/google-apis-securitycenter_v1beta2/lib/google/apis/securitycenter_v1beta2/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 SecuritycenterV1beta2
1818
# Version of the google-apis-securitycenter_v1beta2 gem
19-
GEM_VERSION = "0.77.0"
19+
GEM_VERSION = "0.78.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_v1beta2/lib/google/apis/securitycenter_v1beta2/representations.rb

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
124124
include Google::Apis::Core::JsonObjectSupport
125125
end
126126

127+
class Chokepoint
128+
class Representation < Google::Apis::Core::JsonRepresentation; end
129+
130+
include Google::Apis::Core::JsonObjectSupport
131+
end
132+
127133
class CloudArmor
128134
class Representation < Google::Apis::Core::JsonRepresentation; end
129135

@@ -592,6 +598,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
592598
include Google::Apis::Core::JsonObjectSupport
593599
end
594600

601+
class GoogleCloudSecuritycenterV2Chokepoint
602+
class Representation < Google::Apis::Core::JsonRepresentation; end
603+
604+
include Google::Apis::Core::JsonObjectSupport
605+
end
606+
595607
class GoogleCloudSecuritycenterV2CloudArmor
596608
class Representation < Google::Apis::Core::JsonRepresentation; end
597609

@@ -1614,6 +1626,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
16141626
end
16151627
end
16161628

1629+
class Chokepoint
1630+
# @private
1631+
class Representation < Google::Apis::Core::JsonRepresentation
1632+
collection :related_findings, as: 'relatedFindings'
1633+
end
1634+
end
1635+
16171636
class CloudArmor
16181637
# @private
16191638
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1947,6 +1966,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
19471966

19481967
property :canonical_name, as: 'canonicalName'
19491968
property :category, as: 'category'
1969+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta2::Chokepoint, decorator: Google::Apis::SecuritycenterV1beta2::Chokepoint::Representation
1970+
19501971
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::CloudArmor::Representation
19511972

19521973
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile::Representation
@@ -2549,6 +2570,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
25492570
end
25502571
end
25512572

2573+
class GoogleCloudSecuritycenterV2Chokepoint
2574+
# @private
2575+
class Representation < Google::Apis::Core::JsonRepresentation
2576+
collection :related_findings, as: 'relatedFindings'
2577+
end
2578+
end
2579+
25522580
class GoogleCloudSecuritycenterV2CloudArmor
25532581
# @private
25542582
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2836,6 +2864,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
28362864

28372865
property :canonical_name, as: 'canonicalName'
28382866
property :category, as: 'category'
2867+
property :chokepoint, as: 'chokepoint', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Chokepoint::Representation
2868+
28392869
property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor::Representation
28402870

28412871
property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation

0 commit comments

Comments
 (0)