google-apis-securitycenter_v1beta2 0.92.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: 122b9c0452ea21c00e59cc9417b81a2d79e352c8e8ee3d21bfb3f944a4907422
4
- data.tar.gz: 5d9be1a430e136b9c39cee0079bd0bf99af40a8f132387af1f590e9bdb3c2d00
3
+ metadata.gz: d944c5ceb67f8b8004b8b94c4eacfe80fff6c36e7cadce41ba1324d3a4f3f012
4
+ data.tar.gz: '02912666f904d183b8c234646cba0750a6e39a0163babcf4441de74cc36803b0'
5
5
  SHA512:
6
- metadata.gz: 3d1d3e86b622efd967dc32886e7560abfd0240d4e58047f751ee3d5a18c93b57c6733d0b847928f63ccb1eedbddf17e9ea5e5211a6a20ade3729c68649948362
7
- data.tar.gz: cab3fffb0b2e60c42af9cb68de4a74c6eb29e6673743ed0eb8a1826bef182e1b3268e8e895565c70625dffd1d5dcc8ee2d1aa13f38d5dbc5688c3a1bcbf3233f
6
+ metadata.gz: 7e7d0636e2554764940c38aab9d28721b26899cda0b2c39618adcb11b7a0478ad0b1946a66ce57c2050aba9c7226324b4de8e63d6b45eb952e90a4af7a05e010
7
+ data.tar.gz: 6152c50dd1dd02b3ab8a3e698e20e15c7f83147a2c154a88c4717f6d1832cda8bf58fa930a198d0e8c0e3f8566ee66b04325d479f84501aac19a66bf394d0614
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.93.0 (2025-12-07)
8
+
9
+ * Regenerated from discovery document revision 20251202
10
+
3
11
  ### v0.92.0 (2025-10-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20251017
@@ -269,6 +269,11 @@ module Google
269
269
  # @return [String]
270
270
  attr_accessor :publisher
271
271
 
272
+ # The purpose of the model, for example, "Inteference" or "Training".
273
+ # Corresponds to the JSON property `usageCategory`
274
+ # @return [String]
275
+ attr_accessor :usage_category
276
+
272
277
  def initialize(**args)
273
278
  update!(**args)
274
279
  end
@@ -282,6 +287,7 @@ module Google
282
287
  @location = args[:location] if args.key?(:location)
283
288
  @name = args[:name] if args.key?(:name)
284
289
  @publisher = args[:publisher] if args.key?(:publisher)
290
+ @usage_category = args[:usage_category] if args.key?(:usage_category)
285
291
  end
286
292
  end
287
293
 
@@ -331,6 +337,64 @@ module Google
331
337
  end
332
338
  end
333
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
+
334
398
  # Information about DDoS attack volume and classification.
335
399
  class Attack
336
400
  include Google::Apis::Core::Hashable
@@ -2148,6 +2212,11 @@ module Google
2148
2212
  # @return [Google::Apis::SecuritycenterV1beta2::DiskPath]
2149
2213
  attr_accessor :disk_path
2150
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
+
2151
2220
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
2152
2221
  # any hashes reported represent the entire file.
2153
2222
  # Corresponds to the JSON property `hashedSize`
@@ -2189,6 +2258,7 @@ module Google
2189
2258
  def update!(**args)
2190
2259
  @contents = args[:contents] if args.key?(:contents)
2191
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)
2192
2262
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
2193
2263
  @operations = args[:operations] if args.key?(:operations)
2194
2264
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -2245,6 +2315,11 @@ module Google
2245
2315
  # @return [Google::Apis::SecuritycenterV1beta2::Application]
2246
2316
  attr_accessor :application
2247
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
+
2248
2323
  # An attack exposure contains the results of an attack path simulation run.
2249
2324
  # Corresponds to the JSON property `attackExposure`
2250
2325
  # @return [Google::Apis::SecuritycenterV1beta2::AttackExposure]
@@ -2557,6 +2632,11 @@ module Google
2557
2632
  # @return [String]
2558
2633
  attr_accessor :resource_name
2559
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
+
2560
2640
  # User specified security marks that are attached to the parent Security Command
2561
2641
  # Center resource. Security marks are scoped within a Security Command Center
2562
2642
  # organization -- they can be modified and viewed by all users who have proper
@@ -2619,6 +2699,7 @@ module Google
2619
2699
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
2620
2700
  @ai_model = args[:ai_model] if args.key?(:ai_model)
2621
2701
  @application = args[:application] if args.key?(:application)
2702
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
2622
2703
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2623
2704
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
2624
2705
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -2669,6 +2750,7 @@ module Google
2669
2750
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
2670
2751
  @processes = args[:processes] if args.key?(:processes)
2671
2752
  @resource_name = args[:resource_name] if args.key?(:resource_name)
2753
+ @secret = args[:secret] if args.key?(:secret)
2672
2754
  @security_marks = args[:security_marks] if args.key?(:security_marks)
2673
2755
  @security_posture = args[:security_posture] if args.key?(:security_posture)
2674
2756
  @severity = args[:severity] if args.key?(:severity)
@@ -3369,6 +3451,11 @@ module Google
3369
3451
  class GoogleCloudSecuritycenterV1Resource
3370
3452
  include Google::Apis::Core::Hashable
3371
3453
 
3454
+ # The App Hub Application associated with the finding's resource.
3455
+ # Corresponds to the JSON property `application`
3456
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication]
3457
+ attr_accessor :application
3458
+
3372
3459
  # AWS metadata associated with the resource, only applicable if the finding's
3373
3460
  # cloud provider is Amazon Web Services.
3374
3461
  # Corresponds to the JSON property `awsMetadata`
@@ -3471,6 +3558,7 @@ module Google
3471
3558
 
3472
3559
  # Update properties of this object
3473
3560
  def update!(**args)
3561
+ @application = args[:application] if args.key?(:application)
3474
3562
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
3475
3563
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
3476
3564
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -3490,6 +3578,132 @@ module Google
3490
3578
  end
3491
3579
  end
3492
3580
 
3581
+ # The App Hub Application associated with the finding's resource.
3582
+ class GoogleCloudSecuritycenterV1ResourceApplication
3583
+ include Google::Apis::Core::Hashable
3584
+
3585
+ # Consumer provided attributes for the application
3586
+ # Corresponds to the JSON property `attributes`
3587
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributes]
3588
+ attr_accessor :attributes
3589
+
3590
+ # The resource name of an Application. Format: `projects/`host-project-id`/
3591
+ # locations/`location`/applications/`application-id``
3592
+ # Corresponds to the JSON property `name`
3593
+ # @return [String]
3594
+ attr_accessor :name
3595
+
3596
+ def initialize(**args)
3597
+ update!(**args)
3598
+ end
3599
+
3600
+ # Update properties of this object
3601
+ def update!(**args)
3602
+ @attributes = args[:attributes] if args.key?(:attributes)
3603
+ @name = args[:name] if args.key?(:name)
3604
+ end
3605
+ end
3606
+
3607
+ # Consumer provided attributes for the application
3608
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes
3609
+ include Google::Apis::Core::Hashable
3610
+
3611
+ # Business team that ensures user needs are met and value is delivered
3612
+ # Corresponds to the JSON property `businessOwners`
3613
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
3614
+ attr_accessor :business_owners
3615
+
3616
+ # Criticality of the Application, Service, or Workload
3617
+ # Corresponds to the JSON property `criticality`
3618
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality]
3619
+ attr_accessor :criticality
3620
+
3621
+ # Developer team that owns development and coding.
3622
+ # Corresponds to the JSON property `developerOwners`
3623
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
3624
+ attr_accessor :developer_owners
3625
+
3626
+ # Environment of the Application, Service, or Workload
3627
+ # Corresponds to the JSON property `environment`
3628
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment]
3629
+ attr_accessor :environment
3630
+
3631
+ # Operator team that ensures runtime and operations.
3632
+ # Corresponds to the JSON property `operatorOwners`
3633
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo>]
3634
+ attr_accessor :operator_owners
3635
+
3636
+ def initialize(**args)
3637
+ update!(**args)
3638
+ end
3639
+
3640
+ # Update properties of this object
3641
+ def update!(**args)
3642
+ @business_owners = args[:business_owners] if args.key?(:business_owners)
3643
+ @criticality = args[:criticality] if args.key?(:criticality)
3644
+ @developer_owners = args[:developer_owners] if args.key?(:developer_owners)
3645
+ @environment = args[:environment] if args.key?(:environment)
3646
+ @operator_owners = args[:operator_owners] if args.key?(:operator_owners)
3647
+ end
3648
+ end
3649
+
3650
+ # Contact information of stakeholders.
3651
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo
3652
+ include Google::Apis::Core::Hashable
3653
+
3654
+ # Email address of the contacts.
3655
+ # Corresponds to the JSON property `email`
3656
+ # @return [String]
3657
+ attr_accessor :email
3658
+
3659
+ def initialize(**args)
3660
+ update!(**args)
3661
+ end
3662
+
3663
+ # Update properties of this object
3664
+ def update!(**args)
3665
+ @email = args[:email] if args.key?(:email)
3666
+ end
3667
+ end
3668
+
3669
+ # Criticality of the Application, Service, or Workload
3670
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality
3671
+ include Google::Apis::Core::Hashable
3672
+
3673
+ # Criticality Type.
3674
+ # Corresponds to the JSON property `type`
3675
+ # @return [String]
3676
+ attr_accessor :type
3677
+
3678
+ def initialize(**args)
3679
+ update!(**args)
3680
+ end
3681
+
3682
+ # Update properties of this object
3683
+ def update!(**args)
3684
+ @type = args[:type] if args.key?(:type)
3685
+ end
3686
+ end
3687
+
3688
+ # Environment of the Application, Service, or Workload
3689
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
3690
+ include Google::Apis::Core::Hashable
3691
+
3692
+ # Environment Type.
3693
+ # Corresponds to the JSON property `type`
3694
+ # @return [String]
3695
+ attr_accessor :type
3696
+
3697
+ def initialize(**args)
3698
+ update!(**args)
3699
+ end
3700
+
3701
+ # Update properties of this object
3702
+ def update!(**args)
3703
+ @type = args[:type] if args.key?(:type)
3704
+ end
3705
+ end
3706
+
3493
3707
  # Resource for selecting resource type.
3494
3708
  class GoogleCloudSecuritycenterV1ResourceSelector
3495
3709
  include Google::Apis::Core::Hashable
@@ -4307,6 +4521,11 @@ module Google
4307
4521
  # @return [String]
4308
4522
  attr_accessor :publisher
4309
4523
 
4524
+ # The purpose of the model, for example, "Inteference" or "Training".
4525
+ # Corresponds to the JSON property `usageCategory`
4526
+ # @return [String]
4527
+ attr_accessor :usage_category
4528
+
4310
4529
  def initialize(**args)
4311
4530
  update!(**args)
4312
4531
  end
@@ -4320,6 +4539,7 @@ module Google
4320
4539
  @location = args[:location] if args.key?(:location)
4321
4540
  @name = args[:name] if args.key?(:name)
4322
4541
  @publisher = args[:publisher] if args.key?(:publisher)
4542
+ @usage_category = args[:usage_category] if args.key?(:usage_category)
4323
4543
  end
4324
4544
  end
4325
4545
 
@@ -4369,6 +4589,64 @@ module Google
4369
4589
  end
4370
4590
  end
4371
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
+
4372
4650
  # Information about DDoS attack volume and classification.
4373
4651
  class GoogleCloudSecuritycenterV2Attack
4374
4652
  include Google::Apis::Core::Hashable
@@ -6155,6 +6433,11 @@ module Google
6155
6433
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath]
6156
6434
  attr_accessor :disk_path
6157
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
+
6158
6441
  # The length in bytes of the file prefix that was hashed. If hashed_size == size,
6159
6442
  # any hashes reported represent the entire file.
6160
6443
  # Corresponds to the JSON property `hashedSize`
@@ -6196,6 +6479,7 @@ module Google
6196
6479
  def update!(**args)
6197
6480
  @contents = args[:contents] if args.key?(:contents)
6198
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)
6199
6483
  @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
6200
6484
  @operations = args[:operations] if args.key?(:operations)
6201
6485
  @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
@@ -6252,6 +6536,11 @@ module Google
6252
6536
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application]
6253
6537
  attr_accessor :application
6254
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
+
6255
6544
  # An attack exposure contains the results of an attack path simulation run.
6256
6545
  # Corresponds to the JSON property `attackExposure`
6257
6546
  # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure]
@@ -6581,6 +6870,11 @@ module Google
6581
6870
  # @return [String]
6582
6871
  attr_accessor :resource_name
6583
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
+
6584
6878
  # User specified security marks that are attached to the parent Security Command
6585
6879
  # Center resource. Security marks are scoped within a Security Command Center
6586
6880
  # organization -- they can be modified and viewed by all users who have proper
@@ -6643,6 +6937,7 @@ module Google
6643
6937
  @affected_resources = args[:affected_resources] if args.key?(:affected_resources)
6644
6938
  @ai_model = args[:ai_model] if args.key?(:ai_model)
6645
6939
  @application = args[:application] if args.key?(:application)
6940
+ @artifact_guard_policies = args[:artifact_guard_policies] if args.key?(:artifact_guard_policies)
6646
6941
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
6647
6942
  @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
6648
6943
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
@@ -6694,6 +6989,7 @@ module Google
6694
6989
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
6695
6990
  @processes = args[:processes] if args.key?(:processes)
6696
6991
  @resource_name = args[:resource_name] if args.key?(:resource_name)
6992
+ @secret = args[:secret] if args.key?(:secret)
6697
6993
  @security_marks = args[:security_marks] if args.key?(:security_marks)
6698
6994
  @security_posture = args[:security_posture] if args.key?(:security_posture)
6699
6995
  @severity = args[:severity] if args.key?(:severity)
@@ -8630,6 +8926,11 @@ module Google
8630
8926
  class GoogleCloudSecuritycenterV2Resource
8631
8927
  include Google::Apis::Core::Hashable
8632
8928
 
8929
+ # The App Hub Application associated with the finding's resource.
8930
+ # Corresponds to the JSON property `application`
8931
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication]
8932
+ attr_accessor :application
8933
+
8633
8934
  # AWS metadata associated with the resource, only applicable if the finding's
8634
8935
  # cloud provider is Amazon Web Services.
8635
8936
  # Corresponds to the JSON property `awsMetadata`
@@ -8704,6 +9005,7 @@ module Google
8704
9005
 
8705
9006
  # Update properties of this object
8706
9007
  def update!(**args)
9008
+ @application = args[:application] if args.key?(:application)
8707
9009
  @aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
8708
9010
  @azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
8709
9011
  @cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
@@ -8718,6 +9020,132 @@ module Google
8718
9020
  end
8719
9021
  end
8720
9022
 
