google-apis-securitycenter_v1beta2 0.73.0 → 0.75.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81293ee475c95c3fcd30c98426a620c4ae60ac8d0a72c0f62b847d9c126cf4cd
4
- data.tar.gz: f8f5d2bc72c9eb100052725cf8149d8b772dfd7a123ce6d98f5920cedfb5edd9
3
+ metadata.gz: 8cc4d2c88b59bd0abf0abd1bec93b787f04d426716fb4a5bff20e68dd762b433
4
+ data.tar.gz: 4651f7d6e7f2736cbb3d9b0bd26def9f7123d8756151031a95ee44b2cd05e116
5
5
  SHA512:
6
- metadata.gz: e19e2120a913332321f9a09ef58682c772f3650742d409079c20736e3103f1dc29d1294d06729113a2a9295815bcada5142ee11efeaceb0668c68a7990e6a0d6
7
- data.tar.gz: 2ac8b1b61d5210b8e4af54adf7f9a13a05fae45687a015252a4820e50306c9d03c79d82c97e7c7c72e6956c1dd49c952c3bf9aa4fce751b9836a8f02b5fb7126
6
+ metadata.gz: 79b79404a2afe2def8b0cd5817ada011f50950dc9be989ce00d17a690f97f0d903734229ef703b3404d561489df0223f84c5e04aa694675ac7dcc2f03e626953
7
+ data.tar.gz: cfe1b14d62793749bf5b8ceafacf177e4ff908ed4d9610630efd62ca6de4c2e47a38c873413f3f615867c8e1b425a9e32bad823d7bf37ee209f2b22315622d98
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.75.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250218
6
+
7
+ ### v0.74.0 (2025-01-12)
8
+
9
+ * Regenerated from discovery document revision 20250103
10
+ * Regenerated using generator version 0.16.0
11
+
3
12
  ### v0.73.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241206
@@ -211,6 +211,25 @@ module Google
211
211
  end
212
212
  end
213
213
 
214
+ # Allowed IP rule.
215
+ class Allowed
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # Optional. Optional list of allowed IP rules.
219
+ # Corresponds to the JSON property `ipRules`
220
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::IpRule>]
221
+ attr_accessor :ip_rules
222
+
223
+ def initialize(**args)
224
+ update!(**args)
225
+ end
226
+
227
+ # Update properties of this object
228
+ def update!(**args)
229
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
230
+ end
231
+ end
232
+
214
233
  # Represents an application associated with a finding.
215
234
  class Application
216
235
  include Google::Apis::Core::Hashable
@@ -247,16 +266,28 @@ module Google
247
266
  # @return [String]
248
267
  attr_accessor :classification
249
268
 
250
- # Total BPS (bytes per second) volume of attack.
269
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
270
+ # volume_bps_long instead.
251
271
  # Corresponds to the JSON property `volumeBps`
252
272
  # @return [Fixnum]
253
273
  attr_accessor :volume_bps
254
274
 
255
- # Total PPS (packets per second) volume of attack.
275
+ # Total BPS (bytes per second) volume of attack.
276
+ # Corresponds to the JSON property `volumeBpsLong`
277
+ # @return [Fixnum]
278
+ attr_accessor :volume_bps_long
279
+
280
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
281
+ # volume_pps_long instead.
256
282
  # Corresponds to the JSON property `volumePps`
257
283
  # @return [Fixnum]
258
284
  attr_accessor :volume_pps
259
285
 
286
+ # Total PPS (packets per second) volume of attack.
287
+ # Corresponds to the JSON property `volumePpsLong`
288
+ # @return [Fixnum]
289
+ attr_accessor :volume_pps_long
290
+
260
291
  def initialize(**args)
261
292
  update!(**args)
262
293
  end
@@ -265,7 +296,9 @@ module Google
265
296
  def update!(**args)
266
297
  @classification = args[:classification] if args.key?(:classification)
267
298
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
299
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
268
300
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
301
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
269
302
  end
270
303
  end
271
304
 
@@ -1506,6 +1539,25 @@ module Google
1506
1539
  end
1507
1540
  end
1508
1541
 
1542
+ # Denied IP rule.
1543
+ class Denied
1544
+ include Google::Apis::Core::Hashable
1545
+
1546
+ # Optional. Optional list of denied IP rules.
1547
+ # Corresponds to the JSON property `ipRules`
1548
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::IpRule>]
1549
+ attr_accessor :ip_rules
1550
+
1551
+ def initialize(**args)
1552
+ update!(**args)
1553
+ end
1554
+
1555
+ # Update properties of this object
1556
+ def update!(**args)
1557
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
1558
+ end
1559
+ end
1560
+
1509
1561
  # Details of a subscription.
1510
1562
  class Details
1511
1563
  include Google::Apis::Core::Hashable
@@ -2074,6 +2126,16 @@ module Google
2074
2126
  # @return [Google::Apis::SecuritycenterV1beta2::Indicator]
2075
2127
  attr_accessor :indicator
2076
2128
 
2129
+ # IP rules associated with the finding.
2130
+ # Corresponds to the JSON property `ipRules`
2131
+ # @return [Google::Apis::SecuritycenterV1beta2::IpRules]
2132
+ attr_accessor :ip_rules
2133
+
2134
+ # Describes a job
2135
+ # Corresponds to the JSON property `job`
2136
+ # @return [Google::Apis::SecuritycenterV1beta2::Job]
2137
+ attr_accessor :job
2138
+
2077
2139
  # Kernel mode rootkit signatures.
2078
2140
  # Corresponds to the JSON property `kernelRootkit`
2079
2141
  # @return [Google::Apis::SecuritycenterV1beta2::KernelRootkit]
@@ -2140,6 +2202,11 @@ module Google
2140
2202
  # @return [String]
2141
2203
  attr_accessor :name
2142
2204
 
2205
+ # Represents the VPC networks that the resource is attached to.
2206
+ # Corresponds to the JSON property `networks`
2207
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Network>]
2208
+ attr_accessor :networks
2209
+
2143
2210
  # Steps to address the finding.
2144
2211
  # Corresponds to the JSON property `nextSteps`
2145
2212
  # @return [String]
@@ -2267,6 +2334,8 @@ module Google
2267
2334
  @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
2268
2335
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
2269
2336
  @indicator = args[:indicator] if args.key?(:indicator)
2337
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
2338
+ @job = args[:job] if args.key?(:job)
2270
2339
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
2271
2340
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
2272
2341
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
@@ -2278,6 +2347,7 @@ module Google
2278
2347
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
2279
2348
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
2280
2349
  @name = args[:name] if args.key?(:name)
2350
+ @networks = args[:networks] if args.key?(:networks)
2281
2351
  @next_steps = args[:next_steps] if args.key?(:next_steps)
2282
2352
  @notebook = args[:notebook] if args.key?(:notebook)
2283
2353
  @org_policies = args[:org_policies] if args.key?(:org_policies)
@@ -3816,6 +3886,25 @@ module Google
3816
3886
  end
3817
3887
  end
3818
3888
 
3889
+ # Allowed IP rule.
3890
+ class GoogleCloudSecuritycenterV2Allowed
3891
+ include Google::Apis::Core::Hashable
3892
+
3893
+ # Optional. Optional list of allowed IP rules.
3894
+ # Corresponds to the JSON property `ipRules`
3895
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule>]
3896
+ attr_accessor :ip_rules
3897
+
3898
+ def initialize(**args)
3899
+ update!(**args)
3900
+ end
3901
+
3902
+ # Update properties of this object
3903
+ def update!(**args)
3904
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
3905
+ end
3906
+ end
3907
+
3819
3908
  # Represents an application associated with a finding.
3820
3909
  class GoogleCloudSecuritycenterV2Application
3821
3910
  include Google::Apis::Core::Hashable
@@ -3852,16 +3941,28 @@ module Google
3852
3941
  # @return [String]
3853
3942
  attr_accessor :classification
3854
3943
 
3855
- # Total BPS (bytes per second) volume of attack.
3944
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
3945
+ # volume_bps_long instead.
3856
3946
  # Corresponds to the JSON property `volumeBps`
3857
3947
  # @return [Fixnum]
3858
3948
  attr_accessor :volume_bps
3859
3949
 
3860
- # Total PPS (packets per second) volume of attack.
3950
+ # Total BPS (bytes per second) volume of attack.
3951
+ # Corresponds to the JSON property `volumeBpsLong`
3952
+ # @return [Fixnum]
3953
+ attr_accessor :volume_bps_long
3954
+
3955
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
3956
+ # volume_pps_long instead.
3861
3957
  # Corresponds to the JSON property `volumePps`
3862
3958
  # @return [Fixnum]
3863
3959
  attr_accessor :volume_pps
3864
3960
 
3961
+ # Total PPS (packets per second) volume of attack.
3962
+ # Corresponds to the JSON property `volumePpsLong`
3963
+ # @return [Fixnum]
3964
+ attr_accessor :volume_pps_long
3965
+
3865
3966
  def initialize(**args)
3866
3967
  update!(**args)
3867
3968
  end
@@ -3870,7 +3971,9 @@ module Google
3870
3971
  def update!(**args)
3871
3972
  @classification = args[:classification] if args.key?(:classification)
3872
3973
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
3974
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
3873
3975
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
3976
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
3874
3977
  end
3875
3978
  end
3876
3979
 
@@ -5107,6 +5210,25 @@ module Google
5107
5210
  end
5108
5211
  end
5109
5212
 
5213
+ # Denied IP rule.
5214
+ class GoogleCloudSecuritycenterV2Denied
5215
+ include Google::Apis::Core::Hashable
5216
+
5217
+ # Optional. Optional list of denied IP rules.
5218
+ # Corresponds to the JSON property `ipRules`
5219
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule>]
5220
+ attr_accessor :ip_rules
5221
+
5222
+ def initialize(**args)
5223
+ update!(**args)
5224
+ end
5225
+
5226
+ # Update properties of this object
5227
+ def update!(**args)
5228
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
5229
+ end
5230
+ end
5231
+
5110
5232
  # Memory hash detection contributing to the binary family match.
5111
5233
  class GoogleCloudSecuritycenterV2Detection
5112
5234
  include Google::Apis::Core::Hashable
@@ -5642,6 +5764,16 @@ module Google
5642
5764
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator]
5643
5765
  attr_accessor :indicator
5644
5766
 
5767
+ # IP rules associated with the finding.
5768
+ # Corresponds to the JSON property `ipRules`
5769
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRules]
5770
+ attr_accessor :ip_rules
5771
+
5772
+ # Describes a job
5773
+ # Corresponds to the JSON property `job`
5774
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Job]
5775
+ attr_accessor :job
5776
+
5645
5777
  # Kernel mode rootkit signatures.
5646
5778
  # Corresponds to the JSON property `kernelRootkit`
5647
5779
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit]
@@ -5712,6 +5844,11 @@ module Google
5712
5844
  # @return [String]
5713
5845
  attr_accessor :name
5714
5846
 
5847
+ # Represents the VPC networks that the resource is attached to.
5848
+ # Corresponds to the JSON property `networks`
5849
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Network>]
5850
+ attr_accessor :networks
5851
+
5715
5852
  # Steps to address the finding.
5716
5853
  # Corresponds to the JSON property `nextSteps`
5717
5854
  # @return [String]
@@ -5844,6 +5981,8 @@ module Google
5844
5981
  @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
5845
5982
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
5846
5983
  @indicator = args[:indicator] if args.key?(:indicator)
5984
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
5985
+ @job = args[:job] if args.key?(:job)
5847
5986
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
5848
5987
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
5849
5988
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
@@ -5855,6 +5994,7 @@ module Google
5855
5994
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
5856
5995
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
5857
5996
  @name = args[:name] if args.key?(:name)
5997
+ @networks = args[:networks] if args.key?(:networks)
5858
5998
  @next_steps = args[:next_steps] if args.key?(:next_steps)
5859
5999
  @notebook = args[:notebook] if args.key?(:notebook)
5860
6000
  @org_policies = args[:org_policies] if args.key?(:org_policies)
@@ -6019,6 +6159,90 @@ module Google
6019
6159
  end
6020
6160
  end
6021
6161
 
6162
+ # IP rule information.
6163
+ class GoogleCloudSecuritycenterV2IpRule
6164
+ include Google::Apis::Core::Hashable
6165
+
6166
+ # Optional. An optional list of ports to which this rule applies. This field is
6167
+ # only applicable for the UDP or (S)TCP protocols. Each entry must be either an
6168
+ # integer or a range including a min and max port number.
6169
+ # Corresponds to the JSON property `portRanges`
6170
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2PortRange>]
6171
+ attr_accessor :port_ranges
6172
+
6173
+ # The IP protocol this rule applies to. This value can either be one of the
6174
+ # following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
6175
+ # a string representation of the integer value.
6176
+ # Corresponds to the JSON property `protocol`
6177
+ # @return [String]
6178
+ attr_accessor :protocol
6179
+
6180
+ def initialize(**args)
6181
+ update!(**args)
6182
+ end
6183
+
6184
+ # Update properties of this object
6185
+ def update!(**args)
6186
+ @port_ranges = args[:port_ranges] if args.key?(:port_ranges)
6187
+ @protocol = args[:protocol] if args.key?(:protocol)
6188
+ end
6189
+ end
6190
+
6191
+ # IP rules associated with the finding.
6192
+ class GoogleCloudSecuritycenterV2IpRules
6193
+ include Google::Apis::Core::Hashable
6194
+
6195
+ # Allowed IP rule.
6196
+ # Corresponds to the JSON property `allowed`
6197
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Allowed]
6198
+ attr_accessor :allowed
6199
+
6200
+ # Denied IP rule.
6201
+ # Corresponds to the JSON property `denied`
6202
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Denied]
6203
+ attr_accessor :denied
6204
+
6205
+ # If destination IP ranges are specified, the firewall rule applies only to
6206
+ # traffic that has a destination IP address in these ranges. These ranges must
6207
+ # be expressed in CIDR format. Only supports IPv4.
6208
+ # Corresponds to the JSON property `destinationIpRanges`
6209
+ # @return [Array<String>]
6210
+ attr_accessor :destination_ip_ranges
6211
+
6212
+ # The direction that the rule is applicable to, one of ingress or egress.
6213
+ # Corresponds to the JSON property `direction`
6214
+ # @return [String]
6215
+ attr_accessor :direction
6216
+
6217
+ # Name of the network protocol service, such as FTP, that is exposed by the open
6218
+ # port. Follows the naming convention available at: https://www.iana.org/
6219
+ # assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
6220
+ # Corresponds to the JSON property `exposedServices`
6221
+ # @return [Array<String>]
6222
+ attr_accessor :exposed_services
6223
+
6224
+ # If source IP ranges are specified, the firewall rule applies only to traffic
6225
+ # that has a source IP address in these ranges. These ranges must be expressed
6226
+ # in CIDR format. Only supports IPv4.
6227
+ # Corresponds to the JSON property `sourceIpRanges`
6228
+ # @return [Array<String>]
6229
+ attr_accessor :source_ip_ranges
6230
+
6231
+ def initialize(**args)
6232
+ update!(**args)
6233
+ end
6234
+
6235
+ # Update properties of this object
6236
+ def update!(**args)
6237
+ @allowed = args[:allowed] if args.key?(:allowed)
6238
+ @denied = args[:denied] if args.key?(:denied)
6239
+ @destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
6240
+ @direction = args[:direction] if args.key?(:direction)
6241
+ @exposed_services = args[:exposed_services] if args.key?(:exposed_services)
6242
+ @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
6243
+ end
6244
+ end
6245
+
6022
6246
  # Security Command Center Issue.
6023
6247
  class GoogleCloudSecuritycenterV2Issue
6024
6248
  include Google::Apis::Core::Hashable
@@ -6498,6 +6722,43 @@ module Google
6498
6722
  end
6499
6723
  end
6500
6724
 
6725
+ # Describes a job
6726
+ class GoogleCloudSecuritycenterV2Job
6727
+ include Google::Apis::Core::Hashable
6728
+
6729
+ # Optional. If the job did not complete successfully, this field describes why.
6730
+ # Corresponds to the JSON property `errorCode`
6731
+ # @return [Fixnum]
6732
+ attr_accessor :error_code
6733
+
6734
+ # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
6735
+ # Corresponds to the JSON property `location`
6736
+ # @return [String]
6737
+ attr_accessor :location
6738
+
6739
+ # The fully-qualified name for a job. e.g. `projects//jobs/`
6740
+ # Corresponds to the JSON property `name`
6741
+ # @return [String]
6742
+ attr_accessor :name
6743
+
6744
+ # Output only. State of the job, such as `RUNNING` or `PENDING`.
6745
+ # Corresponds to the JSON property `state`
6746
+ # @return [String]
6747
+ attr_accessor :state
6748
+
6749
+ def initialize(**args)
6750
+ update!(**args)
6751
+ end
6752
+
6753
+ # Update properties of this object
6754
+ def update!(**args)
6755
+ @error_code = args[:error_code] if args.key?(:error_code)
6756
+ @location = args[:location] if args.key?(:location)
6757
+ @name = args[:name] if args.key?(:name)
6758
+ @state = args[:state] if args.key?(:state)
6759
+ end
6760
+ end
6761
+
6501
6762
  # Kernel mode rootkit signatures.
6502
6763
  class GoogleCloudSecuritycenterV2KernelRootkit
6503
6764
  include Google::Apis::Core::Hashable
@@ -6899,6 +7160,26 @@ module Google
6899
7160
  end
6900
7161
  end
6901
7162
 
7163
+ # Contains information about a VPC network associated with the finding.
7164
+ class GoogleCloudSecuritycenterV2Network
7165
+ include Google::Apis::Core::Hashable
7166
+
7167
+ # The name of the VPC network resource, for example, `//compute.googleapis.com/
7168
+ # projects/my-project/global/networks/my-network`.
7169
+ # Corresponds to the JSON property `name`
7170
+ # @return [String]
7171
+ attr_accessor :name
7172
+
7173
+ def initialize(**args)
7174
+ update!(**args)
7175
+ end
7176
+
7177
+ # Update properties of this object
7178
+ def update!(**args)
7179
+ @name = args[:name] if args.key?(:name)
7180
+ end
7181
+ end
7182
+
6902
7183
  # Kubernetes nodes associated with the finding.
6903
7184
  class GoogleCloudSecuritycenterV2Node
6904
7185
  include Google::Apis::Core::Hashable
@@ -7069,8 +7350,8 @@ module Google
7069
7350
  class GoogleCloudSecuritycenterV2OrgPolicy
7070
7351
  include Google::Apis::Core::Hashable
7071
7352
 
7072
- # The resource name of the org policy. Example: "organizations/`organization_id`/
7073
- # policies/`constraint_name`"
7353
+ # Identifier. The resource name of the org policy. Example: "organizations/`
7354
+ # organization_id`/policies/`constraint_name`"
7074
7355
  # Corresponds to the JSON property `name`
7075
7356
  # @return [String]
7076
7357
  attr_accessor :name
@@ -7194,6 +7475,33 @@ module Google
7194
7475
  end
7195
7476
  end
7196
7477
 
7478
+ # A port range which is inclusive of the min and max values. Values are between
7479
+ # 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
7480
+ # If min and max are equal this indicates that it is a single port.
7481
+ class GoogleCloudSecuritycenterV2PortRange
7482
+ include Google::Apis::Core::Hashable
7483
+
7484
+ # Maximum port value.
7485
+ # Corresponds to the JSON property `max`
7486
+ # @return [Fixnum]
7487
+ attr_accessor :max
7488
+
7489
+ # Minimum port value.
7490
+ # Corresponds to the JSON property `min`
7491
+ # @return [Fixnum]
7492
+ attr_accessor :min
7493
+
7494
+ def initialize(**args)
7495
+ update!(**args)
7496
+ end
7497
+
7498
+ # Update properties of this object
7499
+ def update!(**args)
7500
+ @max = args[:max] if args.key?(:max)
7501
+ @min = args[:min] if args.key?(:min)
7502
+ end
7503
+ end
7504
+
7197
7505
  # Represents an operating system process.
7198
7506
  class GoogleCloudSecuritycenterV2Process
7199
7507
  include Google::Apis::Core::Hashable
@@ -8187,6 +8495,127 @@ module Google
8187
8495
  end
8188
8496
  end
8189
8497
 
8498
+ # IP rule information.
8499
+ class IpRule
8500
+ include Google::Apis::Core::Hashable
8501
+
8502
+ # Optional. An optional list of ports to which this rule applies. This field is
8503
+ # only applicable for the UDP or (S)TCP protocols. Each entry must be either an
8504
+ # integer or a range including a min and max port number.
8505
+ # Corresponds to the JSON property `portRanges`
8506
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::PortRange>]
8507
+ attr_accessor :port_ranges
8508
+
8509
+ # The IP protocol this rule applies to. This value can either be one of the
8510
+ # following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
8511
+ # a string representation of the integer value.
8512
+ # Corresponds to the JSON property `protocol`
8513
+ # @return [String]
8514
+ attr_accessor :protocol
8515
+
8516
+ def initialize(**args)
8517
+ update!(**args)
8518
+ end
8519
+
8520
+ # Update properties of this object
8521
+ def update!(**args)
8522
+ @port_ranges = args[:port_ranges] if args.key?(:port_ranges)
8523
+ @protocol = args[:protocol] if args.key?(:protocol)
8524
+ end
8525
+ end
8526
+
8527
+ # IP rules associated with the finding.
8528
+ class IpRules
8529
+ include Google::Apis::Core::Hashable
8530
+
8531
+ # Allowed IP rule.
8532
+ # Corresponds to the JSON property `allowed`
8533
+ # @return [Google::Apis::SecuritycenterV1beta2::Allowed]
8534
+ attr_accessor :allowed
8535
+
8536
+ # Denied IP rule.
8537
+ # Corresponds to the JSON property `denied`
8538
+ # @return [Google::Apis::SecuritycenterV1beta2::Denied]
8539
+ attr_accessor :denied
8540
+
8541
+ # If destination IP ranges are specified, the firewall rule applies only to
8542
+ # traffic that has a destination IP address in these ranges. These ranges must
8543
+ # be expressed in CIDR format. Only supports IPv4.
8544
+ # Corresponds to the JSON property `destinationIpRanges`
8545
+ # @return [Array<String>]
8546
+ attr_accessor :destination_ip_ranges
8547
+
8548
+ # The direction that the rule is applicable to, one of ingress or egress.
8549
+ # Corresponds to the JSON property `direction`
8550
+ # @return [String]
8551
+ attr_accessor :direction
8552
+
8553
+ # Name of the network protocol service, such as FTP, that is exposed by the open
8554
+ # port. Follows the naming convention available at: https://www.iana.org/
8555
+ # assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
8556
+ # Corresponds to the JSON property `exposedServices`
8557
+ # @return [Array<String>]
8558
+ attr_accessor :exposed_services
8559
+
8560
+ # If source IP ranges are specified, the firewall rule applies only to traffic
8561
+ # that has a source IP address in these ranges. These ranges must be expressed
8562
+ # in CIDR format. Only supports IPv4.
8563
+ # Corresponds to the JSON property `sourceIpRanges`
8564
+ # @return [Array<String>]
8565
+ attr_accessor :source_ip_ranges
8566
+
8567
+ def initialize(**args)
8568
+ update!(**args)
8569
+ end
8570
+
8571
+ # Update properties of this object
8572
+ def update!(**args)
8573
+ @allowed = args[:allowed] if args.key?(:allowed)
8574
+ @denied = args[:denied] if args.key?(:denied)
8575
+ @destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
8576
+ @direction = args[:direction] if args.key?(:direction)
8577
+ @exposed_services = args[:exposed_services] if args.key?(:exposed_services)
8578
+ @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
8579
+ end
8580
+ end
8581
+
8582
+ # Describes a job
8583
+ class Job
8584
+ include Google::Apis::Core::Hashable
8585
+
8586
+ # Optional. If the job did not complete successfully, this field describes why.
8587
+ # Corresponds to the JSON property `errorCode`
8588
+ # @return [Fixnum]
8589
+ attr_accessor :error_code
8590
+
8591
+ # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
8592
+ # Corresponds to the JSON property `location`
8593
+ # @return [String]
8594
+ attr_accessor :location
8595
+
8596
+ # The fully-qualified name for a job. e.g. `projects//jobs/`
8597
+ # Corresponds to the JSON property `name`
8598
+ # @return [String]
8599
+ attr_accessor :name
8600
+
8601
+ # Output only. State of the job, such as `RUNNING` or `PENDING`.
8602
+ # Corresponds to the JSON property `state`
8603
+ # @return [String]
8604
+ attr_accessor :state
8605
+
8606
+ def initialize(**args)
8607
+ update!(**args)
8608
+ end
8609
+
8610
+ # Update properties of this object
8611
+ def update!(**args)
8612
+ @error_code = args[:error_code] if args.key?(:error_code)
8613
+ @location = args[:location] if args.key?(:location)
8614
+ @name = args[:name] if args.key?(:name)
8615
+ @state = args[:state] if args.key?(:state)
8616
+ end
8617
+ end
8618
+
8190
8619
  # Kernel mode rootkit signatures.
8191
8620
  class KernelRootkit
8192
8621
  include Google::Apis::Core::Hashable
@@ -8504,6 +8933,26 @@ module Google
8504
8933
  end
8505
8934
  end
8506
8935
 
8936
+ # Contains information about a VPC network associated with the finding.
8937
+ class Network
8938
+ include Google::Apis::Core::Hashable
8939
+
8940
+ # The name of the VPC network resource, for example, `//compute.googleapis.com/
8941
+ # projects/my-project/global/networks/my-network`.
8942
+ # Corresponds to the JSON property `name`
8943
+ # @return [String]
8944
+ attr_accessor :name
8945
+
8946
+ def initialize(**args)
8947
+ update!(**args)
8948
+ end
8949
+
8950
+ # Update properties of this object
8951
+ def update!(**args)
8952
+ @name = args[:name] if args.key?(:name)
8953
+ end
8954
+ end
8955
+
8507
8956
  # Kubernetes nodes associated with the finding.
8508
8957
  class Node
8509
8958
  include Google::Apis::Core::Hashable
@@ -8764,6 +9213,33 @@ module Google
8764
9213
  end
8765
9214
  end
8766
9215
 
9216
+ # A port range which is inclusive of the min and max values. Values are between
9217
+ # 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
9218
+ # If min and max are equal this indicates that it is a single port.
9219
+ class PortRange
9220
+ include Google::Apis::Core::Hashable
9221
+
9222
+ # Maximum port value.
9223
+ # Corresponds to the JSON property `max`
9224
+ # @return [Fixnum]
9225
+ attr_accessor :max
9226
+
9227
+ # Minimum port value.
9228
+ # Corresponds to the JSON property `min`
9229
+ # @return [Fixnum]
9230
+ attr_accessor :min
9231
+
9232
+ def initialize(**args)
9233
+ update!(**args)
9234
+ end
9235
+
9236
+ # Update properties of this object
9237
+ def update!(**args)
9238
+ @max = args[:max] if args.key?(:max)
9239
+ @min = args[:min] if args.key?(:min)
9240
+ end
9241
+ end
9242
+
8767
9243
  # Represents an operating system process.
8768
9244
  class Process
8769
9245
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.73.0"
19
+ GEM_VERSION = "0.75.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241206"
25
+ REVISION = "20250218"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class Allowed
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Application
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class Denied
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class Details
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -472,6 +484,12 @@ module Google
472
484
  include Google::Apis::Core::JsonObjectSupport
473
485
  end
474
486
 
487
+ class GoogleCloudSecuritycenterV2Allowed
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
475
493
  class GoogleCloudSecuritycenterV2Application
476
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
477
495
 
@@ -658,6 +676,12 @@ module Google
658
676
  include Google::Apis::Core::JsonObjectSupport
659
677
  end
660
678
 
679
+ class GoogleCloudSecuritycenterV2Denied
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
661
685
  class GoogleCloudSecuritycenterV2Detection
662
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
687
 
@@ -748,6 +772,18 @@ module Google
748
772
  include Google::Apis::Core::JsonObjectSupport
749
773
  end
750
774
 
775
+ class GoogleCloudSecuritycenterV2IpRule
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
781
+ class GoogleCloudSecuritycenterV2IpRules
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
751
787
  class GoogleCloudSecuritycenterV2Issue
752
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
789
 
@@ -838,6 +874,12 @@ module Google
838
874
  include Google::Apis::Core::JsonObjectSupport
839
875
  end
840
876
 
877
+ class GoogleCloudSecuritycenterV2Job
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
841
883
  class GoogleCloudSecuritycenterV2KernelRootkit
842
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
885
 
@@ -892,6 +934,12 @@ module Google
892
934
  include Google::Apis::Core::JsonObjectSupport
893
935
  end
894
936
 
937
+ class GoogleCloudSecuritycenterV2Network
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
895
943
  class GoogleCloudSecuritycenterV2Node
896
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
897
945
 
@@ -946,6 +994,12 @@ module Google
946
994
  include Google::Apis::Core::JsonObjectSupport
947
995
  end
948
996
 
997
+ class GoogleCloudSecuritycenterV2PortRange
998
+ class Representation < Google::Apis::Core::JsonRepresentation; end
999
+
1000
+ include Google::Apis::Core::JsonObjectSupport
1001
+ end
1002
+
949
1003
  class GoogleCloudSecuritycenterV2Process
950
1004
  class Representation < Google::Apis::Core::JsonRepresentation; end
951
1005
 
@@ -1090,6 +1144,24 @@ module Google
1090
1144
  include Google::Apis::Core::JsonObjectSupport
1091
1145
  end
1092
1146
 
1147
+ class IpRule
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1153
+ class IpRules
1154
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1155
+
1156
+ include Google::Apis::Core::JsonObjectSupport
1157
+ end
1158
+
1159
+ class Job
1160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1161
+
1162
+ include Google::Apis::Core::JsonObjectSupport
1163
+ end
1164
+
1093
1165
  class KernelRootkit
1094
1166
  class Representation < Google::Apis::Core::JsonRepresentation; end
1095
1167
 
@@ -1138,6 +1210,12 @@ module Google
1138
1210
  include Google::Apis::Core::JsonObjectSupport
1139
1211
  end
1140
1212
 
1213
+ class Network
1214
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1215
+
1216
+ include Google::Apis::Core::JsonObjectSupport
1217
+ end
1218
+
1141
1219
  class Node
1142
1220
  class Representation < Google::Apis::Core::JsonRepresentation; end
1143
1221
 
@@ -1186,6 +1264,12 @@ module Google
1186
1264
  include Google::Apis::Core::JsonObjectSupport
1187
1265
  end
1188
1266
 
1267
+ class PortRange
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1189
1273
  class Process
1190
1274
  class Representation < Google::Apis::Core::JsonRepresentation; end
1191
1275
 
@@ -1381,6 +1465,14 @@ module Google
1381
1465
  end
1382
1466
  end
1383
1467
 
1468
+ class Allowed
1469
+ # @private
1470
+ class Representation < Google::Apis::Core::JsonRepresentation
1471
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::IpRule, decorator: Google::Apis::SecuritycenterV1beta2::IpRule::Representation
1472
+
1473
+ end
1474
+ end
1475
+
1384
1476
  class Application
1385
1477
  # @private
1386
1478
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1394,7 +1486,9 @@ module Google
1394
1486
  class Representation < Google::Apis::Core::JsonRepresentation
1395
1487
  property :classification, as: 'classification'
1396
1488
  property :volume_bps, as: 'volumeBps'
1489
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
1397
1490
  property :volume_pps, as: 'volumePps'
1491
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
1398
1492
  end
1399
1493
  end
1400
1494
 
@@ -1709,6 +1803,14 @@ module Google
1709
1803
  end
1710
1804
  end
1711
1805
 
1806
+ class Denied
1807
+ # @private
1808
+ class Representation < Google::Apis::Core::JsonRepresentation
1809
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::IpRule, decorator: Google::Apis::SecuritycenterV1beta2::IpRule::Representation
1810
+
1811
+ end
1812
+ end
1813
+
1712
1814
  class Details
1713
1815
  # @private
1714
1816
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1865,6 +1967,10 @@ module Google
1865
1967
 
1866
1968
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation
1867
1969
 
1970
+ property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::IpRules, decorator: Google::Apis::SecuritycenterV1beta2::IpRules::Representation
1971
+
1972
+ property :job, as: 'job', class: Google::Apis::SecuritycenterV1beta2::Job, decorator: Google::Apis::SecuritycenterV1beta2::Job::Representation
1973
+
1868
1974
  property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta2::KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta2::KernelRootkit::Representation
1869
1975
 
1870
1976
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::Kubernetes::Representation
@@ -1882,6 +1988,8 @@ module Google
1882
1988
  property :mute_initiator, as: 'muteInitiator'
1883
1989
  property :mute_update_time, as: 'muteUpdateTime'
1884
1990
  property :name, as: 'name'
1991
+ collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1beta2::Network, decorator: Google::Apis::SecuritycenterV1beta2::Network::Representation
1992
+
1885
1993
  property :next_steps, as: 'nextSteps'
1886
1994
  property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::Notebook, decorator: Google::Apis::SecuritycenterV1beta2::Notebook::Representation
1887
1995
 
@@ -2251,6 +2359,14 @@ module Google
2251
2359
  end
2252
2360
  end
2253
2361
 
2362
+ class GoogleCloudSecuritycenterV2Allowed
2363
+ # @private
2364
+ class Representation < Google::Apis::Core::JsonRepresentation
2365
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule::Representation
2366
+
2367
+ end
2368
+ end
2369
+
2254
2370
  class GoogleCloudSecuritycenterV2Application
2255
2371
  # @private
2256
2372
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2264,7 +2380,9 @@ module Google
2264
2380
  class Representation < Google::Apis::Core::JsonRepresentation
2265
2381
  property :classification, as: 'classification'
2266
2382
  property :volume_bps, as: 'volumeBps'
2383
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
2267
2384
  property :volume_pps, as: 'volumePps'
2385
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
2268
2386
  end
2269
2387
  end
2270
2388
 
@@ -2577,6 +2695,14 @@ module Google
2577
2695
  end
2578
2696
  end
2579
2697
 
2698
+ class GoogleCloudSecuritycenterV2Denied
2699
+ # @private
2700
+ class Representation < Google::Apis::Core::JsonRepresentation
2701
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRule::Representation
2702
+
2703
+ end
2704
+ end
2705
+
2580
2706
  class GoogleCloudSecuritycenterV2Detection
2581
2707
  # @private
2582
2708
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2721,6 +2847,10 @@ module Google
2721
2847
 
2722
2848
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator::Representation
2723
2849
 
2850
+ property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRules, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IpRules::Representation
2851
+
2852
+ property :job, as: 'job', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Job, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Job::Representation
2853
+
2724
2854
  property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit::Representation
2725
2855
 
2726
2856
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Kubernetes::Representation
@@ -2738,6 +2868,8 @@ module Google
2738
2868
  property :mute_initiator, as: 'muteInitiator'
2739
2869
  property :mute_update_time, as: 'muteUpdateTime'
2740
2870
  property :name, as: 'name'
2871
+ collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Network, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Network::Representation
2872
+
2741
2873
  property :next_steps, as: 'nextSteps'
2742
2874
  property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook::Representation
2743
2875
 
@@ -2805,6 +2937,29 @@ module Google
2805
2937
  end
2806
2938
  end
2807
2939
 
2940
+ class GoogleCloudSecuritycenterV2IpRule
2941
+ # @private
2942
+ class Representation < Google::Apis::Core::JsonRepresentation
2943
+ collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2PortRange, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2PortRange::Representation
2944
+
2945
+ property :protocol, as: 'protocol'
2946
+ end
2947
+ end
2948
+
2949
+ class GoogleCloudSecuritycenterV2IpRules
2950
+ # @private
2951
+ class Representation < Google::Apis::Core::JsonRepresentation
2952
+ property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Allowed, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Allowed::Representation
2953
+
2954
+ property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Denied, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Denied::Representation
2955
+
2956
+ collection :destination_ip_ranges, as: 'destinationIpRanges'
2957
+ property :direction, as: 'direction'
2958
+ collection :exposed_services, as: 'exposedServices'
2959
+ collection :source_ip_ranges, as: 'sourceIpRanges'
2960
+ end
2961
+ end
2962
+
2808
2963
  class GoogleCloudSecuritycenterV2Issue
2809
2964
  # @private
2810
2965
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2957,6 +3112,16 @@ module Google
2957
3112
  end
2958
3113
  end
2959
3114
 
3115
+ class GoogleCloudSecuritycenterV2Job
3116
+ # @private
3117
+ class Representation < Google::Apis::Core::JsonRepresentation
3118
+ property :error_code, as: 'errorCode'
3119
+ property :location, as: 'location'
3120
+ property :name, as: 'name'
3121
+ property :state, as: 'state'
3122
+ end
3123
+ end
3124
+
2960
3125
  class GoogleCloudSecuritycenterV2KernelRootkit
2961
3126
  # @private
2962
3127
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3059,6 +3224,13 @@ module Google
3059
3224
  end
3060
3225
  end
3061
3226
 
3227
+ class GoogleCloudSecuritycenterV2Network
3228
+ # @private
3229
+ class Representation < Google::Apis::Core::JsonRepresentation
3230
+ property :name, as: 'name'
3231
+ end
3232
+ end
3233
+
3062
3234
  class GoogleCloudSecuritycenterV2Node
3063
3235
  # @private
3064
3236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3146,6 +3318,14 @@ module Google
3146
3318
  end
3147
3319
  end
3148
3320
 
3321
+ class GoogleCloudSecuritycenterV2PortRange
3322
+ # @private
3323
+ class Representation < Google::Apis::Core::JsonRepresentation
3324
+ property :max, :numeric_string => true, as: 'max'
3325
+ property :min, :numeric_string => true, as: 'min'
3326
+ end
3327
+ end
3328
+
3149
3329
  class GoogleCloudSecuritycenterV2Process
3150
3330
  # @private
3151
3331
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3404,6 +3584,39 @@ module Google
3404
3584
  end
3405
3585
  end
3406
3586
 
3587
+ class IpRule
3588
+ # @private
3589
+ class Representation < Google::Apis::Core::JsonRepresentation
3590
+ collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1beta2::PortRange, decorator: Google::Apis::SecuritycenterV1beta2::PortRange::Representation
3591
+
3592
+ property :protocol, as: 'protocol'
3593
+ end
3594
+ end
3595
+
3596
+ class IpRules
3597
+ # @private
3598
+ class Representation < Google::Apis::Core::JsonRepresentation
3599
+ property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1beta2::Allowed, decorator: Google::Apis::SecuritycenterV1beta2::Allowed::Representation
3600
+
3601
+ property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1beta2::Denied, decorator: Google::Apis::SecuritycenterV1beta2::Denied::Representation
3602
+
3603
+ collection :destination_ip_ranges, as: 'destinationIpRanges'
3604
+ property :direction, as: 'direction'
3605
+ collection :exposed_services, as: 'exposedServices'
3606
+ collection :source_ip_ranges, as: 'sourceIpRanges'
3607
+ end
3608
+ end
3609
+
3610
+ class Job
3611
+ # @private
3612
+ class Representation < Google::Apis::Core::JsonRepresentation
3613
+ property :error_code, as: 'errorCode'
3614
+ property :location, as: 'location'
3615
+ property :name, as: 'name'
3616
+ property :state, as: 'state'
3617
+ end
3618
+ end
3619
+
3407
3620
  class KernelRootkit
3408
3621
  # @private
3409
3622
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3492,6 +3705,13 @@ module Google
3492
3705
  end
3493
3706
  end
3494
3707
 
3708
+ class Network
3709
+ # @private
3710
+ class Representation < Google::Apis::Core::JsonRepresentation
3711
+ property :name, as: 'name'
3712
+ end
3713
+ end
3714
+
3495
3715
  class Node
3496
3716
  # @private
3497
3717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3568,6 +3788,14 @@ module Google
3568
3788
  end
3569
3789
  end
3570
3790
 
3791
+ class PortRange
3792
+ # @private
3793
+ class Representation < Google::Apis::Core::JsonRepresentation
3794
+ property :max, :numeric_string => true, as: 'max'
3795
+ property :min, :numeric_string => true, as: 'min'
3796
+ end
3797
+ end
3798
+
3571
3799
  class Process
3572
3800
  # @private
3573
3801
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.73.0
4
+ version: 0.75.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.73.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.75.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Security Command Center API V1beta2
82
79
  test_files: []