Skip to content

Commit e64d79a

Browse files
feat: Automated regeneration of securitycenter v1 client (googleapis#21309)
Auto-created at 2025-01-08 01:07:34 +0000 using the toys pull request generator.
1 parent eb0c4e6 commit e64d79a

File tree

5 files changed

+46
-6
lines changed

5 files changed

+46
-6
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306923,7 +306923,9 @@
306923306923
"/securitycenter:v1/Attack": attack
306924306924
"/securitycenter:v1/Attack/classification": classification
306925306925
"/securitycenter:v1/Attack/volumeBps": volume_bps
306926+
"/securitycenter:v1/Attack/volumeBpsLong": volume_bps_long
306926306927
"/securitycenter:v1/Attack/volumePps": volume_pps
306928+
"/securitycenter:v1/Attack/volumePpsLong": volume_pps_long
306927306929
"/securitycenter:v1/AttackExposure": attack_exposure
306928306930
"/securitycenter:v1/AttackExposure/attackExposureResult": attack_exposure_result
306929306931
"/securitycenter:v1/AttackExposure/exposedHighValueResourcesCount": exposed_high_value_resources_count
@@ -307512,7 +307514,9 @@
307512307514
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack": google_cloud_securitycenter_v2_attack
307513307515
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack/classification": classification
307514307516
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack/volumeBps": volume_bps
307517+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack/volumeBpsLong": volume_bps_long
307515307518
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack/volumePps": volume_pps
307519+
"/securitycenter:v1/GoogleCloudSecuritycenterV2Attack/volumePpsLong": volume_pps_long
307516307520
"/securitycenter:v1/GoogleCloudSecuritycenterV2AttackExposure": google_cloud_securitycenter_v2_attack_exposure
307517307521
"/securitycenter:v1/GoogleCloudSecuritycenterV2AttackExposure/attackExposureResult": attack_exposure_result
307518307522
"/securitycenter:v1/GoogleCloudSecuritycenterV2AttackExposure/exposedHighValueResourcesCount": exposed_high_value_resources_count

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.92.0 (2025-01-08)
4+
5+
* Regenerated from discovery document revision 20250103
6+
37
### v0.91.0 (2024-12-15)
48

59
* Regenerated from discovery document revision 20241206

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

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,16 +356,28 @@ class Attack
356356
# @return [String]
357357
attr_accessor :classification
358358

359-
# Total BPS (bytes per second) volume of attack.
359+
# Total BPS (bytes per second) volume of attack. Deprecated - refer to
360+
# volume_bps_long instead.
360361
# Corresponds to the JSON property `volumeBps`
361362
# @return [Fixnum]
362363
attr_accessor :volume_bps
363364

364-
# Total PPS (packets per second) volume of attack.
365+
# Total BPS (bytes per second) volume of attack.
366+
# Corresponds to the JSON property `volumeBpsLong`
367+
# @return [Fixnum]
368+
attr_accessor :volume_bps_long
369+
370+
# Total PPS (packets per second) volume of attack. Deprecated - refer to
371+
# volume_pps_long instead.
365372
# Corresponds to the JSON property `volumePps`
366373
# @return [Fixnum]
367374
attr_accessor :volume_pps
368375

376+
# Total PPS (packets per second) volume of attack.
377+
# Corresponds to the JSON property `volumePpsLong`
378+
# @return [Fixnum]
379+
attr_accessor :volume_pps_long
380+
369381
def initialize(**args)
370382
update!(**args)
371383
end
@@ -374,7 +386,9 @@ def initialize(**args)
374386
def update!(**args)
375387
@classification = args[:classification] if args.key?(:classification)
376388
@volume_bps = args[:volume_bps] if args.key?(:volume_bps)
389+
@volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
377390
@volume_pps = args[:volume_pps] if args.key?(:volume_pps)
391+
@volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
378392
end
379393
end
380394

@@ -4518,16 +4532,28 @@ class GoogleCloudSecuritycenterV2Attack
45184532
# @return [String]
45194533
attr_accessor :classification
45204534

4521-
# Total BPS (bytes per second) volume of attack.
4535+
# Total BPS (bytes per second) volume of attack. Deprecated - refer to
4536+
# volume_bps_long instead.
45224537
# Corresponds to the JSON property `volumeBps`
45234538
# @return [Fixnum]
45244539
attr_accessor :volume_bps
45254540

4526-
# Total PPS (packets per second) volume of attack.
4541+
# Total BPS (bytes per second) volume of attack.
4542+
# Corresponds to the JSON property `volumeBpsLong`
4543+
# @return [Fixnum]
4544+
attr_accessor :volume_bps_long
4545+
4546+
# Total PPS (packets per second) volume of attack. Deprecated - refer to
4547+
# volume_pps_long instead.
45274548
# Corresponds to the JSON property `volumePps`
45284549
# @return [Fixnum]
45294550
attr_accessor :volume_pps
45304551

4552+
# Total PPS (packets per second) volume of attack.
4553+
# Corresponds to the JSON property `volumePpsLong`
4554+
# @return [Fixnum]
4555+
attr_accessor :volume_pps_long
4556+
45314557
def initialize(**args)
45324558
update!(**args)
45334559
end
@@ -4536,7 +4562,9 @@ def initialize(**args)
45364562
def update!(**args)
45374563
@classification = args[:classification] if args.key?(:classification)
45384564
@volume_bps = args[:volume_bps] if args.key?(:volume_bps)
4565+
@volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
45394566
@volume_pps = args[:volume_pps] if args.key?(:volume_pps)
4567+
@volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
45404568
end
45414569
end
45424570

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.91.0"
19+
GEM_VERSION = "0.92.0"
2020

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

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,9 @@ class Attack
17801780
class Representation < Google::Apis::Core::JsonRepresentation
17811781
property :classification, as: 'classification'
17821782
property :volume_bps, as: 'volumeBps'
1783+
property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
17831784
property :volume_pps, as: 'volumePps'
1785+
property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
17841786
end
17851787
end
17861788

@@ -2785,7 +2787,9 @@ class GoogleCloudSecuritycenterV2Attack
27852787
class Representation < Google::Apis::Core::JsonRepresentation
27862788
property :classification, as: 'classification'
27872789
property :volume_bps, as: 'volumeBps'
2790+
property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
27882791
property :volume_pps, as: 'volumePps'
2792+
property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
27892793
end
27902794
end
27912795

0 commit comments

Comments
 (0)