Skip to content

Commit aaa5059

Browse files
feat: Automated regeneration of securitycenter v1beta1 client (googleapis#22328)
Auto-created at 2025-03-30 10:49:21 +0000 using the toys pull request generator.
1 parent 56141c7 commit aaa5059

File tree

5 files changed

+92
-2
lines changed

5 files changed

+92
-2
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319479,6 +319479,8 @@
319479319479
"/securitycenter:v1beta1/AccessReview/version": version
319480319480
"/securitycenter:v1beta1/AdaptiveProtection": adaptive_protection
319481319481
"/securitycenter:v1beta1/AdaptiveProtection/confidence": confidence
319482+
"/securitycenter:v1beta1/AffectedResources": affected_resources
319483+
"/securitycenter:v1beta1/AffectedResources/count": count
319482319484
"/securitycenter:v1beta1/Allowed": allowed
319483319485
"/securitycenter:v1beta1/Allowed/ipRules": ip_rules
319484319486
"/securitycenter:v1beta1/Allowed/ipRules/ip_rule": ip_rule
@@ -319727,6 +319729,7 @@
319727319729
"/securitycenter:v1beta1/File/size": size
319728319730
"/securitycenter:v1beta1/Finding": finding
319729319731
"/securitycenter:v1beta1/Finding/access": access
319732+
"/securitycenter:v1beta1/Finding/affectedResources": affected_resources
319730319733
"/securitycenter:v1beta1/Finding/application": application
319731319734
"/securitycenter:v1beta1/Finding/attackExposure": attack_exposure
319732319735
"/securitycenter:v1beta1/Finding/backupDisasterRecovery": backup_disaster_recovery
@@ -320051,6 +320054,8 @@
320051320054
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2AccessReview/version": version
320052320055
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2AdaptiveProtection": google_cloud_securitycenter_v2_adaptive_protection
320053320056
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2AdaptiveProtection/confidence": confidence
320057+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2AffectedResources": google_cloud_securitycenter_v2_affected_resources
320058+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2AffectedResources/count": count
320054320059
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Allowed": google_cloud_securitycenter_v2_allowed
320055320060
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Allowed/ipRules": ip_rules
320056320061
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Allowed/ipRules/ip_rule": ip_rule
@@ -320278,6 +320283,7 @@
320278320283
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2File/size": size
320279320284
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding": google_cloud_securitycenter_v2_finding
320280320285
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/access": access
320286+
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/affectedResources": affected_resources
320281320287
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/application": application
320282320288
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/attackExposure": attack_exposure
320283320289
"/securitycenter:v1beta1/GoogleCloudSecuritycenterV2Finding/backupDisasterRecovery": backup_disaster_recovery

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.87.0 (2025-03-30)
4+
5+
* Regenerated from discovery document revision 20250326
6+
37
### v0.86.0 (2025-03-23)
48

59
* Regenerated from discovery document revision 20250315

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,25 @@ def update!(**args)
211211
end
212212
end
213213

214+
# Details about resources affected by this finding.
215+
class AffectedResources
216+
include Google::Apis::Core::Hashable
217+
218+
# The count of resources affected by the finding.
219+
# Corresponds to the JSON property `count`
220+
# @return [Fixnum]
221+
attr_accessor :count
222+
223+
def initialize(**args)
224+
update!(**args)
225+
end
226+
227+
# Update properties of this object
228+
def update!(**args)
229+
@count = args[:count] if args.key?(:count)
230+
end
231+
end
232+
214233
# Allowed IP rule.
215234
class Allowed
216235
include Google::Apis::Core::Hashable
@@ -2135,6 +2154,11 @@ class Finding
21352154
# @return [Google::Apis::SecuritycenterV1beta1::Access]
21362155
attr_accessor :access
21372156

2157+
# Details about resources affected by this finding.
2158+
# Corresponds to the JSON property `affectedResources`
2159+
# @return [Google::Apis::SecuritycenterV1beta1::AffectedResources]
2160+
attr_accessor :affected_resources
2161+
21382162
# Represents an application associated with a finding.
21392163
# Corresponds to the JSON property `application`
21402164
# @return [Google::Apis::SecuritycenterV1beta1::Application]
@@ -2501,6 +2525,7 @@ def initialize(**args)
25012525
# Update properties of this object
25022526
def update!(**args)
25032527
@access = args[:access] if args.key?(:access)
2528+
@affected_resources = args[:affected_resources] if args.key?(:affected_resources)
25042529
@application = args[:application] if args.key?(:application)
25052530
@attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
25062531
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -4262,6 +4287,25 @@ def update!(**args)
42624287
end
42634288
end
42644289

4290+
# Details about resources affected by this finding.
4291+
class GoogleCloudSecuritycenterV2AffectedResources
4292+
include Google::Apis::Core::Hashable
4293+
4294+
# The count of resources affected by the finding.
4295+
# Corresponds to the JSON property `count`
4296+
# @return [Fixnum]
4297+
attr_accessor :count
4298+
4299+
def initialize(**args)
4300+
update!(**args)
4301+
end
4302+
4303+
# Update properties of this object
4304+
def update!(**args)
4305+
@count = args[:count] if args.key?(:count)
4306+
end
4307+
end
4308+
42654309
# Allowed IP rule.
42664310
class GoogleCloudSecuritycenterV2Allowed
42674311
include Google::Apis::Core::Hashable
@@ -6008,6 +6052,11 @@ class GoogleCloudSecuritycenterV2Finding
60086052
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access]
60096053
attr_accessor :access
60106054

6055+
# Details about resources affected by this finding.
6056+
# Corresponds to the JSON property `affectedResources`
6057+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources]
6058+
attr_accessor :affected_resources
6059+
60116060
# Represents an application associated with a finding.
60126061
# Corresponds to the JSON property `application`
60136062
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application]
@@ -6388,6 +6437,7 @@ def initialize(**args)
63886437
# Update properties of this object
63896438
def update!(**args)
63906439
@access = args[:access] if args.key?(:access)
6440+
@affected_resources = args[:affected_resources] if args.key?(:affected_resources)
63916441
@application = args[:application] if args.key?(:application)
63926442
@attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
63936443
@backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)

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.86.0"
19+
GEM_VERSION = "0.87.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 = "20250315"
25+
REVISION = "20250326"
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
@@ -40,6 +40,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
4040
include Google::Apis::Core::JsonObjectSupport
4141
end
4242

43+
class AffectedResources
44+
class Representation < Google::Apis::Core::JsonRepresentation; end
45+
46+
include Google::Apis::Core::JsonObjectSupport
47+
end
48+
4349
class Allowed
4450
class Representation < Google::Apis::Core::JsonRepresentation; end
4551

@@ -538,6 +544,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
538544
include Google::Apis::Core::JsonObjectSupport
539545
end
540546

547+
class GoogleCloudSecuritycenterV2AffectedResources
548+
class Representation < Google::Apis::Core::JsonRepresentation; end
549+
550+
include Google::Apis::Core::JsonObjectSupport
551+
end
552+
541553
class GoogleCloudSecuritycenterV2Allowed
542554
class Representation < Google::Apis::Core::JsonRepresentation; end
543555

@@ -1621,6 +1633,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
16211633
end
16221634
end
16231635

1636+
class AffectedResources
1637+
# @private
1638+
class Representation < Google::Apis::Core::JsonRepresentation
1639+
property :count, :numeric_string => true, as: 'count'
1640+
end
1641+
end
1642+
16241643
class Allowed
16251644
# @private
16261645
class Representation < Google::Apis::Core::JsonRepresentation
@@ -2111,6 +2130,8 @@ class Finding
21112130
class Representation < Google::Apis::Core::JsonRepresentation
21122131
property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta1::Access, decorator: Google::Apis::SecuritycenterV1beta1::Access::Representation
21132132

2133+
property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta1::AffectedResources, decorator: Google::Apis::SecuritycenterV1beta1::AffectedResources::Representation
2134+
21142135
property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta1::Application, decorator: Google::Apis::SecuritycenterV1beta1::Application::Representation
21152136

21162137
property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta1::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta1::AttackExposure::Representation
@@ -2594,6 +2615,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
25942615
end
25952616
end
25962617

2618+
class GoogleCloudSecuritycenterV2AffectedResources
2619+
# @private
2620+
class Representation < Google::Apis::Core::JsonRepresentation
2621+
property :count, :numeric_string => true, as: 'count'
2622+
end
2623+
end
2624+
25972625
class GoogleCloudSecuritycenterV2Allowed
25982626
# @private
25992627
class Representation < Google::Apis::Core::JsonRepresentation
@@ -3049,6 +3077,8 @@ class GoogleCloudSecuritycenterV2Finding
30493077
class Representation < Google::Apis::Core::JsonRepresentation
30503078
property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Access::Representation
30513079

3080+
property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AffectedResources::Representation
3081+
30523082
property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Application::Representation
30533083

30543084
property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2AttackExposure::Representation

0 commit comments

Comments
 (0)