lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.73.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.74.0
- old
+ new
@@ -245,29 +245,43 @@
# Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
# Corresponds to the JSON property `classification`
# @return [String]
attr_accessor :classification
- # Total BPS (bytes per second) volume of attack.
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
+ # volume_bps_long instead.
# Corresponds to the JSON property `volumeBps`
# @return [Fixnum]
attr_accessor :volume_bps
- # Total PPS (packets per second) volume of attack.
+ # Total BPS (bytes per second) volume of attack.
+ # Corresponds to the JSON property `volumeBpsLong`
+ # @return [Fixnum]
+ attr_accessor :volume_bps_long
+
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
+ # volume_pps_long instead.
# Corresponds to the JSON property `volumePps`
# @return [Fixnum]
attr_accessor :volume_pps
+ # Total PPS (packets per second) volume of attack.
+ # Corresponds to the JSON property `volumePpsLong`
+ # @return [Fixnum]
+ attr_accessor :volume_pps_long
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@classification = args[:classification] if args.key?(:classification)
@volume_bps = args[:volume_bps] if args.key?(:volume_bps)
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
@volume_pps = args[:volume_pps] if args.key?(:volume_pps)
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
end
end
# An attack exposure contains the results of an attack path simulation run.
class AttackExposure
@@ -3850,28 +3864,42 @@
# Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'.
# Corresponds to the JSON property `classification`
# @return [String]
attr_accessor :classification
- # Total BPS (bytes per second) volume of attack.
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
+ # volume_bps_long instead.
# Corresponds to the JSON property `volumeBps`
# @return [Fixnum]
attr_accessor :volume_bps
- # Total PPS (packets per second) volume of attack.
+ # Total BPS (bytes per second) volume of attack.
+ # Corresponds to the JSON property `volumeBpsLong`
+ # @return [Fixnum]
+ attr_accessor :volume_bps_long
+
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
+ # volume_pps_long instead.
# Corresponds to the JSON property `volumePps`
# @return [Fixnum]
attr_accessor :volume_pps
+ # Total PPS (packets per second) volume of attack.
+ # Corresponds to the JSON property `volumePpsLong`
+ # @return [Fixnum]
+ attr_accessor :volume_pps_long
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@classification = args[:classification] if args.key?(:classification)
@volume_bps = args[:volume_bps] if args.key?(:volume_bps)
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
@volume_pps = args[:volume_pps] if args.key?(:volume_pps)
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
end
end
# An attack exposure contains the results of an attack path simulation run.
class GoogleCloudSecuritycenterV2AttackExposure