google-apis-securitycenter_v1 0.91.0 → 0.93.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: 5b3ad046cc61c360f2c2715c97068d80a3e0adf5b12aab6ab9138dcf2f3d8d1f
4
- data.tar.gz: b12ca2ee1b79d20169761fd04bbd0053f4cc95cbd3096212739b4efa60f37c41
3
+ metadata.gz: 29ea2a9f8707a8898a121a01151cb2ea2408d06304d00976618dc78f930177e7
4
+ data.tar.gz: '08e5dd663d09776416e1d447e8f176bd861f0d131f390379701118e64fd6ab60'
5
5
  SHA512:
6
- metadata.gz: 03da2e5592bbdb9c6d6a71736cec723e859d656c3d2b28668fc634ce4b176b4de3dd7fbbf806fe1814e90b9961ddfdc13ea8d282fedabe4204ca3d336ddd2413
7
- data.tar.gz: 3df56cc78235a8b0cc5ad211984bd8d11a4835d347579712ce096326b76cdc21ed7a8b42c9f682eebe7d5c611e4f8ed8f5cea090aba4f6f3ad603f92c22024a4
6
+ metadata.gz: cb52a3de3b14652290ab3916ca78fb4cb8edda5d03470fef9e815c0e7eaf471a0a91b63e037fae28fce09159b930afba1178609c14fa734054c76f63cc75c0c8
7
+ data.tar.gz: fc91f57189426e9af5970584073f39abd2eebff90e4e4e4241a5e2823ec09d3eef796b558dd3476882c3676a92380b8cb4423e7aba03c40762ad498bbcf54c0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.93.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250218
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.92.0 (2025-01-08)
9
+
10
+ * Regenerated from discovery document revision 20250103
11
+
3
12
  ### v0.91.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::SecuritycenterV1::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
@@ -356,16 +375,28 @@ module Google
356
375
  # @return [String]
357
376
  attr_accessor :classification
358
377
 
359
- # Total BPS (bytes per second) volume of attack.
378
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
379
+ # volume_bps_long instead.
360
380
  # Corresponds to the JSON property `volumeBps`
361
381
  # @return [Fixnum]
362
382
  attr_accessor :volume_bps
363
383
 
364
- # Total PPS (packets per second) volume of attack.
384
+ # Total BPS (bytes per second) volume of attack.
385
+ # Corresponds to the JSON property `volumeBpsLong`
386
+ # @return [Fixnum]
387
+ attr_accessor :volume_bps_long
388
+
389
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
390
+ # volume_pps_long instead.
365
391
  # Corresponds to the JSON property `volumePps`
366
392
  # @return [Fixnum]
367
393
  attr_accessor :volume_pps
368
394
 
395
+ # Total PPS (packets per second) volume of attack.
396
+ # Corresponds to the JSON property `volumePpsLong`
397
+ # @return [Fixnum]
398
+ attr_accessor :volume_pps_long
399
+
369
400
  def initialize(**args)
370
401
  update!(**args)
371
402
  end
@@ -374,7 +405,9 @@ module Google
374
405
  def update!(**args)
375
406
  @classification = args[:classification] if args.key?(:classification)
376
407
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
408
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
377
409
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
410
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
378
411
  end
379
412
  end
380
413
 
@@ -2029,6 +2062,25 @@ module Google
2029
2062
  end
2030
2063
  end
2031
2064
 
2065
+ # Denied IP rule.
2066
+ class Denied
2067
+ include Google::Apis::Core::Hashable
2068
+
2069
+ # Optional. Optional list of denied IP rules.
2070
+ # Corresponds to the JSON property `ipRules`
2071
+ # @return [Array<Google::Apis::SecuritycenterV1::IpRule>]
2072
+ attr_accessor :ip_rules
2073
+
2074
+ def initialize(**args)
2075
+ update!(**args)
2076
+ end
2077
+
2078
+ # Update properties of this object
2079
+ def update!(**args)
2080
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
2081
+ end
2082
+ end
2083
+
2032
2084
  # Memory hash detection contributing to the binary family match.
2033
2085
  class Detection
2034
2086
  include Google::Apis::Core::Hashable
@@ -2693,6 +2745,16 @@ module Google
2693
2745
  # @return [Google::Apis::SecuritycenterV1::Indicator]
2694
2746
  attr_accessor :indicator
2695
2747
 
2748
+ # IP rules associated with the finding.
2749
+ # Corresponds to the JSON property `ipRules`
2750
+ # @return [Google::Apis::SecuritycenterV1::IpRules]
2751
+ attr_accessor :ip_rules
2752
+
2753
+ # Describes a job
2754
+ # Corresponds to the JSON property `job`
2755
+ # @return [Google::Apis::SecuritycenterV1::Job]
2756
+ attr_accessor :job
2757
+
2696
2758
  # Kernel mode rootkit signatures.
2697
2759
  # Corresponds to the JSON property `kernelRootkit`
2698
2760
  # @return [Google::Apis::SecuritycenterV1::KernelRootkit]
@@ -2759,6 +2821,11 @@ module Google
2759
2821
  # @return [String]
2760
2822
  attr_accessor :name
2761
2823
 
2824
+ # Represents the VPC networks that the resource is attached to.
2825
+ # Corresponds to the JSON property `networks`
2826
+ # @return [Array<Google::Apis::SecuritycenterV1::Network>]
2827
+ attr_accessor :networks
2828
+
2762
2829
  # Steps to address the finding.
2763
2830
  # Corresponds to the JSON property `nextSteps`
2764
2831
  # @return [String]
@@ -2886,6 +2953,8 @@ module Google
2886
2953
  @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
2887
2954
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
2888
2955
  @indicator = args[:indicator] if args.key?(:indicator)
2956
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
2957
+ @job = args[:job] if args.key?(:job)
2889
2958
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
2890
2959
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
2891
2960
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
@@ -2897,6 +2966,7 @@ module Google
2897
2966
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
2898
2967
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
2899
2968
  @name = args[:name] if args.key?(:name)
2969
+ @networks = args[:networks] if args.key?(:networks)
2900
2970
  @next_steps = args[:next_steps] if args.key?(:next_steps)
2901
2971
  @notebook = args[:notebook] if args.key?(:notebook)
2902
2972
  @org_policies = args[:org_policies] if args.key?(:org_policies)
@@ -4482,6 +4552,25 @@ module Google
4482
4552
  end
4483
4553
  end
4484
4554
 
4555
+ # Allowed IP rule.
4556
+ class GoogleCloudSecuritycenterV2Allowed
4557
+ include Google::Apis::Core::Hashable
4558
+
4559
+ # Optional. Optional list of allowed IP rules.
4560
+ # Corresponds to the JSON property `ipRules`
4561
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule>]
4562
+ attr_accessor :ip_rules
4563
+
4564
+ def initialize(**args)
4565
+ update!(**args)
4566
+ end
4567
+
4568
+ # Update properties of this object
4569
+ def update!(**args)
4570
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
4571
+ end
4572
+ end
4573
+
4485
4574
  # Represents an application associated with a finding.
4486
4575
  class GoogleCloudSecuritycenterV2Application
4487
4576
  include Google::Apis::Core::Hashable
@@ -4518,16 +4607,28 @@ module Google
4518
4607
  # @return [String]
4519
4608
  attr_accessor :classification
4520
4609
 
4521
- # Total BPS (bytes per second) volume of attack.
4610
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
4611
+ # volume_bps_long instead.
4522
4612
  # Corresponds to the JSON property `volumeBps`
4523
4613
  # @return [Fixnum]
4524
4614
  attr_accessor :volume_bps
4525
4615
 
4526
- # Total PPS (packets per second) volume of attack.
4616
+ # Total BPS (bytes per second) volume of attack.
4617
+ # Corresponds to the JSON property `volumeBpsLong`
4618
+ # @return [Fixnum]
4619
+ attr_accessor :volume_bps_long
4620
+
4621
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
4622
+ # volume_pps_long instead.
4527
4623
  # Corresponds to the JSON property `volumePps`
4528
4624
  # @return [Fixnum]
4529
4625
  attr_accessor :volume_pps
4530
4626
 
4627
+ # Total PPS (packets per second) volume of attack.
4628
+ # Corresponds to the JSON property `volumePpsLong`
4629
+ # @return [Fixnum]
4630
+ attr_accessor :volume_pps_long
4631
+
4531
4632
  def initialize(**args)
4532
4633
  update!(**args)
4533
4634
  end
@@ -4536,7 +4637,9 @@ module Google
4536
4637
  def update!(**args)
4537
4638
  @classification = args[:classification] if args.key?(:classification)
4538
4639
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
4640
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
4539
4641
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
4642
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
4540
4643
  end
4541
4644
  end
4542
4645
 
@@ -5773,6 +5876,25 @@ module Google
5773
5876
  end
5774
5877
  end
5775
5878
 
5879
+ # Denied IP rule.
5880
+ class GoogleCloudSecuritycenterV2Denied
5881
+ include Google::Apis::Core::Hashable
5882
+
5883
+ # Optional. Optional list of denied IP rules.
5884
+ # Corresponds to the JSON property `ipRules`
5885
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule>]
5886
+ attr_accessor :ip_rules
5887
+
5888
+ def initialize(**args)
5889
+ update!(**args)
5890
+ end
5891
+
5892
+ # Update properties of this object
5893
+ def update!(**args)
5894
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
5895
+ end
5896
+ end
5897
+
5776
5898
  # Memory hash detection contributing to the binary family match.
5777
5899
  class GoogleCloudSecuritycenterV2Detection
5778
5900
  include Google::Apis::Core::Hashable
@@ -6308,6 +6430,16 @@ module Google
6308
6430
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator]
6309
6431
  attr_accessor :indicator
6310
6432
 
6433
+ # IP rules associated with the finding.
6434
+ # Corresponds to the JSON property `ipRules`
6435
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules]
6436
+ attr_accessor :ip_rules
6437
+
6438
+ # Describes a job
6439
+ # Corresponds to the JSON property `job`
6440
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job]
6441
+ attr_accessor :job
6442
+
6311
6443
  # Kernel mode rootkit signatures.
6312
6444
  # Corresponds to the JSON property `kernelRootkit`
6313
6445
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit]
@@ -6378,6 +6510,11 @@ module Google
6378
6510
  # @return [String]
6379
6511
  attr_accessor :name
6380
6512
 
6513
+ # Represents the VPC networks that the resource is attached to.
6514
+ # Corresponds to the JSON property `networks`
6515
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network>]
6516
+ attr_accessor :networks
6517
+
6381
6518
  # Steps to address the finding.
6382
6519
  # Corresponds to the JSON property `nextSteps`
6383
6520
  # @return [String]
@@ -6510,6 +6647,8 @@ module Google
6510
6647
  @group_memberships = args[:group_memberships] if args.key?(:group_memberships)
6511
6648
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
6512
6649
  @indicator = args[:indicator] if args.key?(:indicator)
6650
+ @ip_rules = args[:ip_rules] if args.key?(:ip_rules)
6651
+ @job = args[:job] if args.key?(:job)
6513
6652
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
6514
6653
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
6515
6654
  @load_balancers = args[:load_balancers] if args.key?(:load_balancers)
@@ -6521,6 +6660,7 @@ module Google
6521
6660
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
6522
6661
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
6523
6662
  @name = args[:name] if args.key?(:name)
6663
+ @networks = args[:networks] if args.key?(:networks)
6524
6664
  @next_steps = args[:next_steps] if args.key?(:next_steps)
6525
6665
  @notebook = args[:notebook] if args.key?(:notebook)
6526
6666
  @org_policies = args[:org_policies] if args.key?(:org_policies)
@@ -6685,6 +6825,90 @@ module Google
6685
6825
  end
6686
6826
  end
6687
6827
 
6828
+ # IP rule information.
6829
+ class GoogleCloudSecuritycenterV2IpRule
6830
+ include Google::Apis::Core::Hashable
6831
+
6832
+ # Optional. An optional list of ports to which this rule applies. This field is
6833
+ # only applicable for the UDP or (S)TCP protocols. Each entry must be either an
6834
+ # integer or a range including a min and max port number.
6835
+ # Corresponds to the JSON property `portRanges`
6836
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange>]
6837
+ attr_accessor :port_ranges
6838
+
6839
+ # The IP protocol this rule applies to. This value can either be one of the
6840
+ # following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
6841
+ # a string representation of the integer value.
6842
+ # Corresponds to the JSON property `protocol`
6843
+ # @return [String]
6844
+ attr_accessor :protocol
6845
+
6846
+ def initialize(**args)
6847
+ update!(**args)
6848
+ end
6849
+
6850
+ # Update properties of this object
6851
+ def update!(**args)
6852
+ @port_ranges = args[:port_ranges] if args.key?(:port_ranges)
6853
+ @protocol = args[:protocol] if args.key?(:protocol)
6854
+ end
6855
+ end
6856
+
6857
+ # IP rules associated with the finding.
6858
+ class GoogleCloudSecuritycenterV2IpRules
6859
+ include Google::Apis::Core::Hashable
6860
+
6861
+ # Allowed IP rule.
6862
+ # Corresponds to the JSON property `allowed`
6863
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed]
6864
+ attr_accessor :allowed
6865
+
6866
+ # Denied IP rule.
6867
+ # Corresponds to the JSON property `denied`
6868
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied]
6869
+ attr_accessor :denied
6870
+
6871
+ # If destination IP ranges are specified, the firewall rule applies only to
6872
+ # traffic that has a destination IP address in these ranges. These ranges must
6873
+ # be expressed in CIDR format. Only supports IPv4.
6874
+ # Corresponds to the JSON property `destinationIpRanges`
6875
+ # @return [Array<String>]
6876
+ attr_accessor :destination_ip_ranges
6877
+
6878
+ # The direction that the rule is applicable to, one of ingress or egress.
6879
+ # Corresponds to the JSON property `direction`
6880
+ # @return [String]
6881
+ attr_accessor :direction
6882
+
6883
+ # Name of the network protocol service, such as FTP, that is exposed by the open
6884
+ # port. Follows the naming convention available at: https://www.iana.org/
6885
+ # assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
6886
+ # Corresponds to the JSON property `exposedServices`
6887
+ # @return [Array<String>]
6888
+ attr_accessor :exposed_services
6889
+
6890
+ # If source IP ranges are specified, the firewall rule applies only to traffic
6891
+ # that has a source IP address in these ranges. These ranges must be expressed
6892
+ # in CIDR format. Only supports IPv4.
6893
+ # Corresponds to the JSON property `sourceIpRanges`
6894
+ # @return [Array<String>]
6895
+ attr_accessor :source_ip_ranges
6896
+
6897
+ def initialize(**args)
6898
+ update!(**args)
6899
+ end
6900
+
6901
+ # Update properties of this object
6902
+ def update!(**args)
6903
+ @allowed = args[:allowed] if args.key?(:allowed)
6904
+ @denied = args[:denied] if args.key?(:denied)
6905
+ @destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
6906
+ @direction = args[:direction] if args.key?(:direction)
6907
+ @exposed_services = args[:exposed_services] if args.key?(:exposed_services)
6908
+ @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
6909
+ end
6910
+ end
6911
+
6688
6912
  # Security Command Center Issue.
6689
6913
  class GoogleCloudSecuritycenterV2Issue
6690
6914
  include Google::Apis::Core::Hashable
@@ -7164,6 +7388,43 @@ module Google
7164
7388
  end
7165
7389
  end
7166
7390
 
7391
+ # Describes a job
7392
+ class GoogleCloudSecuritycenterV2Job
7393
+ include Google::Apis::Core::Hashable
7394
+
7395
+ # Optional. If the job did not complete successfully, this field describes why.
7396
+ # Corresponds to the JSON property `errorCode`
7397
+ # @return [Fixnum]
7398
+ attr_accessor :error_code
7399
+
7400
+ # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
7401
+ # Corresponds to the JSON property `location`
7402
+ # @return [String]
7403
+ attr_accessor :location
7404
+
7405
+ # The fully-qualified name for a job. e.g. `projects//jobs/`
7406
+ # Corresponds to the JSON property `name`
7407
+ # @return [String]
7408
+ attr_accessor :name
7409
+
7410
+ # Output only. State of the job, such as `RUNNING` or `PENDING`.
7411
+ # Corresponds to the JSON property `state`
7412
+ # @return [String]
7413
+ attr_accessor :state
7414
+
7415
+ def initialize(**args)
7416
+ update!(**args)
7417
+ end
7418
+
7419
+ # Update properties of this object
7420
+ def update!(**args)
7421
+ @error_code = args[:error_code] if args.key?(:error_code)
7422
+ @location = args[:location] if args.key?(:location)
7423
+ @name = args[:name] if args.key?(:name)
7424
+ @state = args[:state] if args.key?(:state)
7425
+ end
7426
+ end
7427
+
7167
7428
  # Kernel mode rootkit signatures.
7168
7429
  class GoogleCloudSecuritycenterV2KernelRootkit
7169
7430
  include Google::Apis::Core::Hashable
@@ -7565,6 +7826,26 @@ module Google
7565
7826
  end
7566
7827
  end
7567
7828
 
7829
+ # Contains information about a VPC network associated with the finding.
7830
+ class GoogleCloudSecuritycenterV2Network
7831
+ include Google::Apis::Core::Hashable
7832
+
7833
+ # The name of the VPC network resource, for example, `//compute.googleapis.com/
7834
+ # projects/my-project/global/networks/my-network`.
7835
+ # Corresponds to the JSON property `name`
7836
+ # @return [String]
7837
+ attr_accessor :name
7838
+
7839
+ def initialize(**args)
7840
+ update!(**args)
7841
+ end
7842
+
7843
+ # Update properties of this object
7844
+ def update!(**args)
7845
+ @name = args[:name] if args.key?(:name)
7846
+ end
7847
+ end
7848
+
7568
7849
  # Kubernetes nodes associated with the finding.
7569
7850
  class GoogleCloudSecuritycenterV2Node
7570
7851
  include Google::Apis::Core::Hashable
@@ -7735,8 +8016,8 @@ module Google
7735
8016
  class GoogleCloudSecuritycenterV2OrgPolicy
7736
8017
  include Google::Apis::Core::Hashable
7737
8018
 
7738
- # The resource name of the org policy. Example: "organizations/`organization_id`/
7739
- # policies/`constraint_name`"
8019
+ # Identifier. The resource name of the org policy. Example: "organizations/`
8020
+ # organization_id`/policies/`constraint_name`"
7740
8021
  # Corresponds to the JSON property `name`
7741
8022
  # @return [String]
7742
8023
  attr_accessor :name
@@ -7860,6 +8141,33 @@ module Google
7860
8141
  end
7861
8142
  end
7862
8143
 
8144
+ # A port range which is inclusive of the min and max values. Values are between
8145
+ # 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
8146
+ # If min and max are equal this indicates that it is a single port.
8147
+ class GoogleCloudSecuritycenterV2PortRange
8148
+ include Google::Apis::Core::Hashable
8149
+
8150
+ # Maximum port value.
8151
+ # Corresponds to the JSON property `max`
8152
+ # @return [Fixnum]
8153
+ attr_accessor :max
8154
+
8155
+ # Minimum port value.
8156
+ # Corresponds to the JSON property `min`
8157
+ # @return [Fixnum]
8158
+ attr_accessor :min
8159
+
8160
+ def initialize(**args)
8161
+ update!(**args)
8162
+ end
8163
+
8164
+ # Update properties of this object
8165
+ def update!(**args)
8166
+ @max = args[:max] if args.key?(:max)
8167
+ @min = args[:min] if args.key?(:min)
8168
+ end
8169
+ end
8170
+
7863
8171
  # Represents an operating system process.
7864
8172
  class GoogleCloudSecuritycenterV2Process
7865
8173
  include Google::Apis::Core::Hashable
@@ -9190,6 +9498,127 @@ module Google
9190
9498
  end
9191
9499
  end
9192
9500
 
9501
+ # IP rule information.
9502
+ class IpRule
9503
+ include Google::Apis::Core::Hashable
9504
+
9505
+ # Optional. An optional list of ports to which this rule applies. This field is
9506
+ # only applicable for the UDP or (S)TCP protocols. Each entry must be either an
9507
+ # integer or a range including a min and max port number.
9508
+ # Corresponds to the JSON property `portRanges`
9509
+ # @return [Array<Google::Apis::SecuritycenterV1::PortRange>]
9510
+ attr_accessor :port_ranges
9511
+
9512
+ # The IP protocol this rule applies to. This value can either be one of the
9513
+ # following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
9514
+ # a string representation of the integer value.
9515
+ # Corresponds to the JSON property `protocol`
9516
+ # @return [String]
9517
+ attr_accessor :protocol
9518
+
9519
+ def initialize(**args)
9520
+ update!(**args)
9521
+ end
9522
+
9523
+ # Update properties of this object
9524
+ def update!(**args)
9525
+ @port_ranges = args[:port_ranges] if args.key?(:port_ranges)
9526
+ @protocol = args[:protocol] if args.key?(:protocol)
9527
+ end
9528
+ end
9529
+
9530
+ # IP rules associated with the finding.
9531
+ class IpRules
9532
+ include Google::Apis::Core::Hashable
9533
+
9534
+ # Allowed IP rule.
9535
+ # Corresponds to the JSON property `allowed`
9536
+ # @return [Google::Apis::SecuritycenterV1::Allowed]
9537
+ attr_accessor :allowed
9538
+
9539
+ # Denied IP rule.
9540
+ # Corresponds to the JSON property `denied`
9541
+ # @return [Google::Apis::SecuritycenterV1::Denied]
9542
+ attr_accessor :denied
9543
+
9544
+ # If destination IP ranges are specified, the firewall rule applies only to
9545
+ # traffic that has a destination IP address in these ranges. These ranges must
9546
+ # be expressed in CIDR format. Only supports IPv4.
9547
+ # Corresponds to the JSON property `destinationIpRanges`
9548
+ # @return [Array<String>]
9549
+ attr_accessor :destination_ip_ranges
9550
+
9551
+ # The direction that the rule is applicable to, one of ingress or egress.
9552
+ # Corresponds to the JSON property `direction`
9553
+ # @return [String]
9554
+ attr_accessor :direction
9555
+
9556
+ # Name of the network protocol service, such as FTP, that is exposed by the open
9557
+ # port. Follows the naming convention available at: https://www.iana.org/
9558
+ # assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
9559
+ # Corresponds to the JSON property `exposedServices`
9560
+ # @return [Array<String>]
9561
+ attr_accessor :exposed_services
9562
+
9563
+ # If source IP ranges are specified, the firewall rule applies only to traffic
9564
+ # that has a source IP address in these ranges. These ranges must be expressed
9565
+ # in CIDR format. Only supports IPv4.
9566
+ # Corresponds to the JSON property `sourceIpRanges`
9567
+ # @return [Array<String>]
9568
+ attr_accessor :source_ip_ranges
9569
+
9570
+ def initialize(**args)
9571
+ update!(**args)
9572
+ end
9573
+
9574
+ # Update properties of this object
9575
+ def update!(**args)
9576
+ @allowed = args[:allowed] if args.key?(:allowed)
9577
+ @denied = args[:denied] if args.key?(:denied)
9578
+ @destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
9579
+ @direction = args[:direction] if args.key?(:direction)
9580
+ @exposed_services = args[:exposed_services] if args.key?(:exposed_services)
9581
+ @source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
9582
+ end
9583
+ end
9584
+
9585
+ # Describes a job
9586
+ class Job
9587
+ include Google::Apis::Core::Hashable
9588
+
9589
+ # Optional. If the job did not complete successfully, this field describes why.
9590
+ # Corresponds to the JSON property `errorCode`
9591
+ # @return [Fixnum]
9592
+ attr_accessor :error_code
9593
+
9594
+ # Optional. Gives the location where the job ran, such as `US` or `europe-west1`
9595
+ # Corresponds to the JSON property `location`
9596
+ # @return [String]
9597
+ attr_accessor :location
9598
+
9599
+ # The fully-qualified name for a job. e.g. `projects//jobs/`
9600
+ # Corresponds to the JSON property `name`
9601
+ # @return [String]
9602
+ attr_accessor :name
9603
+
9604
+ # Output only. State of the job, such as `RUNNING` or `PENDING`.
9605
+ # Corresponds to the JSON property `state`
9606
+ # @return [String]
9607
+ attr_accessor :state
9608
+
9609
+ def initialize(**args)
9610
+ update!(**args)
9611
+ end
9612
+
9613
+ # Update properties of this object
9614
+ def update!(**args)
9615
+ @error_code = args[:error_code] if args.key?(:error_code)
9616
+ @location = args[:location] if args.key?(:location)
9617
+ @name = args[:name] if args.key?(:name)
9618
+ @state = args[:state] if args.key?(:state)
9619
+ end
9620
+ end
9621
+
9193
9622
  # Kernel mode rootkit signatures.
9194
9623
  class KernelRootkit
9195
9624
  include Google::Apis::Core::Hashable
@@ -10019,6 +10448,26 @@ module Google
10019
10448
  end
10020
10449
  end
10021
10450
 
10451
+ # Contains information about a VPC network associated with the finding.
10452
+ class Network
10453
+ include Google::Apis::Core::Hashable
10454
+
10455
+ # The name of the VPC network resource, for example, `//compute.googleapis.com/
10456
+ # projects/my-project/global/networks/my-network`.
10457
+ # Corresponds to the JSON property `name`
10458
+ # @return [String]
10459
+ attr_accessor :name
10460
+
10461
+ def initialize(**args)
10462
+ update!(**args)
10463
+ end
10464
+
10465
+ # Update properties of this object
10466
+ def update!(**args)
10467
+ @name = args[:name] if args.key?(:name)
10468
+ end
10469
+ end
10470
+
10022
10471
  # Kubernetes nodes associated with the finding.
10023
10472
  class Node
10024
10473
  include Google::Apis::Core::Hashable
@@ -10557,6 +11006,33 @@ module Google
10557
11006
  end
10558
11007
  end
10559
11008
 
11009
+ # A port range which is inclusive of the min and max values. Values are between
11010
+ # 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
11011
+ # If min and max are equal this indicates that it is a single port.
11012
+ class PortRange
11013
+ include Google::Apis::Core::Hashable
11014
+
11015
+ # Maximum port value.
11016
+ # Corresponds to the JSON property `max`
11017
+ # @return [Fixnum]
11018
+ attr_accessor :max
11019
+
11020
+ # Minimum port value.
11021
+ # Corresponds to the JSON property `min`
11022
+ # @return [Fixnum]
11023
+ attr_accessor :min
11024
+
11025
+ def initialize(**args)
11026
+ update!(**args)
11027
+ end
11028
+
11029
+ # Update properties of this object
11030
+ def update!(**args)
11031
+ @max = args[:max] if args.key?(:max)
11032
+ @min = args[:min] if args.key?(:min)
11033
+ end
11034
+ end
11035
+
10560
11036
  # A position in the uploaded text version of a module.
10561
11037
  class Position
10562
11038
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.93.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
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class Denied
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class Detection
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -568,6 +580,12 @@ module Google
568
580
  include Google::Apis::Core::JsonObjectSupport
569
581
  end
570
582
 
583
+ class GoogleCloudSecuritycenterV2Allowed
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
571
589
  class GoogleCloudSecuritycenterV2Application
572
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
591
 
@@ -754,6 +772,12 @@ module Google
754
772
  include Google::Apis::Core::JsonObjectSupport
755
773
  end
756
774
 
775
+ class GoogleCloudSecuritycenterV2Denied
776
+ class Representation < Google::Apis::Core::JsonRepresentation; end
777
+
778
+ include Google::Apis::Core::JsonObjectSupport
779
+ end
780
+
757
781
  class GoogleCloudSecuritycenterV2Detection
758
782
  class Representation < Google::Apis::Core::JsonRepresentation; end
759
783
 
@@ -844,6 +868,18 @@ module Google
844
868
  include Google::Apis::Core::JsonObjectSupport
845
869
  end
846
870
 
871
+ class GoogleCloudSecuritycenterV2IpRule
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class GoogleCloudSecuritycenterV2IpRules
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
847
883
  class GoogleCloudSecuritycenterV2Issue
848
884
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
885
 
@@ -934,6 +970,12 @@ module Google
934
970
  include Google::Apis::Core::JsonObjectSupport
935
971
  end
936
972
 
973
+ class GoogleCloudSecuritycenterV2Job
974
+ class Representation < Google::Apis::Core::JsonRepresentation; end
975
+
976
+ include Google::Apis::Core::JsonObjectSupport
977
+ end
978
+
937
979
  class GoogleCloudSecuritycenterV2KernelRootkit
938
980
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
981
 
@@ -988,6 +1030,12 @@ module Google
988
1030
  include Google::Apis::Core::JsonObjectSupport
989
1031
  end
990
1032
 
1033
+ class GoogleCloudSecuritycenterV2Network
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
991
1039
  class GoogleCloudSecuritycenterV2Node
992
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
993
1041
 
@@ -1042,6 +1090,12 @@ module Google
1042
1090
  include Google::Apis::Core::JsonObjectSupport
1043
1091
  end
1044
1092
 
1093
+ class GoogleCloudSecuritycenterV2PortRange
1094
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1095
+
1096
+ include Google::Apis::Core::JsonObjectSupport
1097
+ end
1098
+
1045
1099
  class GoogleCloudSecuritycenterV2Process
1046
1100
  class Representation < Google::Apis::Core::JsonRepresentation; end
1047
1101
 
@@ -1222,6 +1276,24 @@ module Google
1222
1276
  include Google::Apis::Core::JsonObjectSupport
1223
1277
  end
1224
1278
 
1279
+ class IpRule
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1285
+ class IpRules
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1291
+ class Job
1292
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1293
+
1294
+ include Google::Apis::Core::JsonObjectSupport
1295
+ end
1296
+
1225
1297
  class KernelRootkit
1226
1298
  class Representation < Google::Apis::Core::JsonRepresentation; end
1227
1299
 
@@ -1378,6 +1450,12 @@ module Google
1378
1450
  include Google::Apis::Core::JsonObjectSupport
1379
1451
  end
1380
1452
 
1453
+ class Network
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1381
1459
  class Node
1382
1460
  class Representation < Google::Apis::Core::JsonRepresentation; end
1383
1461
 
@@ -1456,6 +1534,12 @@ module Google
1456
1534
  include Google::Apis::Core::JsonObjectSupport
1457
1535
  end
1458
1536
 
1537
+ class PortRange
1538
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1539
+
1540
+ include Google::Apis::Core::JsonObjectSupport
1541
+ end
1542
+
1459
1543
  class Position
1460
1544
  class Representation < Google::Apis::Core::JsonRepresentation; end
1461
1545
 
@@ -1741,6 +1825,14 @@ module Google
1741
1825
  end
1742
1826
  end
1743
1827
 
1828
+ class Allowed
1829
+ # @private
1830
+ class Representation < Google::Apis::Core::JsonRepresentation
1831
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRule, decorator: Google::Apis::SecuritycenterV1::IpRule::Representation
1832
+
1833
+ end
1834
+ end
1835
+
1744
1836
  class Application
1745
1837
  # @private
1746
1838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1780,7 +1872,9 @@ module Google
1780
1872
  class Representation < Google::Apis::Core::JsonRepresentation
1781
1873
  property :classification, as: 'classification'
1782
1874
  property :volume_bps, as: 'volumeBps'
1875
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
1783
1876
  property :volume_pps, as: 'volumePps'
1877
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
1784
1878
  end
1785
1879
  end
1786
1880
 
@@ -2200,6 +2294,14 @@ module Google
2200
2294
  end
2201
2295
  end
2202
2296
 
2297
+ class Denied
2298
+ # @private
2299
+ class Representation < Google::Apis::Core::JsonRepresentation
2300
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRule, decorator: Google::Apis::SecuritycenterV1::IpRule::Representation
2301
+
2302
+ end
2303
+ end
2304
+
2203
2305
  class Detection
2204
2306
  # @private
2205
2307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2371,6 +2473,10 @@ module Google
2371
2473
 
2372
2474
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
2373
2475
 
2476
+ property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRules, decorator: Google::Apis::SecuritycenterV1::IpRules::Representation
2477
+
2478
+ property :job, as: 'job', class: Google::Apis::SecuritycenterV1::Job, decorator: Google::Apis::SecuritycenterV1::Job::Representation
2479
+
2374
2480
  property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1::KernelRootkit::Representation
2375
2481
 
2376
2482
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
@@ -2388,6 +2494,8 @@ module Google
2388
2494
  property :mute_initiator, as: 'muteInitiator'
2389
2495
  property :mute_update_time, as: 'muteUpdateTime'
2390
2496
  property :name, as: 'name'
2497
+ collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1::Network, decorator: Google::Apis::SecuritycenterV1::Network::Representation
2498
+
2391
2499
  property :next_steps, as: 'nextSteps'
2392
2500
  property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1::Notebook, decorator: Google::Apis::SecuritycenterV1::Notebook::Representation
2393
2501
 
@@ -2772,6 +2880,14 @@ module Google
2772
2880
  end
2773
2881
  end
2774
2882
 
2883
+ class GoogleCloudSecuritycenterV2Allowed
2884
+ # @private
2885
+ class Representation < Google::Apis::Core::JsonRepresentation
2886
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule::Representation
2887
+
2888
+ end
2889
+ end
2890
+
2775
2891
  class GoogleCloudSecuritycenterV2Application
2776
2892
  # @private
2777
2893
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2785,7 +2901,9 @@ module Google
2785
2901
  class Representation < Google::Apis::Core::JsonRepresentation
2786
2902
  property :classification, as: 'classification'
2787
2903
  property :volume_bps, as: 'volumeBps'
2904
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
2788
2905
  property :volume_pps, as: 'volumePps'
2906
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
2789
2907
  end
2790
2908
  end
2791
2909
 
@@ -3098,6 +3216,14 @@ module Google
3098
3216
  end
3099
3217
  end
3100
3218
 
3219
+ class GoogleCloudSecuritycenterV2Denied
3220
+ # @private
3221
+ class Representation < Google::Apis::Core::JsonRepresentation
3222
+ collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule::Representation
3223
+
3224
+ end
3225
+ end
3226
+
3101
3227
  class GoogleCloudSecuritycenterV2Detection
3102
3228
  # @private
3103
3229
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3242,6 +3368,10 @@ module Google
3242
3368
 
3243
3369
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator::Representation
3244
3370
 
3371
+ property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules::Representation
3372
+
3373
+ property :job, as: 'job', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job::Representation
3374
+
3245
3375
  property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit::Representation
3246
3376
 
3247
3377
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Kubernetes, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Kubernetes::Representation
@@ -3259,6 +3389,8 @@ module Google
3259
3389
  property :mute_initiator, as: 'muteInitiator'
3260
3390
  property :mute_update_time, as: 'muteUpdateTime'
3261
3391
  property :name, as: 'name'
3392
+ collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network::Representation
3393
+
3262
3394
  property :next_steps, as: 'nextSteps'
3263
3395
  property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Notebook::Representation
3264
3396
 
@@ -3326,6 +3458,29 @@ module Google
3326
3458
  end
3327
3459
  end
3328
3460
 
3461
+ class GoogleCloudSecuritycenterV2IpRule
3462
+ # @private
3463
+ class Representation < Google::Apis::Core::JsonRepresentation
3464
+ collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange::Representation
3465
+
3466
+ property :protocol, as: 'protocol'
3467
+ end
3468
+ end
3469
+
3470
+ class GoogleCloudSecuritycenterV2IpRules
3471
+ # @private
3472
+ class Representation < Google::Apis::Core::JsonRepresentation
3473
+ property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed::Representation
3474
+
3475
+ property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied::Representation
3476
+
3477
+ collection :destination_ip_ranges, as: 'destinationIpRanges'
3478
+ property :direction, as: 'direction'
3479
+ collection :exposed_services, as: 'exposedServices'
3480
+ collection :source_ip_ranges, as: 'sourceIpRanges'
3481
+ end
3482
+ end
3483
+
3329
3484
  class GoogleCloudSecuritycenterV2Issue
3330
3485
  # @private
3331
3486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3478,6 +3633,16 @@ module Google
3478
3633
  end
3479
3634
  end
3480
3635
 
3636
+ class GoogleCloudSecuritycenterV2Job
3637
+ # @private
3638
+ class Representation < Google::Apis::Core::JsonRepresentation
3639
+ property :error_code, as: 'errorCode'
3640
+ property :location, as: 'location'
3641
+ property :name, as: 'name'
3642
+ property :state, as: 'state'
3643
+ end
3644
+ end
3645
+
3481
3646
  class GoogleCloudSecuritycenterV2KernelRootkit
3482
3647
  # @private
3483
3648
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3580,6 +3745,13 @@ module Google
3580
3745
  end
3581
3746
  end
3582
3747
 
3748
+ class GoogleCloudSecuritycenterV2Network
3749
+ # @private
3750
+ class Representation < Google::Apis::Core::JsonRepresentation
3751
+ property :name, as: 'name'
3752
+ end
3753
+ end
3754
+
3583
3755
  class GoogleCloudSecuritycenterV2Node
3584
3756
  # @private
3585
3757
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3667,6 +3839,14 @@ module Google
3667
3839
  end
3668
3840
  end
3669
3841
 
3842
+ class GoogleCloudSecuritycenterV2PortRange
3843
+ # @private
3844
+ class Representation < Google::Apis::Core::JsonRepresentation
3845
+ property :max, :numeric_string => true, as: 'max'
3846
+ property :min, :numeric_string => true, as: 'min'
3847
+ end
3848
+ end
3849
+
3670
3850
  class GoogleCloudSecuritycenterV2Process
3671
3851
  # @private
3672
3852
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3986,6 +4166,39 @@ module Google
3986
4166
  end
3987
4167
  end
3988
4168
 
4169
+ class IpRule
4170
+ # @private
4171
+ class Representation < Google::Apis::Core::JsonRepresentation
4172
+ collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1::PortRange, decorator: Google::Apis::SecuritycenterV1::PortRange::Representation
4173
+
4174
+ property :protocol, as: 'protocol'
4175
+ end
4176
+ end
4177
+
4178
+ class IpRules
4179
+ # @private
4180
+ class Representation < Google::Apis::Core::JsonRepresentation
4181
+ property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1::Allowed, decorator: Google::Apis::SecuritycenterV1::Allowed::Representation
4182
+
4183
+ property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1::Denied, decorator: Google::Apis::SecuritycenterV1::Denied::Representation
4184
+
4185
+ collection :destination_ip_ranges, as: 'destinationIpRanges'
4186
+ property :direction, as: 'direction'
4187
+ collection :exposed_services, as: 'exposedServices'
4188
+ collection :source_ip_ranges, as: 'sourceIpRanges'
4189
+ end
4190
+ end
4191
+
4192
+ class Job
4193
+ # @private
4194
+ class Representation < Google::Apis::Core::JsonRepresentation
4195
+ property :error_code, as: 'errorCode'
4196
+ property :location, as: 'location'
4197
+ property :name, as: 'name'
4198
+ property :state, as: 'state'
4199
+ end
4200
+ end
4201
+
3989
4202
  class KernelRootkit
3990
4203
  # @private
3991
4204
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4243,6 +4456,13 @@ module Google
4243
4456
  end
4244
4457
  end
4245
4458
 
4459
+ class Network
4460
+ # @private
4461
+ class Representation < Google::Apis::Core::JsonRepresentation
4462
+ property :name, as: 'name'
4463
+ end
4464
+ end
4465
+
4246
4466
  class Node
4247
4467
  # @private
4248
4468
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4374,6 +4594,14 @@ module Google
4374
4594
  end
4375
4595
  end
4376
4596
 
4597
+ class PortRange
4598
+ # @private
4599
+ class Representation < Google::Apis::Core::JsonRepresentation
4600
+ property :max, :numeric_string => true, as: 'max'
4601
+ property :min, :numeric_string => true, as: 'min'
4602
+ end
4603
+ end
4604
+
4377
4605
  class Position
4378
4606
  # @private
4379
4607
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.93.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.93.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
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 V1
82
79
  test_files: []