google-apis-securitycenter_v1 0.99.0 → 0.101.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: 636089bad4dc1fc392b131212eecf5841f7bde33661dd2d53f7c4ff780bba45c
4
- data.tar.gz: 9344d7767777dcc3bf9b91a8497821120f53e052df471126fe33ee9f62565df9
3
+ metadata.gz: 82d1ed35c8fce71e219a2621bcf1cff2580f27bba6dfd3b2d0b2947ebf08212a
4
+ data.tar.gz: 15bae746032020f8b2683f5c012a27281b46f5fd44d2629fd839013b4fd0141a
5
5
  SHA512:
6
- metadata.gz: c050f900527a945d1202f6fda89b7dc89955429a6e47855d16be2d30aa63ffe3b5c1a0aa341f682d321987e8c1e6a7646da38faa2d510e0be08dd5d75060997b
7
- data.tar.gz: 37871d3d527b98dccd6459292d5053abcd8dae59eabe5df9acd8e93f305ad5e78fa64c35fe72291be26dd4a482a01bb285be243bd97f339a82fffac68ca10f4a
6
+ metadata.gz: 8ffae427ecd5a720b0cca80aa2c22c49b6f4b05ed54c81be6f08c412ba8c6bb80df3325ac2804bdddd8a0067914d696d92237001a797463f949718f0992918c3
7
+ data.tar.gz: dd5df505d6cdd18ac9fc876c67153e1f7c67173b9d85ef85ed844fc6753d5997450279a4b16251993df1ecd53933e7a3e97789aff0a2041bcdcb21f056a8d5a4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.101.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250609
6
+ * Regenerated using generator version 0.18.0
7
+
8
+ ### v0.100.0 (2025-05-21)
9
+
10
+ * Regenerated from discovery document revision 20250519
11
+
3
12
  ### v0.99.0 (2025-05-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20250509
@@ -230,6 +230,61 @@ module Google
230
230
  end
231
231
  end
232
232
 
233
+ # Contains information about the AI model associated with the finding.
234
+ class AiModel
235
+ include Google::Apis::Core::Hashable
236
+
237
+ # The platform on which the model is deployed.
238
+ # Corresponds to the JSON property `deploymentPlatform`
239
+ # @return [String]
240
+ attr_accessor :deployment_platform
241
+
242
+ # The user defined display name of model. Ex. baseline-classification-model
243
+ # Corresponds to the JSON property `displayName`
244
+ # @return [String]
245
+ attr_accessor :display_name
246
+
247
+ # The domain of the model, for example, “image-classification”.
248
+ # Corresponds to the JSON property `domain`
249
+ # @return [String]
250
+ attr_accessor :domain
251
+
252
+ # The name of the model library, for example, “transformers”.
253
+ # Corresponds to the JSON property `library`
254
+ # @return [String]
255
+ attr_accessor :library
256
+
257
+ # The region in which the model is used, for example, “us-central1”.
258
+ # Corresponds to the JSON property `location`
259
+ # @return [String]
260
+ attr_accessor :location
261
+
262
+ # The name of the AI model, for example, "gemini:1.0.0".
263
+ # Corresponds to the JSON property `name`
264
+ # @return [String]
265
+ attr_accessor :name
266
+
267
+ # The publisher of the model, for example, “google” or “nvidia”.
268
+ # Corresponds to the JSON property `publisher`
269
+ # @return [String]
270
+ attr_accessor :publisher
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @deployment_platform = args[:deployment_platform] if args.key?(:deployment_platform)
279
+ @display_name = args[:display_name] if args.key?(:display_name)
280
+ @domain = args[:domain] if args.key?(:domain)
281
+ @library = args[:library] if args.key?(:library)
282
+ @location = args[:location] if args.key?(:location)
283
+ @name = args[:name] if args.key?(:name)
284
+ @publisher = args[:publisher] if args.key?(:publisher)
285
+ end
286
+ end
287
+
233
288
  # Allowed IP rule.
234
289
  class Allowed
235
290
  include Google::Apis::Core::Hashable
@@ -2071,6 +2126,39 @@ module Google
2071
2126
  end
2072
2127
  end
2073
2128
 
2129
+ # Vertex AI dataset associated with the finding.
2130
+ class Dataset
2131
+ include Google::Apis::Core::Hashable
2132
+
2133
+ # The user defined display name of dataset, e.g. plants-dataset
2134
+ # Corresponds to the JSON property `displayName`
2135
+ # @return [String]
2136
+ attr_accessor :display_name
2137
+
2138
+ # Resource name of dataset, e.g. projects/`project`/locations/`location`/
2139
+ # datasets/2094040236064505856
2140
+ # Corresponds to the JSON property `name`
2141
+ # @return [String]
2142
+ attr_accessor :name
2143
+
2144
+ # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.
2145
+ # gsod
2146
+ # Corresponds to the JSON property `source`
2147
+ # @return [String]
2148
+ attr_accessor :source
2149
+
2150
+ def initialize(**args)
2151
+ update!(**args)
2152
+ end
2153
+
2154
+ # Update properties of this object
2155
+ def update!(**args)
2156
+ @display_name = args[:display_name] if args.key?(:display_name)
2157
+ @name = args[:name] if args.key?(:name)
2158
+ @source = args[:source] if args.key?(:source)
2159
+ end
2160
+ end
2161
+
2074
2162
  # Denied IP rule.
2075
2163
  class Denied
2076
2164
  include Google::Apis::Core::Hashable
@@ -2525,6 +2613,11 @@ module Google
2525
2613
  # @return [Fixnum]
2526
2614
  attr_accessor :hashed_size
2527
2615
 
2616
+ # Operation(s) performed on a file.
2617
+ # Corresponds to the JSON property `operations`
2618
+ # @return [Array<Google::Apis::SecuritycenterV1::FileOperation>]
2619
+ attr_accessor :operations
2620
+
2528
2621
  # True when the hash covers only a prefix of the file.
2529
2622
  # Corresponds to the JSON property `partiallyHashed`
2530
2623
  # @return [Boolean]
@@ -2556,6 +2649,7 @@ module Google
2556
2649
  @contents = args[:contents] if args.key?(:contents)
2557
2650
  @disk_path = args[:disk_path] if args.key?(:disk_path)
2558
2651
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
2652
+ @operations = args[:operations] if args.key?(:operations)
2559
2653
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
2560
2654
  @path = args[:path] if args.key?(:path)
2561
2655
  @sha256 = args[:sha256] if args.key?(:sha256)
@@ -2563,6 +2657,25 @@ module Google
2563
2657
  end
2564
2658
  end
2565
2659
 
2660
+ # Operation(s) performed on a file.
2661
+ class FileOperation
2662
+ include Google::Apis::Core::Hashable
2663
+
2664
+ # The type of the operation
2665
+ # Corresponds to the JSON property `type`
2666
+ # @return [String]
2667
+ attr_accessor :type
2668
+
2669
+ def initialize(**args)
2670
+ update!(**args)
2671
+ end
2672
+
2673
+ # Update properties of this object
2674
+ def update!(**args)
2675
+ @type = args[:type] if args.key?(:type)
2676
+ end
2677
+ end
2678
+
2566
2679
  # Security Command Center finding. A finding is a record of assessment data like
2567
2680
  # security, risk, health, or privacy, that is ingested into Security Command
2568
2681
  # Center for presentation, notification, analysis, policy testing, and
@@ -2581,6 +2694,11 @@ module Google
2581
2694
  # @return [Google::Apis::SecuritycenterV1::AffectedResources]
2582
2695
  attr_accessor :affected_resources
2583
2696
 
2697
+ # Contains information about the AI model associated with the finding.
2698
+ # Corresponds to the JSON property `aiModel`
2699
+ # @return [Google::Apis::SecuritycenterV1::AiModel]
2700
+ attr_accessor :ai_model
2701
+
2584
2702
  # Represents an application associated with a finding.
2585
2703
  # Corresponds to the JSON property `application`
2586
2704
  # @return [Google::Apis::SecuritycenterV1::Application]
@@ -2935,6 +3053,11 @@ module Google
2935
3053
  # @return [Google::Apis::SecuritycenterV1::ToxicCombination]
2936
3054
  attr_accessor :toxic_combination
2937
3055
 
3056
+ # Vertex AI-related information associated with the finding.
3057
+ # Corresponds to the JSON property `vertexAi`
3058
+ # @return [Google::Apis::SecuritycenterV1::VertexAi]
3059
+ attr_accessor :vertex_ai
3060
+
2938
3061
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
2939
3062
  # Corresponds to the JSON property `vulnerability`
2940
3063
  # @return [Google::Apis::SecuritycenterV1::Vulnerability]
@@ -2948,6 +3071,7 @@ module Google
2948
3071
  def update!(**args)
2949
3072
  @access = args[:access] if args.key?(:access)
2950
3073
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
3074
+ @ai_model = args[:ai_model] if args.key?(:ai_model)
2951
3075
  @application = args[:application] if args.key?(:application)
2952
3076
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2953
3077
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -3004,6 +3128,7 @@ module Google
3004
3128
  @source_properties = args[:source_properties] if args.key?(:source_properties)
3005
3129
  @state = args[:state] if args.key?(:state)
3006
3130
  @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
3131
+ @vertex_ai = args[:vertex_ai] if args.key?(:vertex_ai)
3007
3132
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
3008
3133
  end
3009
3134
  end
@@ -4595,6 +4720,61 @@ module Google
4595
4720
  end
4596
4721
  end
4597
4722
 
4723
+ # Contains information about the AI model associated with the finding.
4724
+ class GoogleCloudSecuritycenterV2AiModel
4725
+ include Google::Apis::Core::Hashable
4726
+
4727
+ # The platform on which the model is deployed.
4728
+ # Corresponds to the JSON property `deploymentPlatform`
4729
+ # @return [String]
4730
+ attr_accessor :deployment_platform
4731
+
4732
+ # The user defined display name of model. Ex. baseline-classification-model
4733
+ # Corresponds to the JSON property `displayName`
4734
+ # @return [String]
4735
+ attr_accessor :display_name
4736
+
4737
+ # The domain of the model, for example, “image-classification”.
4738
+ # Corresponds to the JSON property `domain`
4739
+ # @return [String]
4740
+ attr_accessor :domain
4741
+
4742
+ # The name of the model library, for example, “transformers”.
4743
+ # Corresponds to the JSON property `library`
4744
+ # @return [String]
4745
+ attr_accessor :library
4746
+
4747
+ # The region in which the model is used, for example, “us-central1”.
4748
+ # Corresponds to the JSON property `location`
4749
+ # @return [String]
4750
+ attr_accessor :location
4751
+
4752
+ # The name of the AI model, for example, "gemini:1.0.0".
4753
+ # Corresponds to the JSON property `name`
4754
+ # @return [String]
4755
+ attr_accessor :name
4756
+
4757
+ # The publisher of the model, for example, “google” or “nvidia”.
4758
+ # Corresponds to the JSON property `publisher`
4759
+ # @return [String]
4760
+ attr_accessor :publisher
4761
+
4762
+ def initialize(**args)
4763
+ update!(**args)
4764
+ end
4765
+
4766
+ # Update properties of this object
4767
+ def update!(**args)
4768
+ @deployment_platform = args[:deployment_platform] if args.key?(:deployment_platform)
4769
+ @display_name = args[:display_name] if args.key?(:display_name)
4770
+ @domain = args[:domain] if args.key?(:domain)
4771
+ @library = args[:library] if args.key?(:library)
4772
+ @location = args[:location] if args.key?(:location)
4773
+ @name = args[:name] if args.key?(:name)
4774
+ @publisher = args[:publisher] if args.key?(:publisher)
4775
+ end
4776
+ end
4777
+
4598
4778
  # Allowed IP rule.
4599
4779
  class GoogleCloudSecuritycenterV2Allowed
4600
4780
  include Google::Apis::Core::Hashable
@@ -5970,6 +6150,39 @@ module Google
5970
6150
  end
5971
6151
  end
5972
6152
 
6153
+ # Vertex AI dataset associated with the finding.
6154
+ class GoogleCloudSecuritycenterV2Dataset
6155
+ include Google::Apis::Core::Hashable
6156
+
6157
+ # The user defined display name of dataset, e.g. plants-dataset
6158
+ # Corresponds to the JSON property `displayName`
6159
+ # @return [String]
6160
+ attr_accessor :display_name
6161
+
6162
+ # Resource name of dataset, e.g. projects/`project`/locations/`location`/
6163
+ # datasets/2094040236064505856
6164
+ # Corresponds to the JSON property `name`
6165
+ # @return [String]
6166
+ attr_accessor :name
6167
+
6168
+ # Data source, such as BigQuery source URI, e.g. bq://scc-nexus-test.AIPPtest.
6169
+ # gsod
6170
+ # Corresponds to the JSON property `source`
6171
+ # @return [String]
6172
+ attr_accessor :source
6173
+
6174
+ def initialize(**args)
6175
+ update!(**args)
6176
+ end
6177
+
6178
+ # Update properties of this object
6179
+ def update!(**args)
6180
+ @display_name = args[:display_name] if args.key?(:display_name)
6181
+ @name = args[:name] if args.key?(:name)
6182
+ @source = args[:source] if args.key?(:source)
6183
+ end
6184
+ end
6185
+
5973
6186
  # Denied IP rule.
5974
6187
  class GoogleCloudSecuritycenterV2Denied
5975
6188
  include Google::Apis::Core::Hashable
@@ -6290,6 +6503,11 @@ module Google
6290
6503
  # @return [Fixnum]
6291
6504
  attr_accessor :hashed_size
6292
6505
 
6506
+ # Operation(s) performed on a file.
6507
+ # Corresponds to the JSON property `operations`
6508
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2FileOperation>]
6509
+ attr_accessor :operations
6510
+
6293
6511
  # True when the hash covers only a prefix of the file.
6294
6512
  # Corresponds to the JSON property `partiallyHashed`
6295
6513
  # @return [Boolean]
@@ -6321,6 +6539,7 @@ module Google
6321
6539
  @contents = args[:contents] if args.key?(:contents)
6322
6540
  @disk_path = args[:disk_path] if args.key?(:disk_path)
6323
6541
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
6542
+ @operations = args[:operations] if args.key?(:operations)
6324
6543
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
6325
6544
  @path = args[:path] if args.key?(:path)
6326
6545
  @sha256 = args[:sha256] if args.key?(:sha256)
@@ -6328,6 +6547,25 @@ module Google
6328
6547
  end
6329
6548
  end
6330
6549
 
6550
+ # Operation(s) performed on a file.
6551
+ class GoogleCloudSecuritycenterV2FileOperation
6552
+ include Google::Apis::Core::Hashable
6553
+
6554
+ # The type of the operation
6555
+ # Corresponds to the JSON property `type`
6556
+ # @return [String]
6557
+ attr_accessor :type
6558
+
6559
+ def initialize(**args)
6560
+ update!(**args)
6561
+ end
6562
+
6563
+ # Update properties of this object
6564
+ def update!(**args)
6565
+ @type = args[:type] if args.key?(:type)
6566
+ end
6567
+ end
6568
+
6331
6569
  # Security Command Center finding. A finding is a record of assessment data like
6332
6570
  # security, risk, health, or privacy, that is ingested into Security Command
6333
6571
  # Center for presentation, notification, analysis, policy testing, and
@@ -6346,6 +6584,11 @@ module Google
6346
6584
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources]
6347
6585
  attr_accessor :affected_resources
6348
6586
 
6587
+ # Contains information about the AI model associated with the finding.
6588
+ # Corresponds to the JSON property `aiModel`
6589
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AiModel]
6590
+ attr_accessor :ai_model
6591
+
6349
6592
  # Represents an application associated with a finding.
6350
6593
  # Corresponds to the JSON property `application`
6351
6594
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application]
@@ -6604,7 +6847,7 @@ module Google
6604
6847
  # @return [String]
6605
6848
  attr_accessor :mute_update_time
6606
6849
 
6607
- # The [relative resource name](https://cloud.google.com/apis/design/
6850
+ # Identifier. The [relative resource name](https://cloud.google.com/apis/design/
6608
6851
  # resource_names#relative_resource_name) of the finding. The following list
6609
6852
  # shows some examples: + `organizations/`organization_id`/sources/`source_id`/
6610
6853
  # findings/`finding_id`` + `organizations/`organization_id`/sources/`source_id`/
@@ -6714,6 +6957,11 @@ module Google
6714
6957
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination]
6715
6958
  attr_accessor :toxic_combination
6716
6959
 
6960
+ # Vertex AI-related information associated with the finding.
6961
+ # Corresponds to the JSON property `vertexAi`
6962
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2VertexAi]
6963
+ attr_accessor :vertex_ai
6964
+
6717
6965
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
6718
6966
  # Corresponds to the JSON property `vulnerability`
6719
6967
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability]
@@ -6727,6 +6975,7 @@ module Google
6727
6975
  def update!(**args)
6728
6976
  @access = args[:access] if args.key?(:access)
6729
6977
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6978
+ @ai_model = args[:ai_model] if args.key?(:ai_model)
6730
6979
  @application = args[:application] if args.key?(:application)
6731
6980
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6732
6981
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
@@ -6783,6 +7032,7 @@ module Google
6783
7032
  @source_properties = args[:source_properties] if args.key?(:source_properties)
6784
7033
  @state = args[:state] if args.key?(:state)
6785
7034
  @toxic_combination = args[:toxic_combination] if args.key?(:toxic_combination)
7035
+ @vertex_ai = args[:vertex_ai] if args.key?(:vertex_ai)
6786
7036
  @vulnerability = args[:vulnerability] if args.key?(:vulnerability)
6787
7037
  end
6788
7038
  end
@@ -8178,6 +8428,32 @@ module Google
8178
8428
  end
8179
8429
  end
8180
8430
 
8431
+ # Vertex AI training pipeline associated with the finding.
8432
+ class GoogleCloudSecuritycenterV2Pipeline
8433
+ include Google::Apis::Core::Hashable
8434
+
8435
+ # The user defined display name of pipeline, e.g. plants-classification
8436
+ # Corresponds to the JSON property `displayName`
8437
+ # @return [String]
8438
+ attr_accessor :display_name
8439
+
8440
+ # Resource name of pipeline, e.g. projects/`project`/locations/`location`/
8441
+ # trainingPipelines/5253428229225578496
8442
+ # Corresponds to the JSON property `name`
8443
+ # @return [String]
8444
+ attr_accessor :name
8445
+
8446
+ def initialize(**args)
8447
+ update!(**args)
8448
+ end
8449
+
8450
+ # Update properties of this object
8451
+ def update!(**args)
8452
+ @display_name = args[:display_name] if args.key?(:display_name)
8453
+ @name = args[:name] if args.key?(:name)
8454
+ end
8455
+ end
8456
+
8181
8457
  # A Kubernetes Pod.
8182
8458
  class GoogleCloudSecuritycenterV2Pod
8183
8459
  include Google::Apis::Core::Hashable
@@ -9110,6 +9386,31 @@ module Google
9110
9386
  end
9111
9387
  end
9112
9388
 
9389
+ # Vertex AI-related information associated with the finding.
9390
+ class GoogleCloudSecuritycenterV2VertexAi
9391
+ include Google::Apis::Core::Hashable
9392
+
9393
+ # Datasets associated with the finding.
9394
+ # Corresponds to the JSON property `datasets`
9395
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Dataset>]
9396
+ attr_accessor :datasets
9397
+
9398
+ # Pipelines associated with the finding.
9399
+ # Corresponds to the JSON property `pipelines`
9400
+ # @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Pipeline>]
9401
+ attr_accessor :pipelines
9402
+
9403
+ def initialize(**args)
9404
+ update!(**args)
9405
+ end
9406
+
9407
+ # Update properties of this object
9408
+ def update!(**args)
9409
+ @datasets = args[:datasets] if args.key?(:datasets)
9410
+ @pipelines = args[:pipelines] if args.key?(:pipelines)
9411
+ end
9412
+ end
9413
+
9113
9414
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
9114
9415
  class GoogleCloudSecuritycenterV2Vulnerability
9115
9416
  include Google::Apis::Core::Hashable
@@ -10970,6 +11271,32 @@ module Google
10970
11271
  end
10971
11272
  end
10972
11273
 
11274
+ # Vertex AI training pipeline associated with the finding.
11275
+ class Pipeline
11276
+ include Google::Apis::Core::Hashable
11277
+
11278
+ # The user defined display name of pipeline, e.g. plants-classification
11279
+ # Corresponds to the JSON property `displayName`
11280
+ # @return [String]
11281
+ attr_accessor :display_name
11282
+
11283
+ # Resource name of pipeline, e.g. projects/`project`/locations/`location`/
11284
+ # trainingPipelines/5253428229225578496
11285
+ # Corresponds to the JSON property `name`
11286
+ # @return [String]
11287
+ attr_accessor :name
11288
+
11289
+ def initialize(**args)
11290
+ update!(**args)
11291
+ end
11292
+
11293
+ # Update properties of this object
11294
+ def update!(**args)
11295
+ @display_name = args[:display_name] if args.key?(:display_name)
11296
+ @name = args[:name] if args.key?(:name)
11297
+ end
11298
+ end
11299
+
10973
11300
  # A Kubernetes Pod.
10974
11301
  class Pod
10975
11302
  include Google::Apis::Core::Hashable
@@ -12586,6 +12913,31 @@ module Google
12586
12913
  end
12587
12914
  end
12588
12915
 
12916
+ # Vertex AI-related information associated with the finding.
12917
+ class VertexAi
12918
+ include Google::Apis::Core::Hashable
12919
+
12920
+ # Datasets associated with the finding.
12921
+ # Corresponds to the JSON property `datasets`
12922
+ # @return [Array<Google::Apis::SecuritycenterV1::Dataset>]
12923
+ attr_accessor :datasets
12924
+
12925
+ # Pipelines associated with the finding.
12926
+ # Corresponds to the JSON property `pipelines`
12927
+ # @return [Array<Google::Apis::SecuritycenterV1::Pipeline>]
12928
+ attr_accessor :pipelines
12929
+
12930
+ def initialize(**args)
12931
+ update!(**args)
12932
+ end
12933
+
12934
+ # Update properties of this object
12935
+ def update!(**args)
12936
+ @datasets = args[:datasets] if args.key?(:datasets)
12937
+ @pipelines = args[:pipelines] if args.key?(:pipelines)
12938
+ end
12939
+ end
12940
+
12589
12941
  # Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
12590
12942
  class Vulnerability
12591
12943
  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.99.0"
19
+ GEM_VERSION = "0.101.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250509"
25
+ REVISION = "20250609"
26
26
  end
27
27
  end
28
28
  end
@@ -46,6 +46,12 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
+ class AiModel
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
49
55
  class Allowed
50
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
57
 
@@ -322,6 +328,12 @@ module Google
322
328
  include Google::Apis::Core::JsonObjectSupport
323
329
  end
324
330
 
331
+ class Dataset
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class Denied
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -400,6 +412,12 @@ module Google
400
412
  include Google::Apis::Core::JsonObjectSupport
401
413
  end
402
414
 
415
+ class FileOperation
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
403
421
  class Finding
404
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
423
 
@@ -598,6 +616,12 @@ module Google
598
616
  include Google::Apis::Core::JsonObjectSupport
599
617
  end
600
618
 
619
+ class GoogleCloudSecuritycenterV2AiModel
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
601
625
  class GoogleCloudSecuritycenterV2Allowed
602
626
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
627
 
@@ -802,6 +826,12 @@ module Google
802
826
  include Google::Apis::Core::JsonObjectSupport
803
827
  end
804
828
 
829
+ class GoogleCloudSecuritycenterV2Dataset
830
+ class Representation < Google::Apis::Core::JsonRepresentation; end
831
+
832
+ include Google::Apis::Core::JsonObjectSupport
833
+ end
834
+
805
835
  class GoogleCloudSecuritycenterV2Denied
806
836
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
837
 
@@ -862,6 +892,12 @@ module Google
862
892
  include Google::Apis::Core::JsonObjectSupport
863
893
  end
864
894
 
895
+ class GoogleCloudSecuritycenterV2FileOperation
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
865
901
  class GoogleCloudSecuritycenterV2Finding
866
902
  class Representation < Google::Apis::Core::JsonRepresentation; end
867
903
 
@@ -1108,6 +1144,12 @@ module Google
1108
1144
  include Google::Apis::Core::JsonObjectSupport
1109
1145
  end
1110
1146
 
1147
+ class GoogleCloudSecuritycenterV2Pipeline
1148
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1149
+
1150
+ include Google::Apis::Core::JsonObjectSupport
1151
+ end
1152
+
1111
1153
  class GoogleCloudSecuritycenterV2Pod
1112
1154
  class Representation < Google::Apis::Core::JsonRepresentation; end
1113
1155
 
@@ -1240,6 +1282,12 @@ module Google
1240
1282
  include Google::Apis::Core::JsonObjectSupport
1241
1283
  end
1242
1284
 
1285
+ class GoogleCloudSecuritycenterV2VertexAi
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1243
1291
  class GoogleCloudSecuritycenterV2Vulnerability
1244
1292
  class Representation < Google::Apis::Core::JsonRepresentation; end
1245
1293
 
@@ -1546,6 +1594,12 @@ module Google
1546
1594
  include Google::Apis::Core::JsonObjectSupport
1547
1595
  end
1548
1596
 
1597
+ class Pipeline
1598
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1599
+
1600
+ include Google::Apis::Core::JsonObjectSupport
1601
+ end
1602
+
1549
1603
  class Pod
1550
1604
  class Representation < Google::Apis::Core::JsonRepresentation; end
1551
1605
 
@@ -1792,6 +1846,12 @@ module Google
1792
1846
  include Google::Apis::Core::JsonObjectSupport
1793
1847
  end
1794
1848
 
1849
+ class VertexAi
1850
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1851
+
1852
+ include Google::Apis::Core::JsonObjectSupport
1853
+ end
1854
+
1795
1855
  class Vulnerability
1796
1856
  class Representation < Google::Apis::Core::JsonRepresentation; end
1797
1857
 
@@ -1862,6 +1922,19 @@ module Google
1862
1922
  end
1863
1923
  end
1864
1924
 
1925
+ class AiModel
1926
+ # @private
1927
+ class Representation < Google::Apis::Core::JsonRepresentation
1928
+ property :deployment_platform, as: 'deploymentPlatform'
1929
+ property :display_name, as: 'displayName'
1930
+ property :domain, as: 'domain'
1931
+ property :library, as: 'library'
1932
+ property :location, as: 'location'
1933
+ property :name, as: 'name'
1934
+ property :publisher, as: 'publisher'
1935
+ end
1936
+ end
1937
+
1865
1938
  class Allowed
1866
1939
  # @private
1867
1940
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2333,6 +2406,15 @@ module Google
2333
2406
  end
2334
2407
  end
2335
2408
 
2409
+ class Dataset
2410
+ # @private
2411
+ class Representation < Google::Apis::Core::JsonRepresentation
2412
+ property :display_name, as: 'displayName'
2413
+ property :name, as: 'name'
2414
+ property :source, as: 'source'
2415
+ end
2416
+ end
2417
+
2336
2418
  class Denied
2337
2419
  # @private
2338
2420
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2451,6 +2533,8 @@ module Google
2451
2533
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1::DiskPath, decorator: Google::Apis::SecuritycenterV1::DiskPath::Representation
2452
2534
 
2453
2535
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
2536
+ collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1::FileOperation, decorator: Google::Apis::SecuritycenterV1::FileOperation::Representation
2537
+
2454
2538
  property :partially_hashed, as: 'partiallyHashed'
2455
2539
  property :path, as: 'path'
2456
2540
  property :sha256, as: 'sha256'
@@ -2458,6 +2542,13 @@ module Google
2458
2542
  end
2459
2543
  end
2460
2544
 
2545
+ class FileOperation
2546
+ # @private
2547
+ class Representation < Google::Apis::Core::JsonRepresentation
2548
+ property :type, as: 'type'
2549
+ end
2550
+ end
2551
+
2461
2552
  class Finding
2462
2553
  # @private
2463
2554
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2465,6 +2556,8 @@ module Google
2465
2556
 
2466
2557
  property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1::AffectedResources, decorator: Google::Apis::SecuritycenterV1::AffectedResources::Representation
2467
2558
 
2559
+ property :ai_model, as: 'aiModel', class: Google::Apis::SecuritycenterV1::AiModel, decorator: Google::Apis::SecuritycenterV1::AiModel::Representation
2560
+
2468
2561
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1::Application, decorator: Google::Apis::SecuritycenterV1::Application::Representation
2469
2562
 
2470
2563
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1::AttackExposure, decorator: Google::Apis::SecuritycenterV1::AttackExposure::Representation
@@ -2558,6 +2651,8 @@ module Google
2558
2651
  property :state, as: 'state'
2559
2652
  property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1::ToxicCombination, decorator: Google::Apis::SecuritycenterV1::ToxicCombination::Representation
2560
2653
 
2654
+ property :vertex_ai, as: 'vertexAi', class: Google::Apis::SecuritycenterV1::VertexAi, decorator: Google::Apis::SecuritycenterV1::VertexAi::Representation
2655
+
2561
2656
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1::Vulnerability, decorator: Google::Apis::SecuritycenterV1::Vulnerability::Representation
2562
2657
 
2563
2658
  end
@@ -2930,6 +3025,19 @@ module Google
2930
3025
  end
2931
3026
  end
2932
3027
 
3028
+ class GoogleCloudSecuritycenterV2AiModel
3029
+ # @private
3030
+ class Representation < Google::Apis::Core::JsonRepresentation
3031
+ property :deployment_platform, as: 'deploymentPlatform'
3032
+ property :display_name, as: 'displayName'
3033
+ property :domain, as: 'domain'
3034
+ property :library, as: 'library'
3035
+ property :location, as: 'location'
3036
+ property :name, as: 'name'
3037
+ property :publisher, as: 'publisher'
3038
+ end
3039
+ end
3040
+
2933
3041
  class GoogleCloudSecuritycenterV2Allowed
2934
3042
  # @private
2935
3043
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3282,6 +3390,15 @@ module Google
3282
3390
  end
3283
3391
  end
3284
3392
 
3393
+ class GoogleCloudSecuritycenterV2Dataset
3394
+ # @private
3395
+ class Representation < Google::Apis::Core::JsonRepresentation
3396
+ property :display_name, as: 'displayName'
3397
+ property :name, as: 'name'
3398
+ property :source, as: 'source'
3399
+ end
3400
+ end
3401
+
3285
3402
  class GoogleCloudSecuritycenterV2Denied
3286
3403
  # @private
3287
3404
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3373,6 +3490,8 @@ module Google
3373
3490
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiskPath, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DiskPath::Representation
3374
3491
 
3375
3492
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
3493
+ collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2FileOperation, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2FileOperation::Representation
3494
+
3376
3495
  property :partially_hashed, as: 'partiallyHashed'
3377
3496
  property :path, as: 'path'
3378
3497
  property :sha256, as: 'sha256'
@@ -3380,6 +3499,13 @@ module Google
3380
3499
  end
3381
3500
  end
3382
3501
 
3502
+ class GoogleCloudSecuritycenterV2FileOperation
3503
+ # @private
3504
+ class Representation < Google::Apis::Core::JsonRepresentation
3505
+ property :type, as: 'type'
3506
+ end
3507
+ end
3508
+
3383
3509
  class GoogleCloudSecuritycenterV2Finding
3384
3510
  # @private
3385
3511
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3387,6 +3513,8 @@ module Google
3387
3513
 
3388
3514
  property :affected_resources, as: 'affectedResources', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AffectedResources::Representation
3389
3515
 
3516
+ property :ai_model, as: 'aiModel', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AiModel, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AiModel::Representation
3517
+
3390
3518
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application::Representation
3391
3519
 
3392
3520
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure::Representation
@@ -3480,6 +3608,8 @@ module Google
3480
3608
  property :state, as: 'state'
3481
3609
  property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2ToxicCombination::Representation
3482
3610
 
3611
+ property :vertex_ai, as: 'vertexAi', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2VertexAi, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2VertexAi::Representation
3612
+
3483
3613
  property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Vulnerability::Representation
3484
3614
 
3485
3615
  end
@@ -3888,6 +4018,14 @@ module Google
3888
4018
  end
3889
4019
  end
3890
4020
 
4021
+ class GoogleCloudSecuritycenterV2Pipeline
4022
+ # @private
4023
+ class Representation < Google::Apis::Core::JsonRepresentation
4024
+ property :display_name, as: 'displayName'
4025
+ property :name, as: 'name'
4026
+ end
4027
+ end
4028
+
3891
4029
  class GoogleCloudSecuritycenterV2Pod
3892
4030
  # @private
3893
4031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4126,6 +4264,16 @@ module Google
4126
4264
  end
4127
4265
  end
4128
4266
 
4267
+ class GoogleCloudSecuritycenterV2VertexAi
4268
+ # @private
4269
+ class Representation < Google::Apis::Core::JsonRepresentation
4270
+ collection :datasets, as: 'datasets', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Dataset, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Dataset::Representation
4271
+
4272
+ collection :pipelines, as: 'pipelines', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Pipeline, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Pipeline::Representation
4273
+
4274
+ end
4275
+ end
4276
+
4129
4277
  class GoogleCloudSecuritycenterV2Vulnerability
4130
4278
  # @private
4131
4279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4635,6 +4783,14 @@ module Google
4635
4783
  end
4636
4784
  end
4637
4785
 
4786
+ class Pipeline
4787
+ # @private
4788
+ class Representation < Google::Apis::Core::JsonRepresentation
4789
+ property :display_name, as: 'displayName'
4790
+ property :name, as: 'name'
4791
+ end
4792
+ end
4793
+
4638
4794
  class Pod
4639
4795
  # @private
4640
4796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5046,6 +5202,16 @@ module Google
5046
5202
  end
5047
5203
  end
5048
5204
 
5205
+ class VertexAi
5206
+ # @private
5207
+ class Representation < Google::Apis::Core::JsonRepresentation
5208
+ collection :datasets, as: 'datasets', class: Google::Apis::SecuritycenterV1::Dataset, decorator: Google::Apis::SecuritycenterV1::Dataset::Representation
5209
+
5210
+ collection :pipelines, as: 'pipelines', class: Google::Apis::SecuritycenterV1::Pipeline, decorator: Google::Apis::SecuritycenterV1::Pipeline::Representation
5211
+
5212
+ end
5213
+ end
5214
+
5049
5215
  class Vulnerability
5050
5216
  # @private
5051
5217
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.0
4
+ version: 0.101.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -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.99.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.101.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:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.6.8
76
+ rubygems_version: 3.6.9
77
77
  specification_version: 4
78
78
  summary: Simple REST client for Security Command Center API V1
79
79
  test_files: []