google-apis-securitycenter_v1 0.96.0 → 0.98.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: da72dcc39c9ade7e7d521496264419ba5ddf3eae35a2ba8234eca3f7ea9d1b0d
4
- data.tar.gz: 1288ed21df8264628b23c6da64f24a7ee694fa0e921ce6b55e387096dc953811
3
+ metadata.gz: 6cb0173677a42964e0a6ac3dfbc0590c42b90f8aaa220d1a0093f37cd95f18d8
4
+ data.tar.gz: b63fd6c8b737a1794afd758b6e30bda2732afa499647e3d43e3040673864aab7
5
5
  SHA512:
6
- metadata.gz: 0c7ab6241f6e9f5290b1cb4077d63dace77a8b9aea089e1a3200a33a5bb2a349d97915c37761eede742cd8d92df6e146bb1abc3b595b24d2169b52049e356766
7
- data.tar.gz: 8754a4f0492ba7fbd79078b1342ae2ab114e6a04224c50e00b1e921ef95b9f35615c7d3479b9fc540220377f831649f3bf0e8b365d0c2db855149e5e25664242
6
+ metadata.gz: 56a727c5ed8daaa6ec8a0d327913dcdf1ee6a83563184c361547eeeb865a0ab534c3204f678bdd72506e396d1e3a2b28d4a7178008089ea0c2af92ab24a39b01
7
+ data.tar.gz: 7c6ecf21c5bf757afc88c252e2ce94f2b7189fb9ff16d847a749e5ad0f62ef63953a664aede43afcadff92dd8461a45b865c0dcc7846edcc5691384373c063e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.98.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250411
6
+
7
+ ### v0.97.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250326
10
+
3
11
  ### v0.96.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
@@ -1456,67 +1475,6 @@ module Google
1456
1475
  end
1457
1476
  end
1458
1477
 
1459
- # Result containing the properties and count of a ComplianceSnapshot request.
1460
- class ComplianceSnapshot
1461
- include Google::Apis::Core::Hashable
1462
-
1463
- # The category of Findings matching.
1464
- # Corresponds to the JSON property `category`
1465
- # @return [String]
1466
- attr_accessor :category
1467
-
1468
- # The cloud provider for the compliance snapshot.
1469
- # Corresponds to the JSON property `cloudProvider`
1470
- # @return [String]
1471
- attr_accessor :cloud_provider
1472
-
1473
- # The compliance standard (ie CIS).
1474
- # Corresponds to the JSON property `complianceStandard`
1475
- # @return [String]
1476
- attr_accessor :compliance_standard
1477
-
1478
- # The compliance version (ie 1.3) in CIS 1.3.
1479
- # Corresponds to the JSON property `complianceVersion`
1480
- # @return [String]
1481
- attr_accessor :compliance_version
1482
-
1483
- # Total count of findings for the given properties.
1484
- # Corresponds to the JSON property `count`
1485
- # @return [Fixnum]
1486
- attr_accessor :count
1487
-
1488
- # The leaf container resource name that is closest to the snapshot.
1489
- # Corresponds to the JSON property `leafContainerResource`
1490
- # @return [String]
1491
- attr_accessor :leaf_container_resource
1492
-
1493
- # The compliance snapshot name. Format: //sources//complianceSnapshots/
1494
- # Corresponds to the JSON property `name`
1495
- # @return [String]
1496
- attr_accessor :name
1497
-
1498
- # The snapshot time of the snapshot.
1499
- # Corresponds to the JSON property `snapshotTime`
1500
- # @return [String]
1501
- attr_accessor :snapshot_time
1502
-
1503
- def initialize(**args)
1504
- update!(**args)
1505
- end
1506
-
1507
- # Update properties of this object
1508
- def update!(**args)
1509
- @category = args[:category] if args.key?(:category)
1510
- @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
1511
- @compliance_standard = args[:compliance_standard] if args.key?(:compliance_standard)
1512
- @compliance_version = args[:compliance_version] if args.key?(:compliance_version)
1513
- @count = args[:count] if args.key?(:count)
1514
- @leaf_container_resource = args[:leaf_container_resource] if args.key?(:leaf_container_resource)
1515
- @name = args[:name] if args.key?(:name)
1516
- @snapshot_time = args[:snapshot_time] if args.key?(:snapshot_time)
1517
- end
1518
- end
1519
-
1520
1478
  # Contains information about the IP connection associated with the finding.
1521
1479
  class Connection
1522
1480
  include Google::Apis::Core::Hashable
@@ -2618,6 +2576,11 @@ module Google
2618
2576
  # @return [Google::Apis::SecuritycenterV1::Access]
2619
2577
  attr_accessor :access
2620
2578
 
2579
+ # Details about resources affected by this finding.
2580
+ # Corresponds to the JSON property `affectedResources`
2581
+ # @return [Google::Apis::SecuritycenterV1::AffectedResources]
2582
+ attr_accessor :affected_resources
2583
+
2621
2584
  # Represents an application associated with a finding.
2622
2585
  # Corresponds to the JSON property `application`
2623
2586
  # @return [Google::Apis::SecuritycenterV1::Application]
@@ -2984,6 +2947,7 @@ module Google
2984
2947
  # Update properties of this object
2985
2948
  def update!(**args)
2986
2949
  @access = args[:access] if args.key?(:access)
2950
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2987
2951
  @application = args[:application] if args.key?(:application)
2988
2952
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2989
2953
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -4612,6 +4576,25 @@ module Google
4612
4576
  end
4613
4577
  end
4614
4578
 
4579
+ # Details about resources affected by this finding.
4580
+ class GoogleCloudSecuritycenterV2AffectedResources
4581
+ include Google::Apis::Core::Hashable
4582
+
4583
+ # The count of resources affected by the finding.
4584
+ # Corresponds to the JSON property `count`
4585
+ # @return [Fixnum]
4586
+ attr_accessor :count
4587
+
4588
+ def initialize(**args)
4589
+ update!(**args)
4590
+ end
4591
+
4592
+ # Update properties of this object
4593
+ def update!(**args)
4594
+ @count = args[:count] if args.key?(:count)
4595
+ end
4596
+ end
4597
+
4615
4598
  # Allowed IP rule.
4616
4599
  class GoogleCloudSecuritycenterV2Allowed
4617
4600
  include Google::Apis::Core::Hashable
@@ -6358,6 +6341,11 @@ module Google
6358
6341
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Access]
6359
6342
  attr_accessor :access
6360
6343
 
6344
+ # Details about resources affected by this finding.
6345
+ # Corresponds to the JSON property `affectedResources`
6346
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources]
6347
+ attr_accessor :affected_resources
6348
+
6361
6349
  # Represents an application associated with a finding.
6362
6350
  # Corresponds to the JSON property `application`
6363
6351
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application]
@@ -6738,6 +6726,7 @@ module Google
6738
6726
  # Update properties of this object
6739
6727
  def update!(**args)
6740
6728
  @access = args[:access] if args.key?(:access)
6729
+ @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6741
6730
  @application = args[:application] if args.key?(:application)
6742
6731
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6743
6732
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -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.96.0"
19
+ GEM_VERSION = "0.98.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
 
@@ -232,12 +238,6 @@ module Google
232
238
  include Google::Apis::Core::JsonObjectSupport
233
239
  end
234
240
 
235
- class ComplianceSnapshot
236
- class Representation < Google::Apis::Core::JsonRepresentation; end
237
-
238
- include Google::Apis::Core::JsonObjectSupport
239
- end
240
-
241
241
  class Connection
242
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
243
 
@@ -592,6 +592,12 @@ module Google
592
592
  include Google::Apis::Core::JsonObjectSupport
593
593
  end
594
594
 
595
+ class GoogleCloudSecuritycenterV2AffectedResources
596
+ class Representation < Google::Apis::Core::JsonRepresentation; end
597
+
598
+ include Google::Apis::Core::JsonObjectSupport
599
+ end
600
+
595
601
  class GoogleCloudSecuritycenterV2Allowed
596
602
  class Representation < Google::Apis::Core::JsonRepresentation; end
597
603
 
@@ -1849,6 +1855,13 @@ module Google
1849
1855
  end
1850
1856
  end
1851
1857
 
1858
+ class AffectedResources
1859
+ # @private
1860
+ class Representation < Google::Apis::Core::JsonRepresentation
1861
+ property :count, :numeric_string => true, as: 'count'
1862
+ end
1863
+ end
1864
+
1852
1865
  class Allowed
1853
1866
  # @private
1854
1867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2168,20 +2181,6 @@ module Google
2168
2181
  end
2169
2182
  end
2170
2183
 
2171
- class ComplianceSnapshot
2172
- # @private
2173
- class Representation < Google::Apis::Core::JsonRepresentation
2174
- property :category, as: 'category'
2175
- property :cloud_provider, as: 'cloudProvider'
2176
- property :compliance_standard, as: 'complianceStandard'
2177
- property :compliance_version, as: 'complianceVersion'
2178
- property :count, :numeric_string => true, as: 'count'
2179
- property :leaf_container_resource, as: 'leafContainerResource'
2180
- property :name, as: 'name'
2181
- property :snapshot_time, as: 'snapshotTime'
2182
- end
2183
- end
2184
-
2185
2184
  class Connection
2186
2185
  # @private
2187
2186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2464,6 +2463,8 @@ module Google
2464
2463
  class Representation < Google::Apis::Core::JsonRepresentation
2465
2464
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1::Access, decorator: Google::Apis::SecuritycenterV1::Access::Representation
2466
2465
 
2466
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1::AffectedResources, decorator: Google::Apis::SecuritycenterV1::AffectedResources::Representation
2467
+
2467
2468
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1::Application, decorator: Google::Apis::SecuritycenterV1::Application::Representation
2468
2469
 
2469
2470
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1::AttackExposure, decorator: Google::Apis::SecuritycenterV1::AttackExposure::Representation
@@ -2922,6 +2923,13 @@ module Google
2922
2923
  end
2923
2924
  end
2924
2925
 
2926
+ class GoogleCloudSecuritycenterV2AffectedResources
2927
+ # @private
2928
+ class Representation < Google::Apis::Core::JsonRepresentation
2929
+ property :count, :numeric_string => true, as: 'count'
2930
+ end
2931
+ end
2932
+
2925
2933
  class GoogleCloudSecuritycenterV2Allowed
2926
2934
  # @private
2927
2935
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3377,6 +3385,8 @@ module Google
3377
3385
  class Representation < Google::Apis::Core::JsonRepresentation
3378
3386
  property :access, as: 'access', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Access, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Access::Representation
3379
3387
 
3388
+ property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources::Representation
3389
+
3380
3390
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application::Representation
3381
3391
 
3382
3392
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure::Representation
metadata CHANGED
@@ -1,13 +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.96.0
4
+ version: 0.98.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.96.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.98.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
62
62
  rdoc_options: []
63
63
  require_paths: