google-apis-securitycenter_v1 0.90.0 → 0.92.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: dc15faf76f6f24a56b529a1e8ec3af981c5426c83d37973e860ccba4bdec5cbf
4
- data.tar.gz: 0a8e2077fafaa927a592e838298570a96d13c8f510d4bbae68f9d8690a5bed56
3
+ metadata.gz: 7065c3cd4bdd6116f3953bb413ec83abbad92378357bc5fcc04413ab2dd63fc3
4
+ data.tar.gz: 6f37d598b496746805a0f5de03f47b8a5d31348827938415f339859063417590
5
5
  SHA512:
6
- metadata.gz: a98e69098cada47631be8c6919754bfc6cf89c86f98bdaba14d20469c059011a2d1aaf911a6a109c5da3cf2f863c204622341d98973d8de0387a47ff322f4f98
7
- data.tar.gz: 93d9fab90de434d0cbe37e0c6ab66ee967a71b8c62e38864a58215b7c0d7d46636bd0d0a41a60002f68e73ad985fb67271ed6189bab241026d9750b8f9ad0c40
6
+ metadata.gz: 85060bed3c860cba2d74bdf9af76b7c1fafe8cfa4ce400b963603ba38b0a3478817eab0596b69d8cd7ca3ba55e9b0cbd0ffec72e8ebfd6af682a0cd48f9db68f
7
+ data.tar.gz: 0741a04e38dedc0c730af18dd5d81f62b283318f98e3179a160cfb30257971bbd5a99b106f57d5d0c6ff4a3dbe7914a03df6822f02ef9546062eac87bada2a39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.92.0 (2025-01-08)
4
+
5
+ * Regenerated from discovery document revision 20250103
6
+
7
+ ### v0.91.0 (2024-12-15)
8
+
9
+ * Regenerated from discovery document revision 20241206
10
+
3
11
  ### v0.90.0 (2024-11-17)
4
12
 
5
13
  * Regenerated from discovery document revision 20241111
@@ -356,16 +356,28 @@ module Google
356
356
  # @return [String]
357
357
  attr_accessor :classification
358
358
 
359
- # Total BPS (bytes per second) volume of attack.
359
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
360
+ # volume_bps_long instead.
360
361
  # Corresponds to the JSON property `volumeBps`
361
362
  # @return [Fixnum]
362
363
  attr_accessor :volume_bps
363
364
 
364
- # Total PPS (packets per second) volume of attack.
365
+ # Total BPS (bytes per second) volume of attack.
366
+ # Corresponds to the JSON property `volumeBpsLong`
367
+ # @return [Fixnum]
368
+ attr_accessor :volume_bps_long
369
+
370
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
371
+ # volume_pps_long instead.
365
372
  # Corresponds to the JSON property `volumePps`
366
373
  # @return [Fixnum]
367
374
  attr_accessor :volume_pps
368
375
 
376
+ # Total PPS (packets per second) volume of attack.
377
+ # Corresponds to the JSON property `volumePpsLong`
378
+ # @return [Fixnum]
379
+ attr_accessor :volume_pps_long
380
+
369
381
  def initialize(**args)
370
382
  update!(**args)
371
383
  end
@@ -374,7 +386,9 @@ module Google
374
386
  def update!(**args)
375
387
  @classification = args[:classification] if args.key?(:classification)
376
388
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
389
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
377
390
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
391
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
378
392
  end
379
393
  end
380
394
 
@@ -1913,6 +1927,59 @@ module Google
1913
1927
  end
1914
1928
  end
1915
1929
 
1930
+ # Details about data retention deletion violations, in which the data is non-
1931
+ # compliant based on their retention or deletion time, as defined in the
1932
+ # applicable data security policy. The Data Retention Deletion (DRD) control is
1933
+ # a control of the DSPM (Data Security Posture Management) suite that enables
1934
+ # organizations to manage data retention and deletion policies in compliance
1935
+ # with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
1936
+ # maximum storage length (max TTL) and minimum storage length (min TTL). Both
1937
+ # are aimed at helping organizations meet regulatory and data management
1938
+ # commitments.
1939
+ class DataRetentionDeletionEvent
1940
+ include Google::Apis::Core::Hashable
1941
+
1942
+ # Number of objects that violated the policy for this resource. If the number is
1943
+ # less than 1,000, then the value of this field is the exact number. If the
1944
+ # number of objects that violated the policy is greater than or equal to 1,000,
1945
+ # then the value of this field is 1000.
1946
+ # Corresponds to the JSON property `dataObjectCount`
1947
+ # @return [Fixnum]
1948
+ attr_accessor :data_object_count
1949
+
1950
+ # Timestamp indicating when the event was detected.
1951
+ # Corresponds to the JSON property `eventDetectionTime`
1952
+ # @return [String]
1953
+ attr_accessor :event_detection_time
1954
+
1955
+ # Type of the DRD event.
1956
+ # Corresponds to the JSON property `eventType`
1957
+ # @return [String]
1958
+ attr_accessor :event_type
1959
+
1960
+ # Maximum duration of retention allowed from the DRD control. This comes from
1961
+ # the DRD control where users set a max TTL for their data. For example, suppose
1962
+ # that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
1963
+ # object in that bucket is 100 days old. In this case, a
1964
+ # DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
1965
+ # and the max_retention_allowed is 90 days.
1966
+ # Corresponds to the JSON property `maxRetentionAllowed`
1967
+ # @return [String]
1968
+ attr_accessor :max_retention_allowed
1969
+
1970
+ def initialize(**args)
1971
+ update!(**args)
1972
+ end
1973
+
1974
+ # Update properties of this object
1975
+ def update!(**args)
1976
+ @data_object_count = args[:data_object_count] if args.key?(:data_object_count)
1977
+ @event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
1978
+ @event_type = args[:event_type] if args.key?(:event_type)
1979
+ @max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
1980
+ end
1981
+ end
1982
+
1916
1983
  # Represents database access information, such as queries. A database may be a
1917
1984
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
1918
1985
  # Spanner instances), or the database instance itself. Some database resources
@@ -2552,6 +2619,11 @@ module Google
2552
2619
  # @return [Array<Google::Apis::SecuritycenterV1::DataFlowEvent>]
2553
2620
  attr_accessor :data_flow_events
2554
2621
 
2622
+ # Data retention deletion events associated with the finding.
2623
+ # Corresponds to the JSON property `dataRetentionDeletionEvents`
2624
+ # @return [Array<Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent>]
2625
+ attr_accessor :data_retention_deletion_events
2626
+
2555
2627
  # Represents database access information, such as queries. A database may be a
2556
2628
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
2557
2629
  # Spanner instances), or the database instance itself. Some database resources
@@ -2815,6 +2887,7 @@ module Google
2815
2887
  @create_time = args[:create_time] if args.key?(:create_time)
2816
2888
  @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
2817
2889
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
2890
+ @data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
2818
2891
  @database = args[:database] if args.key?(:database)
2819
2892
  @description = args[:description] if args.key?(:description)
2820
2893
  @disk = args[:disk] if args.key?(:disk)
@@ -4459,16 +4532,28 @@ module Google
4459
4532
  # @return [String]
4460
4533
  attr_accessor :classification
4461
4534
 
4462
- # Total BPS (bytes per second) volume of attack.
4535
+ # Total BPS (bytes per second) volume of attack. Deprecated - refer to
4536
+ # volume_bps_long instead.
4463
4537
  # Corresponds to the JSON property `volumeBps`
4464
4538
  # @return [Fixnum]
4465
4539
  attr_accessor :volume_bps
4466
4540
 
4467
- # Total PPS (packets per second) volume of attack.
4541
+ # Total BPS (bytes per second) volume of attack.
4542
+ # Corresponds to the JSON property `volumeBpsLong`
4543
+ # @return [Fixnum]
4544
+ attr_accessor :volume_bps_long
4545
+
4546
+ # Total PPS (packets per second) volume of attack. Deprecated - refer to
4547
+ # volume_pps_long instead.
4468
4548
  # Corresponds to the JSON property `volumePps`
4469
4549
  # @return [Fixnum]
4470
4550
  attr_accessor :volume_pps
4471
4551
 
4552
+ # Total PPS (packets per second) volume of attack.
4553
+ # Corresponds to the JSON property `volumePpsLong`
4554
+ # @return [Fixnum]
4555
+ attr_accessor :volume_pps_long
4556
+
4472
4557
  def initialize(**args)
4473
4558
  update!(**args)
4474
4559
  end
@@ -4477,7 +4562,9 @@ module Google
4477
4562
  def update!(**args)
4478
4563
  @classification = args[:classification] if args.key?(:classification)
4479
4564
  @volume_bps = args[:volume_bps] if args.key?(:volume_bps)
4565
+ @volume_bps_long = args[:volume_bps_long] if args.key?(:volume_bps_long)
4480
4566
  @volume_pps = args[:volume_pps] if args.key?(:volume_pps)
4567
+ @volume_pps_long = args[:volume_pps_long] if args.key?(:volume_pps_long)
4481
4568
  end
4482
4569
  end
4483
4570
 
@@ -5598,6 +5685,59 @@ module Google
5598
5685
  end
5599
5686
  end
5600
5687
 
5688
+ # Details about data retention deletion violations, in which the data is non-
5689
+ # compliant based on their retention or deletion time, as defined in the
5690
+ # applicable data security policy. The Data Retention Deletion (DRD) control is
5691
+ # a control of the DSPM (Data Security Posture Management) suite that enables
5692
+ # organizations to manage data retention and deletion policies in compliance
5693
+ # with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
5694
+ # maximum storage length (max TTL) and minimum storage length (min TTL). Both
5695
+ # are aimed at helping organizations meet regulatory and data management
5696
+ # commitments.
5697
+ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
5698
+ include Google::Apis::Core::Hashable
5699
+
5700
+ # Number of objects that violated the policy for this resource. If the number is
5701
+ # less than 1,000, then the value of this field is the exact number. If the
5702
+ # number of objects that violated the policy is greater than or equal to 1,000,
5703
+ # then the value of this field is 1000.
5704
+ # Corresponds to the JSON property `dataObjectCount`
5705
+ # @return [Fixnum]
5706
+ attr_accessor :data_object_count
5707
+
5708
+ # Timestamp indicating when the event was detected.
5709
+ # Corresponds to the JSON property `eventDetectionTime`
5710
+ # @return [String]
5711
+ attr_accessor :event_detection_time
5712
+
5713
+ # Type of the DRD event.
5714
+ # Corresponds to the JSON property `eventType`
5715
+ # @return [String]
5716
+ attr_accessor :event_type
5717
+
5718
+ # Maximum duration of retention allowed from the DRD control. This comes from
5719
+ # the DRD control where users set a max TTL for their data. For example, suppose
5720
+ # that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
5721
+ # object in that bucket is 100 days old. In this case, a
5722
+ # DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
5723
+ # and the max_retention_allowed is 90 days.
5724
+ # Corresponds to the JSON property `maxRetentionAllowed`
5725
+ # @return [String]
5726
+ attr_accessor :max_retention_allowed
5727
+
5728
+ def initialize(**args)
5729
+ update!(**args)
5730
+ end
5731
+
5732
+ # Update properties of this object
5733
+ def update!(**args)
5734
+ @data_object_count = args[:data_object_count] if args.key?(:data_object_count)
5735
+ @event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
5736
+ @event_type = args[:event_type] if args.key?(:event_type)
5737
+ @max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
5738
+ end
5739
+ end
5740
+
5601
5741
  # Represents database access information, such as queries. A database may be a
5602
5742
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
5603
5743
  # Spanner instances), or the database instance itself. Some database resources
@@ -6108,6 +6248,11 @@ module Google
6108
6248
  # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent>]
6109
6249
  attr_accessor :data_flow_events
6110
6250
 
6251
+ # Data retention deletion events associated with the finding.
6252
+ # Corresponds to the JSON property `dataRetentionDeletionEvents`
6253
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent>]
6254
+ attr_accessor :data_retention_deletion_events
6255
+
6111
6256
  # Represents database access information, such as queries. A database may be a
6112
6257
  # sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
6113
6258
  # Spanner instances), or the database instance itself. Some database resources
@@ -6380,6 +6525,7 @@ module Google
6380
6525
  @create_time = args[:create_time] if args.key?(:create_time)
6381
6526
  @data_access_events = args[:data_access_events] if args.key?(:data_access_events)
6382
6527
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
6528
+ @data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
6383
6529
  @database = args[:database] if args.key?(:database)
6384
6530
  @description = args[:description] if args.key?(:description)
6385
6531
  @disk = args[:disk] if args.key?(:disk)
@@ -6567,6 +6713,485 @@ module Google
6567
6713
  end
6568
6714
  end
6569
6715
 
6716
+ # Security Command Center Issue.
6717
+ class GoogleCloudSecuritycenterV2Issue
6718
+ include Google::Apis::Core::Hashable
6719
+
6720
+ # Output only. The time the issue was created.
6721
+ # Corresponds to the JSON property `createTime`
6722
+ # @return [String]
6723
+ attr_accessor :create_time
6724
+
6725
+ # The description of the issue in Markdown format.
6726
+ # Corresponds to the JSON property `description`
6727
+ # @return [String]
6728
+ attr_accessor :description
6729
+
6730
+ # The finding category or rule name that generated the issue.
6731
+ # Corresponds to the JSON property `detection`
6732
+ # @return [String]
6733
+ attr_accessor :detection
6734
+
6735
+ # The domains of the issue.
6736
+ # Corresponds to the JSON property `domains`
6737
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain>]
6738
+ attr_accessor :domains
6739
+
6740
+ # The exposure score of the issue.
6741
+ # Corresponds to the JSON property `exposureScore`
6742
+ # @return [Float]
6743
+ attr_accessor :exposure_score
6744
+
6745
+ # The type of the issue.
6746
+ # Corresponds to the JSON property `issueType`
6747
+ # @return [String]
6748
+ attr_accessor :issue_type
6749
+
6750
+ # The time the issue was last observed.
6751
+ # Corresponds to the JSON property `lastObservationTime`
6752
+ # @return [String]
6753
+ attr_accessor :last_observation_time
6754
+
6755
+ # The mute information of the issue.
6756
+ # Corresponds to the JSON property `mute`
6757
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute]
6758
+ attr_accessor :mute
6759
+
6760
+ # Identifier. The name of the issue. Format: organizations/`organization`/
6761
+ # locations/`location`/issues/`issue`
6762
+ # Corresponds to the JSON property `name`
6763
+ # @return [String]
6764
+ attr_accessor :name
6765
+
6766
+ # A resource associated with the an issue.
6767
+ # Corresponds to the JSON property `primaryResource`
6768
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource]
6769
+ attr_accessor :primary_resource
6770
+
6771
+ # The findings related to the issue.
6772
+ # Corresponds to the JSON property `relatedFindings`
6773
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding>]
6774
+ attr_accessor :related_findings
6775
+
6776
+ # Approaches to remediate the issue in Markdown format.
6777
+ # Corresponds to the JSON property `remediations`
6778
+ # @return [Array<String>]
6779
+ attr_accessor :remediations
6780
+
6781
+ # Additional resources associated with the issue.
6782
+ # Corresponds to the JSON property `secondaryResources`
6783
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource>]
6784
+ attr_accessor :secondary_resources
6785
+
6786
+ # The security context of the issue.
6787
+ # Corresponds to the JSON property `securityContexts`
6788
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext>]
6789
+ attr_accessor :security_contexts
6790
+
6791
+ # The severity of the issue.
6792
+ # Corresponds to the JSON property `severity`
6793
+ # @return [String]
6794
+ attr_accessor :severity
6795
+
6796
+ # Output only. The state of the issue.
6797
+ # Corresponds to the JSON property `state`
6798
+ # @return [String]
6799
+ attr_accessor :state
6800
+
6801
+ # Output only. The time the issue was last updated.
6802
+ # Corresponds to the JSON property `updateTime`
6803
+ # @return [String]
6804
+ attr_accessor :update_time
6805
+
6806
+ def initialize(**args)
6807
+ update!(**args)
6808
+ end
6809
+
6810
+ # Update properties of this object
6811
+ def update!(**args)
6812
+ @create_time = args[:create_time] if args.key?(:create_time)
6813
+ @description = args[:description] if args.key?(:description)
6814
+ @detection = args[:detection] if args.key?(:detection)
6815
+ @domains = args[:domains] if args.key?(:domains)
6816
+ @exposure_score = args[:exposure_score] if args.key?(:exposure_score)
6817
+ @issue_type = args[:issue_type] if args.key?(:issue_type)
6818
+ @last_observation_time = args[:last_observation_time] if args.key?(:last_observation_time)
6819
+ @mute = args[:mute] if args.key?(:mute)
6820
+ @name = args[:name] if args.key?(:name)
6821
+ @primary_resource = args[:primary_resource] if args.key?(:primary_resource)
6822
+ @related_findings = args[:related_findings] if args.key?(:related_findings)
6823
+ @remediations = args[:remediations] if args.key?(:remediations)
6824
+ @secondary_resources = args[:secondary_resources] if args.key?(:secondary_resources)
6825
+ @security_contexts = args[:security_contexts] if args.key?(:security_contexts)
6826
+ @severity = args[:severity] if args.key?(:severity)
6827
+ @state = args[:state] if args.key?(:state)
6828
+ @update_time = args[:update_time] if args.key?(:update_time)
6829
+ end
6830
+ end
6831
+
6832
+ # The domains of an issue.
6833
+ class GoogleCloudSecuritycenterV2IssueDomain
6834
+ include Google::Apis::Core::Hashable
6835
+
6836
+ # The domain category of the issue.
6837
+ # Corresponds to the JSON property `domainCategory`
6838
+ # @return [String]
6839
+ attr_accessor :domain_category
6840
+
6841
+ def initialize(**args)
6842
+ update!(**args)
6843
+ end
6844
+
6845
+ # Update properties of this object
6846
+ def update!(**args)
6847
+ @domain_category = args[:domain_category] if args.key?(:domain_category)
6848
+ end
6849
+ end
6850
+
6851
+ # Finding related to an issue.
6852
+ class GoogleCloudSecuritycenterV2IssueFinding
6853
+ include Google::Apis::Core::Hashable
6854
+
6855
+ # The CVE of the finding.
6856
+ # Corresponds to the JSON property `cve`
6857
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve]
6858
+ attr_accessor :cve
6859
+
6860
+ # The name of the finding.
6861
+ # Corresponds to the JSON property `name`
6862
+ # @return [String]
6863
+ attr_accessor :name
6864
+
6865
+ # The security bulletin of the finding.
6866
+ # Corresponds to the JSON property `securityBulletin`
6867
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin]
6868
+ attr_accessor :security_bulletin
6869
+
6870
+ def initialize(**args)
6871
+ update!(**args)
6872
+ end
6873
+
6874
+ # Update properties of this object
6875
+ def update!(**args)
6876
+ @cve = args[:cve] if args.key?(:cve)
6877
+ @name = args[:name] if args.key?(:name)
6878
+ @security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
6879
+ end
6880
+ end
6881
+
6882
+ # The CVE of the finding.
6883
+ class GoogleCloudSecuritycenterV2IssueFindingCve
6884
+ include Google::Apis::Core::Hashable
6885
+
6886
+ # The CVE name.
6887
+ # Corresponds to the JSON property `name`
6888
+ # @return [String]
6889
+ attr_accessor :name
6890
+
6891
+ def initialize(**args)
6892
+ update!(**args)
6893
+ end
6894
+
6895
+ # Update properties of this object
6896
+ def update!(**args)
6897
+ @name = args[:name] if args.key?(:name)
6898
+ end
6899
+ end
6900
+
6901
+ # The security bulletin of the finding.
6902
+ class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
6903
+ include Google::Apis::Core::Hashable
6904
+
6905
+ # The security bulletin name.
6906
+ # Corresponds to the JSON property `name`
6907
+ # @return [String]
6908
+ attr_accessor :name
6909
+
6910
+ def initialize(**args)
6911
+ update!(**args)
6912
+ end
6913
+
6914
+ # Update properties of this object
6915
+ def update!(**args)
6916
+ @name = args[:name] if args.key?(:name)
6917
+ end
6918
+ end
6919
+
6920
+ # The mute information of the issue.
6921
+ class GoogleCloudSecuritycenterV2IssueMute
6922
+ include Google::Apis::Core::Hashable
6923
+
6924
+ # The email address of the user who last changed the mute state of the issue.
6925
+ # Corresponds to the JSON property `muteInitiator`
6926
+ # @return [String]
6927
+ attr_accessor :mute_initiator
6928
+
6929
+ # The user-provided reason for muting the issue.
6930
+ # Corresponds to the JSON property `muteReason`
6931
+ # @return [String]
6932
+ attr_accessor :mute_reason
6933
+
6934
+ # Output only. The mute state of the issue.
6935
+ # Corresponds to the JSON property `muteState`
6936
+ # @return [String]
6937
+ attr_accessor :mute_state
6938
+
6939
+ # The time the issue was muted.
6940
+ # Corresponds to the JSON property `muteUpdateTime`
6941
+ # @return [String]
6942
+ attr_accessor :mute_update_time
6943
+
6944
+ def initialize(**args)
6945
+ update!(**args)
6946
+ end
6947
+
6948
+ # Update properties of this object
6949
+ def update!(**args)
6950
+ @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
6951
+ @mute_reason = args[:mute_reason] if args.key?(:mute_reason)
6952
+ @mute_state = args[:mute_state] if args.key?(:mute_state)
6953
+ @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
6954
+ end
6955
+ end
6956
+
6957
+ # A resource associated with the an issue.
6958
+ class GoogleCloudSecuritycenterV2IssueResource
6959
+ include Google::Apis::Core::Hashable
6960
+
6961
+ # The AWS metadata of a resource associated with an issue.
6962
+ # Corresponds to the JSON property `awsMetadata`
6963
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata]
6964
+ attr_accessor :aws_metadata
6965
+
6966
+ # The Azure metadata of a resource associated with an issue.
6967
+ # Corresponds to the JSON property `azureMetadata`
6968
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata]
6969
+ attr_accessor :azure_metadata
6970
+
6971
+ # The cloud provider of the resource associated with the issue.
6972
+ # Corresponds to the JSON property `cloudProvider`
6973
+ # @return [String]
6974
+ attr_accessor :cloud_provider
6975
+
6976
+ # The resource-type specific display name of the resource associated with the
6977
+ # issue.
6978
+ # Corresponds to the JSON property `displayName`
6979
+ # @return [String]
6980
+ attr_accessor :display_name
6981
+
6982
+ # Google Cloud metadata of a resource associated with an issue.
6983
+ # Corresponds to the JSON property `googleCloudMetadata`
6984
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata]
6985
+ attr_accessor :google_cloud_metadata
6986
+
6987
+ # The full resource name of the resource associated with the issue.
6988
+ # Corresponds to the JSON property `name`
6989
+ # @return [String]
6990
+ attr_accessor :name
6991
+
6992
+ # The type of the resource associated with the issue.
6993
+ # Corresponds to the JSON property `type`
6994
+ # @return [String]
6995
+ attr_accessor :type
6996
+
6997
+ def initialize(**args)
6998
+ update!(**args)
6999
+ end
7000
+
7001
+ # Update properties of this object
7002
+ def update!(**args)
7003
+ @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
7004
+ @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
7005
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
7006
+ @display_name = args[:display_name] if args.key?(:display_name)
7007
+ @google_cloud_metadata = args[:google_cloud_metadata] if args.key?(:google_cloud_metadata)
7008
+ @name = args[:name] if args.key?(:name)
7009
+ @type = args[:type] if args.key?(:type)
7010
+ end
7011
+ end
7012
+
7013
+ # The AWS metadata of a resource associated with an issue.
7014
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
7015
+ include Google::Apis::Core::Hashable
7016
+
7017
+ # The AWS account of the resource associated with the issue.
7018
+ # Corresponds to the JSON property `account`
7019
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount]
7020
+ attr_accessor :account
7021
+
7022
+ def initialize(**args)
7023
+ update!(**args)
7024
+ end
7025
+
7026
+ # Update properties of this object
7027
+ def update!(**args)
7028
+ @account = args[:account] if args.key?(:account)
7029
+ end
7030
+ end
7031
+
7032
+ # The AWS account of the resource associated with the issue.
7033
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
7034
+ include Google::Apis::Core::Hashable
7035
+
7036
+ # The AWS account ID of the resource associated with the issue.
7037
+ # Corresponds to the JSON property `id`
7038
+ # @return [String]
7039
+ attr_accessor :id
7040
+
7041
+ # The AWS account name of the resource associated with the issue.
7042
+ # Corresponds to the JSON property `name`
7043
+ # @return [String]
7044
+ attr_accessor :name
7045
+
7046
+ def initialize(**args)
7047
+ update!(**args)
7048
+ end
7049
+
7050
+ # Update properties of this object
7051
+ def update!(**args)
7052
+ @id = args[:id] if args.key?(:id)
7053
+ @name = args[:name] if args.key?(:name)
7054
+ end
7055
+ end
7056
+
7057
+ # The Azure metadata of a resource associated with an issue.
7058
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
7059
+ include Google::Apis::Core::Hashable
7060
+
7061
+ # The Azure subscription of the resource associated with the issue.
7062
+ # Corresponds to the JSON property `subscription`
7063
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription]
7064
+ attr_accessor :subscription
7065
+
7066
+ def initialize(**args)
7067
+ update!(**args)
7068
+ end
7069
+
7070
+ # Update properties of this object
7071
+ def update!(**args)
7072
+ @subscription = args[:subscription] if args.key?(:subscription)
7073
+ end
7074
+ end
7075
+
7076
+ # The Azure subscription of the resource associated with the issue.
7077
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
7078
+ include Google::Apis::Core::Hashable
7079
+
7080
+ # The Azure subscription display name of the resource associated with the issue.
7081
+ # Corresponds to the JSON property `displayName`
7082
+ # @return [String]
7083
+ attr_accessor :display_name
7084
+
7085
+ # The Azure subscription ID of the resource associated with the issue.
7086
+ # Corresponds to the JSON property `id`
7087
+ # @return [String]
7088
+ attr_accessor :id
7089
+
7090
+ def initialize(**args)
7091
+ update!(**args)
7092
+ end
7093
+
7094
+ # Update properties of this object
7095
+ def update!(**args)
7096
+ @display_name = args[:display_name] if args.key?(:display_name)
7097
+ @id = args[:id] if args.key?(:id)
7098
+ end
7099
+ end
7100
+
7101
+ # Google Cloud metadata of a resource associated with an issue.
7102
+ class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
7103
+ include Google::Apis::Core::Hashable
7104
+
7105
+ # The project ID that the resource associated with the issue belongs to.
7106
+ # Corresponds to the JSON property `projectId`
7107
+ # @return [String]
7108
+ attr_accessor :project_id
7109
+
7110
+ def initialize(**args)
7111
+ update!(**args)
7112
+ end
7113
+
7114
+ # Update properties of this object
7115
+ def update!(**args)
7116
+ @project_id = args[:project_id] if args.key?(:project_id)
7117
+ end
7118
+ end
7119
+
7120
+ # Security context associated with an issue.
7121
+ class GoogleCloudSecuritycenterV2IssueSecurityContext
7122
+ include Google::Apis::Core::Hashable
7123
+
7124
+ # Aggregated count of a security context.
7125
+ # Corresponds to the JSON property `aggregatedCount`
7126
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount]
7127
+ attr_accessor :aggregated_count
7128
+
7129
+ # Context of a security context.
7130
+ # Corresponds to the JSON property `context`
7131
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext]
7132
+ attr_accessor :context
7133
+
7134
+ def initialize(**args)
7135
+ update!(**args)
7136
+ end
7137
+
7138
+ # Update properties of this object
7139
+ def update!(**args)
7140
+ @aggregated_count = args[:aggregated_count] if args.key?(:aggregated_count)
7141
+ @context = args[:context] if args.key?(:context)
7142
+ end
7143
+ end
7144
+
7145
+ # Aggregated count of a security context.
7146
+ class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
7147
+ include Google::Apis::Core::Hashable
7148
+
7149
+ # Aggregation key.
7150
+ # Corresponds to the JSON property `key`
7151
+ # @return [String]
7152
+ attr_accessor :key
7153
+
7154
+ # Aggregation value.
7155
+ # Corresponds to the JSON property `value`
7156
+ # @return [Fixnum]
7157
+ attr_accessor :value
7158
+
7159
+ def initialize(**args)
7160
+ update!(**args)
7161
+ end
7162
+
7163
+ # Update properties of this object
7164
+ def update!(**args)
7165
+ @key = args[:key] if args.key?(:key)
7166
+ @value = args[:value] if args.key?(:value)
7167
+ end
7168
+ end
7169
+
7170
+ # Context of a security context.
7171
+ class GoogleCloudSecuritycenterV2IssueSecurityContextContext
7172
+ include Google::Apis::Core::Hashable
7173
+
7174
+ # Context type.
7175
+ # Corresponds to the JSON property `type`
7176
+ # @return [String]
7177
+ attr_accessor :type
7178
+
7179
+ # Context values.
7180
+ # Corresponds to the JSON property `values`
7181
+ # @return [Array<String>]
7182
+ attr_accessor :values
7183
+
7184
+ def initialize(**args)
7185
+ update!(**args)
7186
+ end
7187
+
7188
+ # Update properties of this object
7189
+ def update!(**args)
7190
+ @type = args[:type] if args.key?(:type)
7191
+ @values = args[:values] if args.key?(:values)
7192
+ end
7193
+ end
7194
+
6570
7195
  # Kernel mode rootkit signatures.
6571
7196
  class GoogleCloudSecuritycenterV2KernelRootkit
6572
7197
  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.90.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241111"
25
+ REVISION = "20250103"
26
26
  end
27
27
  end
28
28
  end
@@ -292,6 +292,12 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class DataRetentionDeletionEvent
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
295
301
  class Database
296
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
303
 
@@ -736,6 +742,12 @@ module Google
736
742
  include Google::Apis::Core::JsonObjectSupport
737
743
  end
738
744
 
745
+ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
739
751
  class GoogleCloudSecuritycenterV2Database
740
752
  class Representation < Google::Apis::Core::JsonRepresentation; end
741
753
 
@@ -832,6 +844,96 @@ module Google
832
844
  include Google::Apis::Core::JsonObjectSupport
833
845
  end
834
846
 
847
+ class GoogleCloudSecuritycenterV2Issue
848
+ class Representation < Google::Apis::Core::JsonRepresentation; end
849
+
850
+ include Google::Apis::Core::JsonObjectSupport
851
+ end
852
+
853
+ class GoogleCloudSecuritycenterV2IssueDomain
854
+ class Representation < Google::Apis::Core::JsonRepresentation; end
855
+
856
+ include Google::Apis::Core::JsonObjectSupport
857
+ end
858
+
859
+ class GoogleCloudSecuritycenterV2IssueFinding
860
+ class Representation < Google::Apis::Core::JsonRepresentation; end
861
+
862
+ include Google::Apis::Core::JsonObjectSupport
863
+ end
864
+
865
+ class GoogleCloudSecuritycenterV2IssueFindingCve
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
871
+ class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class GoogleCloudSecuritycenterV2IssueMute
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
883
+ class GoogleCloudSecuritycenterV2IssueResource
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
913
+ class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
919
+ class GoogleCloudSecuritycenterV2IssueSecurityContext
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
925
+ class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
926
+ class Representation < Google::Apis::Core::JsonRepresentation; end
927
+
928
+ include Google::Apis::Core::JsonObjectSupport
929
+ end
930
+
931
+ class GoogleCloudSecuritycenterV2IssueSecurityContextContext
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
835
937
  class GoogleCloudSecuritycenterV2KernelRootkit
836
938
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
939
 
@@ -1678,7 +1780,9 @@ module Google
1678
1780
  class Representation < Google::Apis::Core::JsonRepresentation
1679
1781
  property :classification, as: 'classification'
1680
1782
  property :volume_bps, as: 'volumeBps'
1783
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
1681
1784
  property :volume_pps, as: 'volumePps'
1785
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
1682
1786
  end
1683
1787
  end
1684
1788
 
@@ -2076,6 +2180,16 @@ module Google
2076
2180
  end
2077
2181
  end
2078
2182
 
2183
+ class DataRetentionDeletionEvent
2184
+ # @private
2185
+ class Representation < Google::Apis::Core::JsonRepresentation
2186
+ property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
2187
+ property :event_detection_time, as: 'eventDetectionTime'
2188
+ property :event_type, as: 'eventType'
2189
+ property :max_retention_allowed, as: 'maxRetentionAllowed'
2190
+ end
2191
+ end
2192
+
2079
2193
  class Database
2080
2194
  # @private
2081
2195
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2237,6 +2351,8 @@ module Google
2237
2351
 
2238
2352
  collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::DataFlowEvent::Representation
2239
2353
 
2354
+ collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent::Representation
2355
+
2240
2356
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
2241
2357
 
2242
2358
  property :description, as: 'description'
@@ -2671,7 +2787,9 @@ module Google
2671
2787
  class Representation < Google::Apis::Core::JsonRepresentation
2672
2788
  property :classification, as: 'classification'
2673
2789
  property :volume_bps, as: 'volumeBps'
2790
+ property :volume_bps_long, :numeric_string => true, as: 'volumeBpsLong'
2674
2791
  property :volume_pps, as: 'volumePps'
2792
+ property :volume_pps_long, :numeric_string => true, as: 'volumePpsLong'
2675
2793
  end
2676
2794
  end
2677
2795
 
@@ -2962,6 +3080,16 @@ module Google
2962
3080
  end
2963
3081
  end
2964
3082
 
3083
+ class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
3084
+ # @private
3085
+ class Representation < Google::Apis::Core::JsonRepresentation
3086
+ property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
3087
+ property :event_detection_time, as: 'eventDetectionTime'
3088
+ property :event_type, as: 'eventType'
3089
+ property :max_retention_allowed, as: 'maxRetentionAllowed'
3090
+ end
3091
+ end
3092
+
2965
3093
  class GoogleCloudSecuritycenterV2Database
2966
3094
  # @private
2967
3095
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3096,6 +3224,8 @@ module Google
3096
3224
 
3097
3225
  collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent::Representation
3098
3226
 
3227
+ collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent::Representation
3228
+
3099
3229
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
3100
3230
 
3101
3231
  property :description, as: 'description'
@@ -3200,6 +3330,158 @@ module Google
3200
3330
  end
3201
3331
  end
3202
3332
 
3333
+ class GoogleCloudSecuritycenterV2Issue
3334
+ # @private
3335
+ class Representation < Google::Apis::Core::JsonRepresentation
3336
+ property :create_time, as: 'createTime'
3337
+ property :description, as: 'description'
3338
+ property :detection, as: 'detection'
3339
+ collection :domains, as: 'domains', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain::Representation
3340
+
3341
+ property :exposure_score, as: 'exposureScore'
3342
+ property :issue_type, as: 'issueType'
3343
+ property :last_observation_time, as: 'lastObservationTime'
3344
+ property :mute, as: 'mute', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute::Representation
3345
+
3346
+ property :name, as: 'name'
3347
+ property :primary_resource, as: 'primaryResource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
3348
+
3349
+ collection :related_findings, as: 'relatedFindings', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding::Representation
3350
+
3351
+ collection :remediations, as: 'remediations'
3352
+ collection :secondary_resources, as: 'secondaryResources', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
3353
+
3354
+ collection :security_contexts, as: 'securityContexts', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext::Representation
3355
+
3356
+ property :severity, as: 'severity'
3357
+ property :state, as: 'state'
3358
+ property :update_time, as: 'updateTime'
3359
+ end
3360
+ end
3361
+
3362
+ class GoogleCloudSecuritycenterV2IssueDomain
3363
+ # @private
3364
+ class Representation < Google::Apis::Core::JsonRepresentation
3365
+ property :domain_category, as: 'domainCategory'
3366
+ end
3367
+ end
3368
+
3369
+ class GoogleCloudSecuritycenterV2IssueFinding
3370
+ # @private
3371
+ class Representation < Google::Apis::Core::JsonRepresentation
3372
+ property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve::Representation
3373
+
3374
+ property :name, as: 'name'
3375
+ property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin::Representation
3376
+
3377
+ end
3378
+ end
3379
+
3380
+ class GoogleCloudSecuritycenterV2IssueFindingCve
3381
+ # @private
3382
+ class Representation < Google::Apis::Core::JsonRepresentation
3383
+ property :name, as: 'name'
3384
+ end
3385
+ end
3386
+
3387
+ class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
3388
+ # @private
3389
+ class Representation < Google::Apis::Core::JsonRepresentation
3390
+ property :name, as: 'name'
3391
+ end
3392
+ end
3393
+
3394
+ class GoogleCloudSecuritycenterV2IssueMute
3395
+ # @private
3396
+ class Representation < Google::Apis::Core::JsonRepresentation
3397
+ property :mute_initiator, as: 'muteInitiator'
3398
+ property :mute_reason, as: 'muteReason'
3399
+ property :mute_state, as: 'muteState'
3400
+ property :mute_update_time, as: 'muteUpdateTime'
3401
+ end
3402
+ end
3403
+
3404
+ class GoogleCloudSecuritycenterV2IssueResource
3405
+ # @private
3406
+ class Representation < Google::Apis::Core::JsonRepresentation
3407
+ property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::Representation
3408
+
3409
+ property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::Representation
3410
+
3411
+ property :cloud_provider, as: 'cloudProvider'
3412
+ property :display_name, as: 'displayName'
3413
+ property :google_cloud_metadata, as: 'googleCloudMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata::Representation
3414
+
3415
+ property :name, as: 'name'
3416
+ property :type, as: 'type'
3417
+ end
3418
+ end
3419
+
3420
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
3421
+ # @private
3422
+ class Representation < Google::Apis::Core::JsonRepresentation
3423
+ property :account, as: 'account', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount::Representation
3424
+
3425
+ end
3426
+ end
3427
+
3428
+ class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
3429
+ # @private
3430
+ class Representation < Google::Apis::Core::JsonRepresentation
3431
+ property :id, as: 'id'
3432
+ property :name, as: 'name'
3433
+ end
3434
+ end
3435
+
3436
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
3437
+ # @private
3438
+ class Representation < Google::Apis::Core::JsonRepresentation
3439
+ property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription::Representation
3440
+
3441
+ end
3442
+ end
3443
+
3444
+ class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
3445
+ # @private
3446
+ class Representation < Google::Apis::Core::JsonRepresentation
3447
+ property :display_name, as: 'displayName'
3448
+ property :id, as: 'id'
3449
+ end
3450
+ end
3451
+
3452
+ class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
3453
+ # @private
3454
+ class Representation < Google::Apis::Core::JsonRepresentation
3455
+ property :project_id, as: 'projectId'
3456
+ end
3457
+ end
3458
+
3459
+ class GoogleCloudSecuritycenterV2IssueSecurityContext
3460
+ # @private
3461
+ class Representation < Google::Apis::Core::JsonRepresentation
3462
+ property :aggregated_count, as: 'aggregatedCount', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount::Representation
3463
+
3464
+ property :context, as: 'context', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext::Representation
3465
+
3466
+ end
3467
+ end
3468
+
3469
+ class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
3470
+ # @private
3471
+ class Representation < Google::Apis::Core::JsonRepresentation
3472
+ property :key, as: 'key'
3473
+ property :value, as: 'value'
3474
+ end
3475
+ end
3476
+
3477
+ class GoogleCloudSecuritycenterV2IssueSecurityContextContext
3478
+ # @private
3479
+ class Representation < Google::Apis::Core::JsonRepresentation
3480
+ property :type, as: 'type'
3481
+ collection :values, as: 'values'
3482
+ end
3483
+ end
3484
+
3203
3485
  class GoogleCloudSecuritycenterV2KernelRootkit
3204
3486
  # @private
3205
3487
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2401,6 +2401,54 @@ module Google
2401
2401
  execute_or_queue_command(command, &block)
2402
2402
  end
2403
2403
 
2404
+ # Lists the attack paths for a set of simulation results or valued resources and
2405
+ # filter.
2406
+ # @param [String] parent
2407
+ # Required. Name of parent to list attack paths. Valid formats: `organizations/`
2408
+ # organization``, `organizations/`organization`/simulations/`simulation`` `
2409
+ # organizations/`organization`/simulations/`simulation`/attackExposureResults/`
2410
+ # attack_exposure_result_v2`` `organizations/`organization`/simulations/`
2411
+ # simulation`/valuedResources/`valued_resource``
2412
+ # @param [String] filter
2413
+ # The filter expression that filters the attack path in the response. Supported
2414
+ # fields: * `valued_resources` supports =
2415
+ # @param [Fixnum] page_size
2416
+ # The maximum number of results to return in a single response. Default is 10,
2417
+ # minimum is 1, maximum is 1000.
2418
+ # @param [String] page_token
2419
+ # The value returned by the last `ListAttackPathsResponse`; indicates that this
2420
+ # is a continuation of a prior `ListAttackPaths` call, and that the system
2421
+ # should return the next page of data.
2422
+ # @param [String] fields
2423
+ # Selector specifying which fields to include in a partial response.
2424
+ # @param [String] quota_user
2425
+ # Available to use for quota purposes for server-side applications. Can be any
2426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2427
+ # @param [Google::Apis::RequestOptions] options
2428
+ # Request-specific options
2429
+ #
2430
+ # @yield [result, err] Result & error if block supplied
2431
+ # @yieldparam result [Google::Apis::SecuritycenterV1::ListAttackPathsResponse] parsed result object
2432
+ # @yieldparam err [StandardError] error object if request failed
2433
+ #
2434
+ # @return [Google::Apis::SecuritycenterV1::ListAttackPathsResponse]
2435
+ #
2436
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2437
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2438
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2439
+ def list_organization_attack_paths(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2440
+ command = make_simple_command(:get, 'v1/{+parent}/attackPaths', options)
2441
+ command.response_representation = Google::Apis::SecuritycenterV1::ListAttackPathsResponse::Representation
2442
+ command.response_class = Google::Apis::SecuritycenterV1::ListAttackPathsResponse
2443
+ command.params['parent'] = parent unless parent.nil?
2444
+ command.query['filter'] = filter unless filter.nil?
2445
+ command.query['pageSize'] = page_size unless page_size.nil?
2446
+ command.query['pageToken'] = page_token unless page_token.nil?
2447
+ command.query['fields'] = fields unless fields.nil?
2448
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2449
+ execute_or_queue_command(command, &block)
2450
+ end
2451
+
2404
2452
  # Creates a BigQuery export.
2405
2453
  # @param [String] parent
2406
2454
  # Required. The name of the parent resource of the new BigQuery export. Its
@@ -3494,8 +3542,8 @@ module Google
3494
3542
  # Clients can use Operations.GetOperation or other methods to check whether the
3495
3543
  # cancellation succeeded or whether the operation completed despite cancellation.
3496
3544
  # On successful cancellation, the operation is not deleted; instead, it becomes
3497
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
3498
- # corresponding to `Code.CANCELLED`.
3545
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
3546
+ # , corresponding to `Code.CANCELLED`.
3499
3547
  # @param [String] name
3500
3548
  # The name of the operation resource to be cancelled.
3501
3549
  # @param [String] fields
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.90.0
4
+ version: 0.92.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-04 00:00:00.000000000 Z
10
+ date: 2025-01-12 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.90.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.92.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.22
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Security Command Center API V1
82
79
  test_files: []