9023
+ # The App Hub Application associated with the finding's resource.
9024
+ class GoogleCloudSecuritycenterV2ResourceApplication
9025
+ include Google::Apis::Core::Hashable
9026
+
9027
+ # Consumer provided attributes for the application
9028
+ # Corresponds to the JSON property `attributes`
9029
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributes]
9030
+ attr_accessor :attributes
9031
+
9032
+ # The resource name of an Application. Format: `projects/`host-project-id`/
9033
+ # locations/`location`/applications/`application-id``
9034
+ # Corresponds to the JSON property `name`
9035
+ # @return [String]
9036
+ attr_accessor :name
9037
+
9038
+ def initialize(**args)
9039
+ update!(**args)
9040
+ end
9041
+
9042
+ # Update properties of this object
9043
+ def update!(**args)
9044
+ @attributes = args[:attributes] if args.key?(:attributes)
9045
+ @name = args[:name] if args.key?(:name)
9046
+ end
9047
+ end
9048
+
9049
+ # Consumer provided attributes for the application
9050
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes
9051
+ include Google::Apis::Core::Hashable
9052
+
9053
+ # Business team that ensures user needs are met and value is delivered
9054
+ # Corresponds to the JSON property `businessOwners`
9055
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9056
+ attr_accessor :business_owners
9057
+
9058
+ # Criticality of the Application, Service, or Workload
9059
+ # Corresponds to the JSON property `criticality`
9060
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality]
9061
+ attr_accessor :criticality
9062
+
9063
+ # Developer team that owns development and coding.
9064
+ # Corresponds to the JSON property `developerOwners`
9065
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9066
+ attr_accessor :developer_owners
9067
+
9068
+ # Environment of the Application, Service, or Workload
9069
+ # Corresponds to the JSON property `environment`
9070
+ # @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment]
9071
+ attr_accessor :environment
9072
+
9073
+ # Operator team that ensures runtime and operations.
9074
+ # Corresponds to the JSON property `operatorOwners`
9075
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo>]
9076
+ attr_accessor :operator_owners
9077
+
9078
+ def initialize(**args)
9079
+ update!(**args)
9080
+ end
9081
+
9082
+ # Update properties of this object
9083
+ def update!(**args)
9084
+ @business_owners = args[:business_owners] if args.key?(:business_owners)
9085
+ @criticality = args[:criticality] if args.key?(:criticality)
9086
+ @developer_owners = args[:developer_owners] if args.key?(:developer_owners)
9087
+ @environment = args[:environment] if args.key?(:environment)
9088
+ @operator_owners = args[:operator_owners] if args.key?(:operator_owners)
9089
+ end
9090
+ end
9091
+
9092
+ # Contact information of stakeholders.
9093
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo
9094
+ include Google::Apis::Core::Hashable
9095
+
9096
+ # Email address of the contacts.
9097
+ # Corresponds to the JSON property `email`
9098
+ # @return [String]
9099
+ attr_accessor :email
9100
+
9101
+ def initialize(**args)
9102
+ update!(**args)
9103
+ end
9104
+
9105
+ # Update properties of this object
9106
+ def update!(**args)
9107
+ @email = args[:email] if args.key?(:email)
9108
+ end
9109
+ end
9110
+
9111
+ # Criticality of the Application, Service, or Workload
9112
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
9113
+ include Google::Apis::Core::Hashable
9114
+
9115
+ # Criticality Type.
9116
+ # Corresponds to the JSON property `type`
9117
+ # @return [String]
9118
+ attr_accessor :type
9119
+
9120
+ def initialize(**args)
9121
+ update!(**args)
9122
+ end
9123
+
9124
+ # Update properties of this object
9125
+ def update!(**args)
9126
+ @type = args[:type] if args.key?(:type)
9127
+ end
9128
+ end
9129
+
9130
+ # Environment of the Application, Service, or Workload
9131
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
9132
+ include Google::Apis::Core::Hashable
9133
+
9134
+ # Environment Type.
9135
+ # Corresponds to the JSON property `type`
9136
+ # @return [String]
9137
+ attr_accessor :type
9138
+
9139
+ def initialize(**args)
9140
+ update!(**args)
9141
+ end
9142
+
9143
+ # Update properties of this object
9144
+ def update!(**args)
9145
+ @type = args[:type] if args.key?(:type)
9146
+ end
9147
+ end
9148
+
8721
9149
  # Represents the path of resources leading up to the resource this finding is
8722
9150
  # about.
8723
9151
  class GoogleCloudSecuritycenterV2ResourcePath
@@ -8896,6 +9324,108 @@ module Google
8896
9324
  end
8897
9325
  end
8898
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
+
8899
9429
  # SecurityBulletin are notifications of vulnerabilities of Google products.
8900
9430
  class GoogleCloudSecuritycenterV2SecurityBulletin
8901
9431
  include Google::Apis::Core::Hashable
@@ -10627,6 +11157,108 @@ module Google
10627
11157
  end
10628
11158
  end
10629
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
+
10630
11262
  # SecurityBulletin are notifications of vulnerabilities of Google products.
10631
11263
  class SecurityBulletin
10632
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.92.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 = "20251017"
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
 
@@ -466,6 +478,36 @@ module Google
466
478
  include Google::Apis::Core::JsonObjectSupport
467
479
  end
468
480
 
481
+ class GoogleCloudSecuritycenterV1ResourceApplication
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
493
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
505
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
469
511
  class GoogleCloudSecuritycenterV1ResourceSelector
470
512
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
513
 
@@ -580,6 +622,18 @@ module Google
580
622
  include Google::Apis::Core::JsonObjectSupport
581
623
  end
582
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
+
583
637
  class GoogleCloudSecuritycenterV2Attack
584
638
  class Representation < Google::Apis::Core::JsonRepresentation; end
585
639
 
@@ -1204,6 +1258,36 @@ module Google
1204
1258
  include Google::Apis::Core::JsonObjectSupport
1205
1259
  end
1206
1260
 
1261
+ class GoogleCloudSecuritycenterV2ResourceApplication
1262
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1263
+
1264
+ include Google::Apis::Core::JsonObjectSupport
1265
+ end
1266
+
1267
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes
1268
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1269
+
1270
+ include Google::Apis::Core::JsonObjectSupport
1271
+ end
1272
+
1273
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo
1274
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1275
+
1276
+ include Google::Apis::Core::JsonObjectSupport
1277
+ end
1278
+
1279
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
1280
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1281
+
1282
+ include Google::Apis::Core::JsonObjectSupport
1283
+ end
1284
+
1285
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
1286
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1287
+
1288
+ include Google::Apis::Core::JsonObjectSupport
1289
+ end
1290
+
1207
1291
  class GoogleCloudSecuritycenterV2ResourcePath
1208
1292
  class Representation < Google::Apis::Core::JsonRepresentation; end
1209
1293
 
@@ -1228,6 +1312,30 @@ module Google
1228
1312
  include Google::Apis::Core::JsonObjectSupport
1229
1313
  end
1230
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
+
1231
1339
  class GoogleCloudSecuritycenterV2SecurityBulletin
1232
1340
  class Representation < Google::Apis::Core::JsonRepresentation; end
1233
1341
 
@@ -1516,6 +1624,30 @@ module Google
1516
1624
  include Google::Apis::Core::JsonObjectSupport
1517
1625
  end
1518
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
+
1519
1651
  class SecurityBulletin
1520
1652
  class Representation < Google::Apis::Core::JsonRepresentation; end
1521
1653
 
@@ -1692,6 +1824,7 @@ module Google
1692
1824
  property :location, as: 'location'
1693
1825
  property :name, as: 'name'
1694
1826
  property :publisher, as: 'publisher'
1827
+ property :usage_category, as: 'usageCategory'
1695
1828
  end
1696
1829
  end
1697
1830
 
@@ -1711,6 +1844,24 @@ module Google
1711
1844
  end
1712
1845
  end
1713
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
+
1714
1865
  class Attack
1715
1866
  # @private
1716
1867
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2199,6 +2350,7 @@ module Google
2199
2350
  property :contents, as: 'contents'
2200
2351
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::DiskPath::Representation
2201
2352
 
2353
+ property :file_load_state, as: 'fileLoadState'
2202
2354
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
2203
2355
  collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::FileOperation::Representation
2204
2356
 
@@ -2227,6 +2379,8 @@ module Google
2227
2379
 
2228
2380
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::Application, decorator: Google::Apis::SecuritycenterV1beta2::Application::Representation
2229
2381
 
2382
+ property :artifact_guard_policies, as: 'artifactGuardPolicies', class: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies, decorator: Google::Apis::SecuritycenterV1beta2::ArtifactGuardPolicies::Representation
2383
+
2230
2384
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::AttackExposure::Representation
2231
2385
 
2232
2386
  property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery::Representation
@@ -2311,6 +2465,8 @@ module Google
2311
2465
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
2312
2466
 
2313
2467
  property :resource_name, as: 'resourceName'
2468
+ property :secret, as: 'secret', class: Google::Apis::SecuritycenterV1beta2::Secret, decorator: Google::Apis::SecuritycenterV1beta2::Secret::Representation
2469
+
2314
2470
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
2315
2471
 
2316
2472
  property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPosture::Representation
@@ -2490,6 +2646,8 @@ module Google
2490
2646
  class GoogleCloudSecuritycenterV1Resource
2491
2647
  # @private
2492
2648
  class Representation < Google::Apis::Core::JsonRepresentation
2649
+ property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplication::Representation
2650
+
2493
2651
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AwsMetadata::Representation
2494
2652
 
2495
2653
  property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AzureMetadata::Representation
@@ -2513,6 +2671,52 @@ module Google
2513
2671
  end
2514
2672
  end
2515
2673
 
2674
+ class GoogleCloudSecuritycenterV1ResourceApplication
2675
+ # @private
2676
+ class Representation < Google::Apis::Core::JsonRepresentation
2677
+ property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributes::Representation
2678
+
2679
+ property :name, as: 'name'
2680
+ end
2681
+ end
2682
+
2683
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributes
2684
+ # @private
2685
+ class Representation < Google::Apis::Core::JsonRepresentation
2686
+ collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo::Representation
2687
+
2688
+ property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality::Representation
2689
+
2690
+ collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo::Representation
2691
+
2692
+ property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment::Representation
2693
+
2694
+ collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo::Representation
2695
+
2696
+ end
2697
+ end
2698
+
2699
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesContactInfo
2700
+ # @private
2701
+ class Representation < Google::Apis::Core::JsonRepresentation
2702
+ property :email, as: 'email'
2703
+ end
2704
+ end
2705
+
2706
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesCriticality
2707
+ # @private
2708
+ class Representation < Google::Apis::Core::JsonRepresentation
2709
+ property :type, as: 'type'
2710
+ end
2711
+ end
2712
+
2713
+ class GoogleCloudSecuritycenterV1ResourceApplicationAttributesEnvironment
2714
+ # @private
2715
+ class Representation < Google::Apis::Core::JsonRepresentation
2716
+ property :type, as: 'type'
2717
+ end
2718
+ end
2719
+
2516
2720
  class GoogleCloudSecuritycenterV1ResourceSelector
2517
2721
  # @private
2518
2722
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2701,6 +2905,7 @@ module Google
2701
2905
  property :location, as: 'location'
2702
2906
  property :name, as: 'name'
2703
2907
  property :publisher, as: 'publisher'
2908
+ property :usage_category, as: 'usageCategory'
2704
2909
  end
2705
2910
  end
2706
2911
 
@@ -2720,6 +2925,24 @@ module Google
2720
2925
  end
2721
2926
  end
2722
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
+
2723
2946
  class GoogleCloudSecuritycenterV2Attack
2724
2947
  # @private
2725
2948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3187,6 +3410,7 @@ module Google
3187
3410
  property :contents, as: 'contents'
3188
3411
  property :disk_path, as: 'diskPath', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2DiskPath::Representation
3189
3412
 
3413
+ property :file_load_state, as: 'fileLoadState'
3190
3414
  property :hashed_size, :numeric_string => true, as: 'hashedSize'
3191
3415
  collection :operations, as: 'operations', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2FileOperation::Representation
3192
3416
 
@@ -3215,6 +3439,8 @@ module Google
3215
3439
 
3216
3440
  property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Application::Representation
3217
3441
 
3442
+ property :artifact_guard_policies, as: 'artifactGuardPolicies', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicies, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ArtifactGuardPolicies::Representation
3443
+
3218
3444
  property :attack_exposure, as: 'attackExposure', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AttackExposure::Representation
3219
3445
 
3220
3446
  property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery::Representation
@@ -3300,6 +3526,8 @@ module Google
3300
3526
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process::Representation
3301
3527
 
3302
3528
  property :resource_name, as: 'resourceName'
3529
+ property :secret, as: 'secret', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Secret, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Secret::Representation
3530
+
3303
3531
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityMarks::Representation
3304
3532
 
3305
3533
  property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture::Representation
@@ -3880,6 +4108,8 @@ module Google
3880
4108
  class GoogleCloudSecuritycenterV2Resource
3881
4109
  # @private
3882
4110
  class Representation < Google::Apis::Core::JsonRepresentation
4111
+ property :application, as: 'application', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplication::Representation
4112
+
3883
4113
  property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata::Representation
3884
4114
 
3885
4115
  property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata::Representation
@@ -3898,6 +4128,52 @@ module Google
3898
4128
  end
3899
4129
  end
3900
4130
 
4131
+ class GoogleCloudSecuritycenterV2ResourceApplication
4132
+ # @private
4133
+ class Representation < Google::Apis::Core::JsonRepresentation
4134
+ property :attributes, as: 'attributes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributes, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributes::Representation
4135
+
4136
+ property :name, as: 'name'
4137
+ end
4138
+ end
4139
+
4140
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributes
4141
+ # @private
4142
+ class Representation < Google::Apis::Core::JsonRepresentation
4143
+ collection :business_owners, as: 'businessOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::Representation
4144
+
4145
+ property :criticality, as: 'criticality', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality::Representation
4146
+
4147
+ collection :developer_owners, as: 'developerOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::Representation
4148
+
4149
+ property :environment, as: 'environment', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment::Representation
4150
+
4151
+ collection :operator_owners, as: 'operatorOwners', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo::Representation
4152
+
4153
+ end
4154
+ end
4155
+
4156
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesContactInfo
4157
+ # @private
4158
+ class Representation < Google::Apis::Core::JsonRepresentation
4159
+ property :email, as: 'email'
4160
+ end
4161
+ end
4162
+
4163
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesCriticality
4164
+ # @private
4165
+ class Representation < Google::Apis::Core::JsonRepresentation
4166
+ property :type, as: 'type'
4167
+ end
4168
+ end
4169
+
4170
+ class GoogleCloudSecuritycenterV2ResourceApplicationAttributesEnvironment
4171
+ # @private
4172
+ class Representation < Google::Apis::Core::JsonRepresentation
4173
+ property :type, as: 'type'
4174
+ end
4175
+ end
4176
+
3901
4177
  class GoogleCloudSecuritycenterV2ResourcePath
3902
4178
  # @private
3903
4179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3942,6 +4218,41 @@ module Google
3942
4218
  end
3943
4219
  end
3944
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
+
3945
4256
  class GoogleCloudSecuritycenterV2SecurityBulletin
3946
4257
  # @private
3947
4258
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4424,6 +4735,41 @@ module Google
4424
4735
  end
4425
4736
  end
4426
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
+
4427
4773
  class SecurityBulletin
4428
4774
  # @private
4429
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.92.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.92.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: