google-apis-securitycenter_v1beta2 0.78.0 → 0.80.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: 96b64fd40acd8eadbeb4fdcb2055a13ae343612735e9e02ac27a07bb8d3c9c14
4
- data.tar.gz: 5eb5d2004ad2df2c09ddc4f8bc7655c9ac3a4ba749ea397b2fa93d569d5bbeb1
3
+ metadata.gz: be9ac77a9ac73510f4c9cca25ad2791617d675d3a46632e7182360217989abf7
4
+ data.tar.gz: 37c3e365146c2502f47d53a8288b01dc789bb3b726a2767c414ea96574dd68c0
5
5
  SHA512:
6
- metadata.gz: 9ee41acc32e807472c9b105501a78b1384c99b288b46306b60f6d532316eba9072177553e5ec6090243db79bf3a57f91528d06c75a7bb96378ee6fedf30e68a3
7
- data.tar.gz: 3c1908a78e9fcae1a04140b2d49c1cfe5290211b45075cc28805f70eb8e64b957fb50dbdd209f0218b9b0845b6f9c5af39dc86e4d907482343027a5fe71b6562
6
+ metadata.gz: d4f0febf9c99fe1496dac24e43b5f6a8dd177fd30bcbe324d9ca2d2a71209956563feeb338ddd9df57f82252ec32a0fbec36428b91a12db30aa9992e03c0df5f
7
+ data.tar.gz: 2844a996082155e4b9e5f3729c3594d64162ec8f5d4ecebee9fddac737e39e789af47136427b74942146a1c049bc87f769ccb32a098982b18ca8da51f57d3780
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.80.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250411
6
+
7
+ ### v0.79.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250326
10
+
3
11
  ### v0.78.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250315
@@ -211,6 +211,25 @@ module Google
211
211
  end
212
212
  end
213
213
 
214
+ # Details about resources affected by this finding.
215
+ class AffectedResources
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # The count of resources affected by the finding.
219
+ # Corresponds to the JSON property `count`
220
+ # @return [Fixnum]
221
+ attr_accessor :count
222
+
223
+ def initialize(**args)
224
+ update!(**args)
225
+ end
226
+
227
+ # Update properties of this object
228
+ def update!(**args)
229
+ @count = args[:count] if args.key?(:count)
230
+ end
231
+ end
232
+
214
233
  # Allowed IP rule.
215
234
  class Allowed
216
235
  include Google::Apis::Core::Hashable
@@ -940,67 +959,6 @@ module Google
940
959
  end
941
960
  end
942
961
 
943
- # Result containing the properties and count of a ComplianceSnapshot request.
944
- class ComplianceSnapshot
945
- include Google::Apis::Core::Hashable
946
-
947
- # The category of Findings matching.
948
- # Corresponds to the JSON property `category`
949
- # @return [String]
950
- attr_accessor :category
951
-
952
- # The cloud provider for the compliance snapshot.
953
- # Corresponds to the JSON property `cloudProvider`
954
- # @return [String]
955
- attr_accessor :cloud_provider
956
-
957
- # The compliance standard (ie CIS).
958
- # Corresponds to the JSON property `complianceStandard`
959
- # @return [String]
960
- attr_accessor :compliance_standard
961
-
962
- # The compliance version (ie 1.3) in CIS 1.3.
963
- # Corresponds to the JSON property `complianceVersion`
964
- # @return [String]
965
- attr_accessor :compliance_version
966
-
967
- # Total count of findings for the given properties.
968
- # Corresponds to the JSON property `count`
969
- # @return [Fixnum]
970
- attr_accessor :count
971
-
972
- # The leaf container resource name that is closest to the snapshot.
973
- # Corresponds to the JSON property `leafContainerResource`
974
- # @return [String]
975
- attr_accessor :leaf_container_resource
976
-
977
- # The compliance snapshot name. Format: //sources//complianceSnapshots/
978
- # Corresponds to the JSON property `name`
979
- # @return [String]
980
- attr_accessor :name
981
-
982
- # The snapshot time of the snapshot.
983
- # Corresponds to the JSON property `snapshotTime`
984
- # @return [String]
985
- attr_accessor :snapshot_time
986
-
987
- def initialize(**args)
988
- update!(**args)
989
- end
990
-
991
- # Update properties of this object
992
- def update!(**args)
993
- @category = args[:category] if args.key?(:category)
994
- @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
995
- @compliance_standard = args[:compliance_standard] if args.key?(:compliance_standard)
996
- @compliance_version = args[:compliance_version] if args.key?(:compliance_version)
997
- @count = args[:count] if args.key?(:count)
998
- @leaf_container_resource = args[:leaf_container_resource] if args.key?(:leaf_container_resource)
999
- @name = args[:name] if args.key?(:name)
1000
- @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1001
- end
1002
- end
1003
-
1004
962
  # Configuration of a module.
1005
963
  class Config
1006
964
  include Google::Apis::Core::Hashable
@@ -1999,6 +1957,11 @@ module Google
1999
1957
  # @return [Google::Apis::SecuritycenterV1beta2::Access]
2000
1958
  attr_accessor :access
2001
1959
 
1960
+ # Details about resources affected by this finding.
1961
+ # Corresponds to the JSON property `affectedResources`
1962
+ # @return [Google::Apis::SecuritycenterV1beta2::AffectedResources]
1963
+ attr_accessor :affected_resources
1964
+
2002
1965
  # Represents an application associated with a finding.
2003
1966
  # Corresponds to the JSON property `application`
2004
1967
  # @return [Google::Apis::SecuritycenterV1beta2::Application]
@@ -2365,6 +2328,7 @@ module Google
2365
2328
  # Update properties of this object
2366
2329
  def update!(**args)
2367
2330
  @access = args[:access] if args.key?(:access)
2331
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2368
2332
  @application = args[:application] if args.key?(:application)
2369
2333
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2370
2334
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -3946,6 +3910,25 @@ module Google
3946
3910
  end
3947
3911
  end
3948
3912
 
3913
+ # Details about resources affected by this finding.
3914
+ class GoogleCloudSecuritycenterV2AffectedResources
3915
+ include Google::Apis::Core::Hashable
3916
+
3917
+ # The count of resources affected by the finding.
3918
+ # Corresponds to the JSON property `count`
3919
+ # @return [Fixnum]
3920
+ attr_accessor :count
3921
+
3922
+ def initialize(**args)
3923
+ update!(**args)
3924
+ end
3925
+
3926
+ # Update properties of this object
3927
+ def update!(**args)
3928
+ @count = args[:count] if args.key?(:count)
3929
+ end
3930
+ end
3931
+
3949
3932
  # Allowed IP rule.
3950
3933
  class GoogleCloudSecuritycenterV2Allowed
3951
3934
  include Google::Apis::Core::Hashable
@@ -5692,6 +5675,11 @@ module Google
5692
5675
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access]
5693
5676
  attr_accessor :access
5694
5677
 
5678
+ # Details about resources affected by this finding.
5679
+ # Corresponds to the JSON property `affectedResources`
5680
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources]
5681
+ attr_accessor :affected_resources
5682
+
5695
5683
  # Represents an application associated with a finding.
5696
5684
  # Corresponds to the JSON property `application`
5697
5685
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application]
@@ -6072,6 +6060,7 @@ module Google
6072
6060
  # Update properties of this object
6073
6061
  def update!(**args)
6074
6062
  @access = args[:access] if args.key?(:access)
6063
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6075
6064
  @application = args[:application] if args.key?(:application)
6076
6065
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6077
6066
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -9715,7 +9704,7 @@ module Google
9715
9704
  end
9716
9705
  end
9717
9706
 
9718
- # Resource capturing the settings for Security Center. Next ID: 12
9707
+ # Resource capturing the settings for Security Center.
9719
9708
  class SecurityCenterSettings
9720
9709
  include Google::Apis::Core::Hashable
9721
9710
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.78.0"
19
+ GEM_VERSION = "0.80.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250315"
25
+ REVISION = "20250411"
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 AffectedResources
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class Allowed
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -160,12 +166,6 @@ module Google
160
166
  include Google::Apis::Core::JsonObjectSupport
161
167
  end
162
168
 
163
- class ComplianceSnapshot
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
169
  class Config
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
@@ -496,6 +496,12 @@ module Google
496
496
  include Google::Apis::Core::JsonObjectSupport
497
497
  end
498
498
 
499
+ class GoogleCloudSecuritycenterV2AffectedResources
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
499
505
  class GoogleCloudSecuritycenterV2Allowed
500
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
507
 
@@ -1489,6 +1495,13 @@ module Google
1489
1495
  end
1490
1496
  end
1491
1497
 
1498
+ class AffectedResources
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ property :count, :numeric_string => true, as: 'count'
1502
+ end
1503
+ end
1504
+
1492
1505
  class Allowed
1493
1506
  # @private
1494
1507
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1686,20 +1699,6 @@ module Google
1686
1699
  end
1687
1700
  end
1688
1701
 
1689
- class ComplianceSnapshot
1690
- # @private
1691
- class Representation < Google::Apis::Core::JsonRepresentation
1692
- property :category, as: 'category'
1693
- property :cloud_provider, as: 'cloudProvider'
1694
- property :compliance_standard, as: 'complianceStandard'
1695
- property :compliance_version, as: 'complianceVersion'
1696
- property :count, :numeric_string => true, as: 'count'
1697
- property :leaf_container_resource, as: 'leafContainerResource'
1698
- property :name, as: 'name'
1699
- property :snapshot_time, as: 'snapshotTime'
1700
- end
1701
- end
1702
-
1703
1702
  class Config
1704
1703
  # @private
1705
1704
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1958,6 +1957,8 @@ module Google
1958
1957
  class Representation < Google::Apis::Core::JsonRepresentation
1959
1958
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::Access, decorator: Google::Apis::SecuritycenterV1beta2::Access::Representation
1960
1959
 
1960
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta2::AffectedResources, decorator: Google::Apis::SecuritycenterV1beta2::AffectedResources::Representation
1961
+
1961
1962
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::Application, decorator: Google::Apis::SecuritycenterV1beta2::Application::Representation
1962
1963
 
1963
1964
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::AttackExposure::Representation
@@ -2401,6 +2402,13 @@ module Google
2401
2402
  end
2402
2403
  end
2403
2404
 
2405
+ class GoogleCloudSecuritycenterV2AffectedResources
2406
+ # @private
2407
+ class Representation < Google::Apis::Core::JsonRepresentation
2408
+ property :count, :numeric_string => true, as: 'count'
2409
+ end
2410
+ end
2411
+
2404
2412
  class GoogleCloudSecuritycenterV2Allowed
2405
2413
  # @private
2406
2414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2856,6 +2864,8 @@ module Google
2856
2864
  class Representation < Google::Apis::Core::JsonRepresentation
2857
2865
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Access::Representation
2858
2866
 
2867
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AffectedResources::Representation
2868
+
2859
2869
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application::Representation
2860
2870
 
2861
2871
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure::Representation
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.78.0
4
+ version: 0.80.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.78.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.80.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
62
62
  rdoc_options: []
63
63
  require_paths: