google-apis-securitycenter_v1beta2 0.93.0 → 0.94.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: 4ed3389866842ea9cc41ba7748b0ebd9a09c8e82c933471cf08187e7beab083c
4
- data.tar.gz: 90f4814c7fb61aef2ab46932fb070b4e5ec3d2eb19ca48c0cea76dc14013ce67
3
+ metadata.gz: d944c5ceb67f8b8004b8b94c4eacfe80fff6c36e7cadce41ba1324d3a4f3f012
4
+ data.tar.gz: '02912666f904d183b8c234646cba0750a6e39a0163babcf4441de74cc36803b0'
5
5
  SHA512:
6
- metadata.gz: 959ac11f784415c8a053ce9e28685a7d14c8820a343ada68aa21b30989614ec93fa53b9d24bce93311495ffee807a60e38dfa690aa860ae0dcf16c5bd9efbf4c
7
- data.tar.gz: e1eea738bf6f7154f23f80ed0059d6205e2752894674df8d06ade2e3c06c531463947b962802f43dc0bdcea1dee9394ecd813d645e2c114fde6f5e266a562ed2
6
+ metadata.gz: 7e7d0636e2554764940c38aab9d28721b26899cda0b2c39618adcb11b7a0478ad0b1946a66ce57c2050aba9c7226324b4de8e63d6b45eb952e90a4af7a05e010
7
+ data.tar.gz: 6152c50dd1dd02b3ab8a3e698e20e15c7f83147a2c154a88c4717f6d1832cda8bf58fa930a198d0e8c0e3f8566ee66b04325d479f84501aac19a66bf394d0614
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.94.0 (2026-01-11)
4
+
5
+ * Regenerated from discovery document revision 20260105
6
+
3
7
  ### v0.93.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251202
@@ -337,6 +337,64 @@ module Google
337
337
  end
338
338
  end
339
339
 
340
+ # Represents the result of evaluating artifact guard policies.
341
+ class ArtifactGuardPolicies
342
+ include Google::Apis::Core::Hashable
343
+
344
+ # A list of failing policies.
345
+ # Corresponds to the JSON property `failingPolicies`
346
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicy>]
347
+ attr_accessor :failing_policies
348
+
349
+ # The ID of the resource that has policies configured for it.
350
+ # Corresponds to the JSON property `resourceId`
351
+ # @return [String]
352
+ attr_accessor :resource_id
353
+
354
+ def initialize(**args)
355
+ update!(**args)
356
+ end
357
+
358
+ # Update properties of this object
359
+ def update!(**args)
360
+ @failing_policies = args[:failing_policies] if args.key?(:failing_policies)
361
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
362
+ end
363
+ end
364
+
365
+ # Represents an artifact guard policy.
366
+ class ArtifactGuardPolicy
367
+ include Google::Apis::Core::Hashable
368
+
369
+ # The reason for the policy failure, for example, "severity=HIGH AND
370
+ # max_vuln_count=2".
371
+ # Corresponds to the JSON property `failureReason`
372
+ # @return [String]
373
+ attr_accessor :failure_reason
374
+
375
+ # The ID of the failing policy, for example, "organizations/3392779/locations/
376
+ # global/policies/prod-policy".
377
+ # Corresponds to the JSON property `policyId`
378
+ # @return [String]
379
+ attr_accessor :policy_id
380
+
381
+ # The type of the policy evaluation.
382
+ # Corresponds to the JSON property `type`
383
+ # @return [String]
384
+ attr_accessor :type
385
+
386
+ def initialize(**args)
387
+ update!(**args)
388
+ end
389
+
390
+ # Update properties of this object
391
+ def update!(**args)
392
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
393
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
394
+ @type = args[:type] if args.key?(:type)
395
+ end
396
+ end
397
+
340
398
  # Information about DDoS attack volume and classification.
341
399
  class Attack
342
400
  include Google::Apis::Core::Hashable
@@ -2154,6 +2212,11 @@ module Google
2154
2212
  # @return [Google::Apis::SecuritycenterV1beta2::DiskPath]
2155
2213
  attr_accessor :disk_path
2156
2214
 
2215
+ # The load state of the file.
2216
+ # Corresponds to the JSON property `fileLoadState`
2217
+ # @return [String]
2218
+ attr_accessor :file_load_state
2219
+
2157
2220
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
2158
2221
  # any hashes reported represent the entire file.
2159
2222
  # Corresponds to the JSON property `hashedSize`
@@ -2195,6 +2258,7 @@ module Google
2195
2258
  def update!(**args)
2196
2259
  @contents = args[:contents] if args.key?(:contents)
2197
2260
  @disk_path = args[:disk_path] if args.key?(:disk_path)
2261
+ @file_load_state = args[:file_load_state] if args.key?(:file_load_state)
2198
2262
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
2199
2263
  @operations = args[:operations] if args.key?(:operations)
2200
2264
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -2251,6 +2315,11 @@ module Google
2251
2315
  # @return [Google::Apis::SecuritycenterV1beta2::Application]
2252
2316
  attr_accessor :application
2253
2317
 
2318
+ # Represents the result of evaluating artifact guard policies.
2319
+ # Corresponds to the JSON property `artifactGuardPolicies`
2320
+ # @return [Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies]
2321
+ attr_accessor :artifact_guard_policies
2322
+
2254
2323
  # An attack exposure contains the results of an attack path simulation run.
2255
2324
  # Corresponds to the JSON property `attackExposure`
2256
2325
  # @return [Google::Apis::SecuritycenterV1beta2::AttackExposure]
@@ -2563,6 +2632,11 @@ module Google
2563
2632
  # @return [String]
2564
2633
  attr_accessor :resource_name
2565
2634
 
2635
+ # Details about a secret or credential associated with the finding.
2636
+ # Corresponds to the JSON property `secret`
2637
+ # @return [Google::Apis::SecuritycenterV1beta2::Secret]
2638
+ attr_accessor :secret
2639
+
2566
2640
  # User specified security marks that are attached to the parent Security Command
2567
2641
  # Center resource. Security marks are scoped within a Security Command Center
2568
2642
  # organization -- they can be modified and viewed by all users who have proper
@@ -2625,6 +2699,7 @@ module Google
2625
2699
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2626
2700
  @ai_model = args[:ai_model] if args.key?(:ai_model)
2627
2701
  @application = args[:application] if args.key?(:application)
2702
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
2628
2703
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2629
2704
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
2630
2705
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -2675,6 +2750,7 @@ module Google
2675
2750
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
2676
2751
  @processes = args[:processes] if args.key?(:processes)
2677
2752
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2753
+ @secret = args[:secret] if args.key?(:secret)
2678
2754
  @security_marks = args[:security_marks] if args.key?(:security_marks)
2679
2755
  @security_posture = args[:security_posture] if args.key?(:security_posture)
2680
2756
  @severity = args[:severity] if args.key?(:severity)
@@ -4513,6 +4589,64 @@ module Google
4513
4589
  end
4514
4590
  end
4515
4591
 
4592
+ # Represents the result of evaluating artifact guard policies.
4593
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicies
4594
+ include Google::Apis::Core::Hashable
4595
+
4596
+ # A list of failing policies.
4597
+ # Corresponds to the JSON property `failingPolicies`
4598
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicy>]
4599
+ attr_accessor :failing_policies
4600
+
4601
+ # The ID of the resource that has policies configured for it.
4602
+ # Corresponds to the JSON property `resourceId`
4603
+ # @return [String]
4604
+ attr_accessor :resource_id
4605
+
4606
+ def initialize(**args)
4607
+ update!(**args)
4608
+ end
4609
+
4610
+ # Update properties of this object
4611
+ def update!(**args)
4612
+ @failing_policies = args[:failing_policies] if args.key?(:failing_policies)
4613
+ @resource_id = args[:resource_id] if args.key?(:resource_id)
4614
+ end
4615
+ end
4616
+
4617
+ # Represents an artifact guard policy.
4618
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicy
4619
+ include Google::Apis::Core::Hashable
4620
+
4621
+ # The reason for the policy failure, for example, "severity=HIGH AND
4622
+ # max_vuln_count=2".
4623
+ # Corresponds to the JSON property `failureReason`
4624
+ # @return [String]
4625
+ attr_accessor :failure_reason
4626
+
4627
+ # The ID of the failing policy, for example, "organizations/3392779/locations/
4628
+ # global/policies/prod-policy".
4629
+ # Corresponds to the JSON property `policyId`
4630
+ # @return [String]
4631
+ attr_accessor :policy_id
4632
+
4633
+ # The type of the policy evaluation.
4634
+ # Corresponds to the JSON property `type`
4635
+ # @return [String]
4636
+ attr_accessor :type
4637
+
4638
+ def initialize(**args)
4639
+ update!(**args)
4640
+ end
4641
+
4642
+ # Update properties of this object
4643
+ def update!(**args)
4644
+ @failure_reason = args[:failure_reason] if args.key?(:failure_reason)
4645
+ @policy_id = args[:policy_id] if args.key?(:policy_id)
4646
+ @type = args[:type] if args.key?(:type)
4647
+ end
4648
+ end
4649
+
4516
4650
  # Information about DDoS attack volume and classification.
4517
4651
  class GoogleCloudSecuritycenterV2Attack
4518
4652
  include Google::Apis::Core::Hashable
@@ -6299,6 +6433,11 @@ module Google
6299
6433
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath]
6300
6434
  attr_accessor :disk_path
6301
6435
 
6436
+ # The load state of the file.
6437
+ # Corresponds to the JSON property `fileLoadState`
6438
+ # @return [String]
6439
+ attr_accessor :file_load_state
6440
+
6302
6441
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
6303
6442
  # any hashes reported represent the entire file.
6304
6443
  # Corresponds to the JSON property `hashedSize`
@@ -6340,6 +6479,7 @@ module Google
6340
6479
  def update!(**args)
6341
6480
  @contents = args[:contents] if args.key?(:contents)
6342
6481
  @disk_path = args[:disk_path] if args.key?(:disk_path)
6482
+ @file_load_state = args[:file_load_state] if args.key?(:file_load_state)
6343
6483
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
6344
6484
  @operations = args[:operations] if args.key?(:operations)
6345
6485
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -6396,6 +6536,11 @@ module Google
6396
6536
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application]
6397
6537
  attr_accessor :application
6398
6538
 
6539
+ # Represents the result of evaluating artifact guard policies.
6540
+ # Corresponds to the JSON property `artifactGuardPolicies`
6541
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicies]
6542
+ attr_accessor :artifact_guard_policies
6543
+
6399
6544
  # An attack exposure contains the results of an attack path simulation run.
6400
6545
  # Corresponds to the JSON property `attackExposure`
6401
6546
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure]
@@ -6725,6 +6870,11 @@ module Google
6725
6870
  # @return [String]
6726
6871
  attr_accessor :resource_name
6727
6872
 
6873
+ # Details about a secret or credential associated with the finding.
6874
+ # Corresponds to the JSON property `secret`
6875
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Secret]
6876
+ attr_accessor :secret
6877
+
6728
6878
  # User specified security marks that are attached to the parent Security Command
6729
6879
  # Center resource. Security marks are scoped within a Security Command Center
6730
6880
  # organization -- they can be modified and viewed by all users who have proper
@@ -6787,6 +6937,7 @@ module Google
6787
6937
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6788
6938
  @ai_model = args[:ai_model] if args.key?(:ai_model)
6789
6939
  @application = args[:application] if args.key?(:application)
6940
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
6790
6941
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6791
6942
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
6792
6943
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -6838,6 +6989,7 @@ module Google
6838
6989
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
6839
6990
  @processes = args[:processes] if args.key?(:processes)
6840
6991
  @resource_name = args[:resource_name] if args.key?(:resource_name)
6992
+ @secret = args[:secret] if args.key?(:secret)
6841
6993
  @security_marks = args[:security_marks] if args.key?(:security_marks)
6842
6994
  @security_posture = args[:security_posture] if args.key?(:security_posture)
6843
6995
  @severity = args[:severity] if args.key?(:severity)
@@ -9172,6 +9324,108 @@ module Google
9172
9324
  end
9173
9325
  end
9174
9326
 
9327
+ # Details about a secret or credential associated with the finding.
9328
+ class GoogleCloudSecuritycenterV2Secret
9329
+ include Google::Apis::Core::Hashable
9330
+
9331
+ # Environment variable containing the secret.
9332
+ # Corresponds to the JSON property `environmentVariable`
9333
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretEnvironmentVariable]
9334
+ attr_accessor :environment_variable
9335
+
9336
+ # File path containing the secret.
9337
+ # Corresponds to the JSON property `filePath`
9338
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretFilePath]
9339
+ attr_accessor :file_path
9340
+
9341
+ # The status of the secret.
9342
+ # Corresponds to the JSON property `status`
9343
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretStatus]
9344
+ attr_accessor :status
9345
+
9346
+ # The type of secret, for example, GCP_API_KEY.
9347
+ # Corresponds to the JSON property `type`
9348
+ # @return [String]
9349
+ attr_accessor :type
9350
+
9351
+ def initialize(**args)
9352
+ update!(**args)
9353
+ end
9354
+
9355
+ # Update properties of this object
9356
+ def update!(**args)
9357
+ @environment_variable = args[:environment_variable] if args.key?(:environment_variable)
9358
+ @file_path = args[:file_path] if args.key?(:file_path)
9359
+ @status = args[:status] if args.key?(:status)
9360
+ @type = args[:type] if args.key?(:type)
9361
+ end
9362
+ end
9363
+
9364
+ # Environment variable containing the secret.
9365
+ class GoogleCloudSecuritycenterV2SecretEnvironmentVariable
9366
+ include Google::Apis::Core::Hashable
9367
+
9368
+ # Environment variable name as a JSON encoded string. Note that value is not
9369
+ # included since the value contains the secret data, which is sensitive core
9370
+ # content.
9371
+ # Corresponds to the JSON property `key`
9372
+ # @return [String]
9373
+ attr_accessor :key
9374
+
9375
+ def initialize(**args)
9376
+ update!(**args)
9377
+ end
9378
+
9379
+ # Update properties of this object
9380
+ def update!(**args)
9381
+ @key = args[:key] if args.key?(:key)
9382
+ end
9383
+ end
9384
+
9385
+ # File path containing the secret.
9386
+ class GoogleCloudSecuritycenterV2SecretFilePath
9387
+ include Google::Apis::Core::Hashable
9388
+
9389
+ # Path to the file.
9390
+ # Corresponds to the JSON property `path`
9391
+ # @return [String]
9392
+ attr_accessor :path
9393
+
9394
+ def initialize(**args)
9395
+ update!(**args)
9396
+ end
9397
+
9398
+ # Update properties of this object
9399
+ def update!(**args)
9400
+ @path = args[:path] if args.key?(:path)
9401
+ end
9402
+ end
9403
+
9404
+ # The status of the secret.
9405
+ class GoogleCloudSecuritycenterV2SecretStatus
9406
+ include Google::Apis::Core::Hashable
9407
+
9408
+ # Time that the secret was found.
9409
+ # Corresponds to the JSON property `lastUpdatedTime`
9410
+ # @return [String]
9411
+ attr_accessor :last_updated_time
9412
+
9413
+ # The validity of the secret.
9414
+ # Corresponds to the JSON property `validity`
9415
+ # @return [String]
9416
+ attr_accessor :validity
9417
+
9418
+ def initialize(**args)
9419
+ update!(**args)
9420
+ end
9421
+
9422
+ # Update properties of this object
9423
+ def update!(**args)
9424
+ @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
9425
+ @validity = args[:validity] if args.key?(:validity)
9426
+ end
9427
+ end
9428
+
9175
9429
  # SecurityBulletin are notifications of vulnerabilities of Google products.
9176
9430
  class GoogleCloudSecuritycenterV2SecurityBulletin
9177
9431
  include Google::Apis::Core::Hashable
@@ -10903,6 +11157,108 @@ module Google
10903
11157
  end
10904
11158
  end
10905
11159
 
11160
+ # Details about a secret or credential associated with the finding.
11161
+ class Secret
11162
+ include Google::Apis::Core::Hashable
11163
+
11164
+ # Environment variable containing the secret.
11165
+ # Corresponds to the JSON property `environmentVariable`
11166
+ # @return [Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable]
11167
+ attr_accessor :environment_variable
11168
+
11169
+ # File path containing the secret.
11170
+ # Corresponds to the JSON property `filePath`
11171
+ # @return [Google::Apis::SecuritycenterV1beta2::SecretFilePath]
11172
+ attr_accessor :file_path
11173
+
11174
+ # The status of the secret.
11175
+ # Corresponds to the JSON property `status`
11176
+ # @return [Google::Apis::SecuritycenterV1beta2::SecretStatus]
11177
+ attr_accessor :status
11178
+
11179
+ # The type of secret, for example, GCP_API_KEY.
11180
+ # Corresponds to the JSON property `type`
11181
+ # @return [String]
11182
+ attr_accessor :type
11183
+
11184
+ def initialize(**args)
11185
+ update!(**args)
11186
+ end
11187
+
11188
+ # Update properties of this object
11189
+ def update!(**args)
11190
+ @environment_variable = args[:environment_variable] if args.key?(:environment_variable)
11191
+ @file_path = args[:file_path] if args.key?(:file_path)
11192
+ @status = args[:status] if args.key?(:status)
11193
+ @type = args[:type] if args.key?(:type)
11194
+ end
11195
+ end
11196
+
11197
+ # Environment variable containing the secret.
11198
+ class SecretEnvironmentVariable
11199
+ include Google::Apis::Core::Hashable
11200
+
11201
+ # Environment variable name as a JSON encoded string. Note that value is not
11202
+ # included since the value contains the secret data, which is sensitive core
11203
+ # content.
11204
+ # Corresponds to the JSON property `key`
11205
+ # @return [String]
11206
+ attr_accessor :key
11207
+
11208
+ def initialize(**args)
11209
+ update!(**args)
11210
+ end
11211
+
11212
+ # Update properties of this object
11213
+ def update!(**args)
11214
+ @key = args[:key] if args.key?(:key)
11215
+ end
11216
+ end
11217
+
11218
+ # File path containing the secret.
11219
+ class SecretFilePath
11220
+ include Google::Apis::Core::Hashable
11221
+
11222
+ # Path to the file.
11223
+ # Corresponds to the JSON property `path`
11224
+ # @return [String]
11225
+ attr_accessor :path
11226
+
11227
+ def initialize(**args)
11228
+ update!(**args)
11229
+ end
11230
+
11231
+ # Update properties of this object
11232
+ def update!(**args)
11233
+ @path = args[:path] if args.key?(:path)
11234
+ end
11235
+ end
11236
+
11237
+ # The status of the secret.
11238
+ class SecretStatus
11239
+ include Google::Apis::Core::Hashable
11240
+
11241
+ # Time that the secret was found.
11242
+ # Corresponds to the JSON property `lastUpdatedTime`
11243
+ # @return [String]
11244
+ attr_accessor :last_updated_time
11245
+
11246
+ # The validity of the secret.
11247
+ # Corresponds to the JSON property `validity`
11248
+ # @return [String]
11249
+ attr_accessor :validity
11250
+
11251
+ def initialize(**args)
11252
+ update!(**args)
11253
+ end
11254
+
11255
+ # Update properties of this object
11256
+ def update!(**args)
11257
+ @last_updated_time = args[:last_updated_time] if args.key?(:last_updated_time)
11258
+ @validity = args[:validity] if args.key?(:validity)
11259
+ end
11260
+ end
11261
+
10906
11262
  # SecurityBulletin are notifications of vulnerabilities of Google products.
10907
11263
  class SecurityBulletin
10908
11264
  include Google::Apis::Core::Hashable
@@ -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.93.0"
19
+ GEM_VERSION = "0.94.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251202"
25
+ REVISION = "20260105"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,18 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class ArtifactGuardPolicies
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class ArtifactGuardPolicy
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
67
79
  class Attack
68
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
81
 
@@ -610,6 +622,18 @@ module Google
610
622
  include Google::Apis::Core::JsonObjectSupport
611
623
  end
612
624
 
625
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicies
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicy
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
613
637
  class GoogleCloudSecuritycenterV2Attack
614
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
639
 
@@ -1288,6 +1312,30 @@ module Google
1288
1312
  include Google::Apis::Core::JsonObjectSupport
1289
1313
  end
1290
1314
 
1315
+ class GoogleCloudSecuritycenterV2Secret
1316
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1317
+
1318
+ include Google::Apis::Core::JsonObjectSupport
1319
+ end
1320
+
1321
+ class GoogleCloudSecuritycenterV2SecretEnvironmentVariable
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1327
+ class GoogleCloudSecuritycenterV2SecretFilePath
1328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1329
+
1330
+ include Google::Apis::Core::JsonObjectSupport
1331
+ end
1332
+
1333
+ class GoogleCloudSecuritycenterV2SecretStatus
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1291
1339
  class GoogleCloudSecuritycenterV2SecurityBulletin
1292
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1293
1341
 
@@ -1576,6 +1624,30 @@ module Google
1576
1624
  include Google::Apis::Core::JsonObjectSupport
1577
1625
  end
1578
1626
 
1627
+ class Secret
1628
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1629
+
1630
+ include Google::Apis::Core::JsonObjectSupport
1631
+ end
1632
+
1633
+ class SecretEnvironmentVariable
1634
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1635
+
1636
+ include Google::Apis::Core::JsonObjectSupport
1637
+ end
1638
+
1639
+ class SecretFilePath
1640
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1641
+
1642
+ include Google::Apis::Core::JsonObjectSupport
1643
+ end
1644
+
1645
+ class SecretStatus
1646
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1647
+
1648
+ include Google::Apis::Core::JsonObjectSupport
1649
+ end
1650
+
1579
1651
  class SecurityBulletin
1580
1652
  class Representation < Google::Apis::Core::JsonRepresentation; end
1581
1653
 
@@ -1772,6 +1844,24 @@ module Google
1772
1844
  end
1773
1845
  end
1774
1846
 
1847
+ class ArtifactGuardPolicies
1848
+ # @private
1849
+ class Representation < Google::Apis::Core::JsonRepresentation
1850
+ collection :failing_policies, as: 'failingPolicies', class: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicy, decorator: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicy::Representation
1851
+
1852
+ property :resource_id, as: 'resourceId'
1853
+ end
1854
+ end
1855
+
1856
+ class ArtifactGuardPolicy
1857
+ # @private
1858
+ class Representation < Google::Apis::Core::JsonRepresentation
1859
+ property :failure_reason, as: 'failureReason'
1860
+ property :policy_id, as: 'policyId'
1861
+ property :type, as: 'type'
1862
+ end
1863
+ end
1864
+
1775
1865
  class Attack
1776
1866
  # @private
1777
1867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2260,6 +2350,7 @@ module Google
2260
2350
  property :contents, as: 'contents'
2261
2351
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::DiskPath::Representation
2262
2352
 
2353
+ property :file_load_state, as: 'fileLoadState'
2263
2354
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
2264
2355
  collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::FileOperation::Representation
2265
2356
 
@@ -2288,6 +2379,8 @@ module Google
2288
2379
 
2289
2380
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::Application, decorator: Google::Apis::SecuritycenterV1beta2::Application::Representation
2290
2381
 
2382
+ property :artifact_guard_policies, as: 'artifactGuardPolicies', class: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies, decorator: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies::Representation
2383
+
2291
2384
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::AttackExposure::Representation
2292
2385
 
2293
2386
  property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery::Representation
@@ -2372,6 +2465,8 @@ module Google
2372
2465
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
2373
2466
 
2374
2467
  property :resource_name, as: 'resourceName'
2468
+ property :secret, as: 'secret', class: Google::Apis::SecuritycenterV1beta2::Secret, decorator: Google::Apis::SecuritycenterV1beta2::Secret::Representation
2469
+
2375
2470
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
2376
2471
 
2377
2472
  property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPosture::Representation
@@ -2830,6 +2925,24 @@ module Google
2830
2925
  end
2831
2926
  end
2832
2927
 
2928
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicies
2929
+ # @private
2930
+ class Representation < Google::Apis::Core::JsonRepresentation
2931
+ collection :failing_policies, as: 'failingPolicies', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicy, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicy::Representation
2932
+
2933
+ property :resource_id, as: 'resourceId'
2934
+ end
2935
+ end
2936
+
2937
+ class GoogleCloudSecuritycenterV2ArtifactGuardPolicy
2938
+ # @private
2939
+ class Representation < Google::Apis::Core::JsonRepresentation
2940
+ property :failure_reason, as: 'failureReason'
2941
+ property :policy_id, as: 'policyId'
2942
+ property :type, as: 'type'
2943
+ end
2944
+ end
2945
+
2833
2946
  class GoogleCloudSecuritycenterV2Attack
2834
2947
  # @private
2835
2948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3297,6 +3410,7 @@ module Google
3297
3410
  property :contents, as: 'contents'
3298
3411
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath::Representation
3299
3412
 
3413
+ property :file_load_state, as: 'fileLoadState'
3300
3414
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
3301
3415
  collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation::Representation
3302
3416
 
@@ -3325,6 +3439,8 @@ module Google
3325
3439
 
3326
3440
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application::Representation
3327
3441
 
3442
+ property :artifact_guard_policies, as: 'artifactGuardPolicies', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicies, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicies::Representation
3443
+
3328
3444
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure::Representation
3329
3445
 
3330
3446
  property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery::Representation
@@ -3410,6 +3526,8 @@ module Google
3410
3526
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process::Representation
3411
3527
 
3412
3528
  property :resource_name, as: 'resourceName'
3529
+ property :secret, as: 'secret', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Secret, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Secret::Representation
3530
+
3413
3531
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks::Representation
3414
3532
 
3415
3533
  property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture::Representation
@@ -4100,6 +4218,41 @@ module Google
4100
4218
  end
4101
4219
  end
4102
4220
 
4221
+ class GoogleCloudSecuritycenterV2Secret
4222
+ # @private
4223
+ class Representation < Google::Apis::Core::JsonRepresentation
4224
+ property :environment_variable, as: 'environmentVariable', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretEnvironmentVariable, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretEnvironmentVariable::Representation
4225
+
4226
+ property :file_path, as: 'filePath', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretFilePath, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretFilePath::Representation
4227
+
4228
+ property :status, as: 'status', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretStatus, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecretStatus::Representation
4229
+
4230
+ property :type, as: 'type'
4231
+ end
4232
+ end
4233
+
4234
+ class GoogleCloudSecuritycenterV2SecretEnvironmentVariable
4235
+ # @private
4236
+ class Representation < Google::Apis::Core::JsonRepresentation
4237
+ property :key, as: 'key'
4238
+ end
4239
+ end
4240
+
4241
+ class GoogleCloudSecuritycenterV2SecretFilePath
4242
+ # @private
4243
+ class Representation < Google::Apis::Core::JsonRepresentation
4244
+ property :path, as: 'path'
4245
+ end
4246
+ end
4247
+
4248
+ class GoogleCloudSecuritycenterV2SecretStatus
4249
+ # @private
4250
+ class Representation < Google::Apis::Core::JsonRepresentation
4251
+ property :last_updated_time, as: 'lastUpdatedTime'
4252
+ property :validity, as: 'validity'
4253
+ end
4254
+ end
4255
+
4103
4256
  class GoogleCloudSecuritycenterV2SecurityBulletin
4104
4257
  # @private
4105
4258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4582,6 +4735,41 @@ module Google
4582
4735
  end
4583
4736
  end
4584
4737
 
4738
+ class Secret
4739
+ # @private
4740
+ class Representation < Google::Apis::Core::JsonRepresentation
4741
+ property :environment_variable, as: 'environmentVariable', class: Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable, decorator: Google::Apis::SecuritycenterV1beta2::SecretEnvironmentVariable::Representation
4742
+
4743
+ property :file_path, as: 'filePath', class: Google::Apis::SecuritycenterV1beta2::SecretFilePath, decorator: Google::Apis::SecuritycenterV1beta2::SecretFilePath::Representation
4744
+
4745
+ property :status, as: 'status', class: Google::Apis::SecuritycenterV1beta2::SecretStatus, decorator: Google::Apis::SecuritycenterV1beta2::SecretStatus::Representation
4746
+
4747
+ property :type, as: 'type'
4748
+ end
4749
+ end
4750
+
4751
+ class SecretEnvironmentVariable
4752
+ # @private
4753
+ class Representation < Google::Apis::Core::JsonRepresentation
4754
+ property :key, as: 'key'
4755
+ end
4756
+ end
4757
+
4758
+ class SecretFilePath
4759
+ # @private
4760
+ class Representation < Google::Apis::Core::JsonRepresentation
4761
+ property :path, as: 'path'
4762
+ end
4763
+ end
4764
+
4765
+ class SecretStatus
4766
+ # @private
4767
+ class Representation < Google::Apis::Core::JsonRepresentation
4768
+ property :last_updated_time, as: 'lastUpdatedTime'
4769
+ property :validity, as: 'validity'
4770
+ end
4771
+ end
4772
+
4585
4773
  class SecurityBulletin
4586
4774
  # @private
4587
4775
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.93.0
4
+ version: 0.94.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_v1beta2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.93.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.94.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: