google-apis-securitycenter_v1 0.89.0 → 0.90.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: dad52aa81a0220290ee4bec48ae0f7d9c4bdcbd2f9e3728ee91353139a114959
4
- data.tar.gz: 8bc5012aaf108da9e7ca17f0ceac585a18308082f6a8c17bcb1df5b7eee5a1e7
3
+ metadata.gz: dc15faf76f6f24a56b529a1e8ec3af981c5426c83d37973e860ccba4bdec5cbf
4
+ data.tar.gz: 0a8e2077fafaa927a592e838298570a96d13c8f510d4bbae68f9d8690a5bed56
5
5
  SHA512:
6
- metadata.gz: 9f086d98b453feca679238232d761085a2dcf5646285ecedae9b08185f6f5d1b1ac1aacab59c7de210291d3ff379f1f8cc99fd3187fdb320a8b20f931c3c898a
7
- data.tar.gz: 8c404a3c4331f549a99ef3ff5837d9a47dc5a8758cd0e7cc00ac89fb5e8cfd6ea47584a3bcb98e4030c617b1f1f2576c6d71454e10b27711d543a45570597107
6
+ metadata.gz: a98e69098cada47631be8c6919754bfc6cf89c86f98bdaba14d20469c059011a2d1aaf911a6a109c5da3cf2f863c204622341d98973d8de0387a47ff322f4f98
7
+ data.tar.gz: 93d9fab90de434d0cbe37e0c6ab66ee967a71b8c62e38864a58215b7c0d7d46636bd0d0a41a60002f68e73ad985fb67271ed6189bab241026d9750b8f9ad0c40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.90.0 (2024-11-17)
4
+
5
+ * Regenerated from discovery document revision 20241111
6
+
3
7
  ### v0.89.0 (2024-10-27)
4
8
 
5
9
  * Regenerated from discovery document revision 20241018
@@ -2001,6 +2001,26 @@ module Google
2001
2001
  end
2002
2002
  end
2003
2003
 
2004
+ # Contains information about the disk associated with the finding.
2005
+ class Disk
2006
+ include Google::Apis::Core::Hashable
2007
+
2008
+ # The name of the disk, for example, "https://www.googleapis.com/compute/v1/
2009
+ # projects/project-id/zones/zone-id/disks/disk-id".
2010
+ # Corresponds to the JSON property `name`
2011
+ # @return [String]
2012
+ attr_accessor :name
2013
+
2014
+ def initialize(**args)
2015
+ update!(**args)
2016
+ end
2017
+
2018
+ # Update properties of this object
2019
+ def update!(**args)
2020
+ @name = args[:name] if args.key?(:name)
2021
+ end
2022
+ end
2023
+
2004
2024
  # Path of the file in terms of underlying disk/partition identifiers.
2005
2025
  class DiskPath
2006
2026
  include Google::Apis::Core::Hashable
@@ -2067,6 +2087,11 @@ module Google
2067
2087
  class EffectiveEventThreatDetectionCustomModule
2068
2088
  include Google::Apis::Core::Hashable
2069
2089
 
2090
+ # The cloud provider of the custom module.
2091
+ # Corresponds to the JSON property `cloudProvider`
2092
+ # @return [String]
2093
+ attr_accessor :cloud_provider
2094
+
2070
2095
  # Output only. Config for the effective module.
2071
2096
  # Corresponds to the JSON property `config`
2072
2097
  # @return [Hash<String,Object>]
@@ -2108,6 +2133,7 @@ module Google
2108
2133
 
2109
2134
  # Update properties of this object
2110
2135
  def update!(**args)
2136
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2111
2137
  @config = args[:config] if args.key?(:config)
2112
2138
  @description = args[:description] if args.key?(:description)
2113
2139
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2174,6 +2200,11 @@ module Google
2174
2200
  # @return [String]
2175
2201
  attr_accessor :ancestor_module
2176
2202
 
2203
+ # The cloud provider of the custom module.
2204
+ # Corresponds to the JSON property `cloudProvider`
2205
+ # @return [String]
2206
+ attr_accessor :cloud_provider
2207
+
2177
2208
  # Config for the module. For the resident module, its config value is defined at
2178
2209
  # this level. For the inherited module, its config value is inherited from the
2179
2210
  # ancestor module.
@@ -2227,6 +2258,7 @@ module Google
2227
2258
  # Update properties of this object
2228
2259
  def update!(**args)
2229
2260
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
2261
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
2230
2262
  @config = args[:config] if args.key?(:config)
2231
2263
  @description = args[:description] if args.key?(:description)
2232
2264
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -2536,6 +2568,11 @@ module Google
2536
2568
  # @return [String]
2537
2569
  attr_accessor :description
2538
2570
 
2571
+ # Contains information about the disk associated with the finding.
2572
+ # Corresponds to the JSON property `disk`
2573
+ # @return [Google::Apis::SecuritycenterV1::Disk]
2574
+ attr_accessor :disk
2575
+
2539
2576
  # The time the finding was first detected. If an existing finding is updated,
2540
2577
  # then this is the time the update occurred. For example, if the finding
2541
2578
  # represents an open firewall, this property captures the time the detector
@@ -2780,6 +2817,7 @@ module Google
2780
2817
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
2781
2818
  @database = args[:database] if args.key?(:database)
2782
2819
  @description = args[:description] if args.key?(:description)
2820
+ @disk = args[:disk] if args.key?(:disk)
2783
2821
  @event_time = args[:event_time] if args.key?(:event_time)
2784
2822
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
2785
2823
  @external_systems = args[:external_systems] if args.key?(:external_systems)
@@ -3202,6 +3240,11 @@ module Google
3202
3240
  class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
3203
3241
  include Google::Apis::Core::Hashable
3204
3242
 
3243
+ # The cloud provider of the custom module.
3244
+ # Corresponds to the JSON property `cloudProvider`
3245
+ # @return [String]
3246
+ attr_accessor :cloud_provider
3247
+
3205
3248
  # Defines the properties in a custom module configuration for Security Health
3206
3249
  # Analytics. Use the custom module configuration to create custom detectors that
3207
3250
  # generate custom findings for resources that you specify.
@@ -3238,6 +3281,7 @@ module Google
3238
3281
 
3239
3282
  # Update properties of this object
3240
3283
  def update!(**args)
3284
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
3241
3285
  @custom_config = args[:custom_config] if args.key?(:custom_config)
3242
3286
  @display_name = args[:display_name] if args.key?(:display_name)
3243
3287
  @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
@@ -3699,10 +3743,10 @@ module Google
3699
3743
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping]
3700
3744
  attr_accessor :sensitive_data_protection_mapping
3701
3745
 
3702
- # Required. Tag values combined with `AND` to check against. Values in the form "
3703
- # tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
3704
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
3705
- # managing
3746
+ # Required. Tag values combined with `AND` to check against. For Google Cloud
3747
+ # resources, they are tag value IDs in the form of "tagValues/123". Example: `[ "
3748
+ # tagValues/123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/
3749
+ # resource-manager/docs/tags/tags-creating-and-managing
3706
3750
  # Corresponds to the JSON property `tagValues`
3707
3751
  # @return [Array<String>]
3708
3752
  attr_accessor :tag_values
@@ -3773,6 +3817,11 @@ module Google
3773
3817
  # @return [String]
3774
3818
  attr_accessor :ancestor_module
3775
3819
 
3820
+ # The cloud provider of the custom module.
3821
+ # Corresponds to the JSON property `cloudProvider`
3822
+ # @return [String]
3823
+ attr_accessor :cloud_provider
3824
+
3776
3825
  # Defines the properties in a custom module configuration for Security Health
3777
3826
  # Analytics. Use the custom module configuration to create custom detectors that
3778
3827
  # generate custom findings for resources that you specify.
@@ -3822,6 +3871,7 @@ module Google
3822
3871
  # Update properties of this object
3823
3872
  def update!(**args)
3824
3873
  @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
3874
+ @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
3825
3875
  @custom_config = args[:custom_config] if args.key?(:custom_config)
3826
3876
  @display_name = args[:display_name] if args.key?(:display_name)
3827
3877
  @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
@@ -5636,6 +5686,26 @@ module Google
5636
5686
  end
5637
5687
  end
5638
5688
 
5689
+ # Contains information about the disk associated with the finding.
5690
+ class GoogleCloudSecuritycenterV2Disk
5691
+ include Google::Apis::Core::Hashable
5692
+
5693
+ # The name of the disk, for example, "https://www.googleapis.com/compute/v1/
5694
+ # projects/project-id/zones/zone-id/disks/disk-id".
5695
+ # Corresponds to the JSON property `name`
5696
+ # @return [String]
5697
+ attr_accessor :name
5698
+
5699
+ def initialize(**args)
5700
+ update!(**args)
5701
+ end
5702
+
5703
+ # Update properties of this object
5704
+ def update!(**args)
5705
+ @name = args[:name] if args.key?(:name)
5706
+ end
5707
+ end
5708
+
5639
5709
  # Path of the file in terms of underlying disk/partition identifiers.
5640
5710
  class GoogleCloudSecuritycenterV2DiskPath
5641
5711
  include Google::Apis::Core::Hashable
@@ -6054,6 +6124,11 @@ module Google
6054
6124
  # @return [String]
6055
6125
  attr_accessor :description
6056
6126
 
6127
+ # Contains information about the disk associated with the finding.
6128
+ # Corresponds to the JSON property `disk`
6129
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk]
6130
+ attr_accessor :disk
6131
+
6057
6132
  # The time the finding was first detected. If an existing finding is updated,
6058
6133
  # then this is the time the update occurred. For example, if the finding
6059
6134
  # represents an open firewall, this property captures the time the detector
@@ -6307,6 +6382,7 @@ module Google
6307
6382
  @data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
6308
6383
  @database = args[:database] if args.key?(:database)
6309
6384
  @description = args[:description] if args.key?(:description)
6385
+ @disk = args[:disk] if args.key?(:disk)
6310
6386
  @event_time = args[:event_time] if args.key?(:event_time)
6311
6387
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
6312
6388
  @external_systems = args[:external_systems] if args.key?(:external_systems)
@@ -7567,9 +7643,10 @@ module Google
7567
7643
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping]
7568
7644
  attr_accessor :sensitive_data_protection_mapping
7569
7645
 
7570
- # Tag values combined with `AND` to check against. Values in the form "tagValues/
7571
- # 123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://
7572
- # cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
7646
+ # Tag values combined with `AND` to check against. For Google Cloud resources,
7647
+ # they are tag value IDs in the form of "tagValues/123". Example: `[ "tagValues/
7648
+ # 123", "tagValues/456", "tagValues/789" ]` https://cloud.google.com/resource-
7649
+ # manager/docs/tags/tags-creating-and-managing
7573
7650
  # Corresponds to the JSON property `tagValues`
7574
7651
  # @return [Array<String>]
7575
7652
  attr_accessor :tag_values
@@ -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.89.0"
19
+ GEM_VERSION = "0.90.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 = "20241018"
25
+ REVISION = "20241111"
26
26
  end
27
27
  end
28
28
  end
@@ -304,6 +304,12 @@ module Google
304
304
  include Google::Apis::Core::JsonObjectSupport
305
305
  end
306
306
 
307
+ class Disk
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
307
313
  class DiskPath
308
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
315
 
@@ -742,6 +748,12 @@ module Google
742
748
  include Google::Apis::Core::JsonObjectSupport
743
749
  end
744
750
 
751
+ class GoogleCloudSecuritycenterV2Disk
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
745
757
  class GoogleCloudSecuritycenterV2DiskPath
746
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
747
759
 
@@ -2084,6 +2096,13 @@ module Google
2084
2096
  end
2085
2097
  end
2086
2098
 
2099
+ class Disk
2100
+ # @private
2101
+ class Representation < Google::Apis::Core::JsonRepresentation
2102
+ property :name, as: 'name'
2103
+ end
2104
+ end
2105
+
2087
2106
  class DiskPath
2088
2107
  # @private
2089
2108
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2103,6 +2122,7 @@ module Google
2103
2122
  class EffectiveEventThreatDetectionCustomModule
2104
2123
  # @private
2105
2124
  class Representation < Google::Apis::Core::JsonRepresentation
2125
+ property :cloud_provider, as: 'cloudProvider'
2106
2126
  hash :config, as: 'config'
2107
2127
  property :description, as: 'description'
2108
2128
  property :display_name, as: 'displayName'
@@ -2130,6 +2150,7 @@ module Google
2130
2150
  # @private
2131
2151
  class Representation < Google::Apis::Core::JsonRepresentation
2132
2152
  property :ancestor_module, as: 'ancestorModule'
2153
+ property :cloud_provider, as: 'cloudProvider'
2133
2154
  hash :config, as: 'config'
2134
2155
  property :description, as: 'description'
2135
2156
  property :display_name, as: 'displayName'
@@ -2219,6 +2240,8 @@ module Google
2219
2240
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
2220
2241
 
2221
2242
  property :description, as: 'description'
2243
+ property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1::Disk, decorator: Google::Apis::SecuritycenterV1::Disk::Representation
2244
+
2222
2245
  property :event_time, as: 'eventTime'
2223
2246
  property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::Exfiltration, decorator: Google::Apis::SecuritycenterV1::Exfiltration::Representation
2224
2247
 
@@ -2376,6 +2399,7 @@ module Google
2376
2399
  class GoogleCloudSecuritycenterV1EffectiveSecurityHealthAnalyticsCustomModule
2377
2400
  # @private
2378
2401
  class Representation < Google::Apis::Core::JsonRepresentation
2402
+ property :cloud_provider, as: 'cloudProvider'
2379
2403
  property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
2380
2404
 
2381
2405
  property :display_name, as: 'displayName'
@@ -2500,6 +2524,7 @@ module Google
2500
2524
  # @private
2501
2525
  class Representation < Google::Apis::Core::JsonRepresentation
2502
2526
  property :ancestor_module, as: 'ancestorModule'
2527
+ property :cloud_provider, as: 'cloudProvider'
2503
2528
  property :custom_config, as: 'customConfig', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig::Representation
2504
2529
 
2505
2530
  property :display_name, as: 'displayName'
@@ -2957,6 +2982,13 @@ module Google
2957
2982
  end
2958
2983
  end
2959
2984
 
2985
+ class GoogleCloudSecuritycenterV2Disk
2986
+ # @private
2987
+ class Representation < Google::Apis::Core::JsonRepresentation
2988
+ property :name, as: 'name'
2989
+ end
2990
+ end
2991
+
2960
2992
  class GoogleCloudSecuritycenterV2DiskPath
2961
2993
  # @private
2962
2994
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3067,6 +3099,8 @@ module Google
3067
3099
  property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
3068
3100
 
3069
3101
  property :description, as: 'description'
3102
+ property :disk, as: 'disk', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Disk::Representation
3103
+
3070
3104
  property :event_time, as: 'eventTime'
3071
3105
  property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Exfiltration, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Exfiltration::Representation
3072
3106
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.89.0
4
+ version: 0.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-27 00:00:00.000000000 Z
11
+ date: 2024-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.89.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.90.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.21
78
+ rubygems_version: 3.5.22
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Security Command Center API V1