google-apis-securitycenter_v1 0.69.0 → 0.71.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ee0dc39d9eb7bdde35d01b5ae733e6106262a185123e266b025a8253ab2286d
4
- data.tar.gz: 5ca773768ceb3364c0834c48308c765729f62cc65196f4d8ab27d51e9fcbdf2d
3
+ metadata.gz: b5b319bfc7956d0df0fc445db5733cec2900267e88ac16d05215c8cfa72db6e3
4
+ data.tar.gz: 0e1fc7f896210e44ba8bbbb1edb25efd447b0fd13f873da5467538101cb3ff32
5
5
  SHA512:
6
- metadata.gz: 8a8bc63c4a9b6354ac3f0f84ce043fd9a44354742c2e1269bd73fd237895dbb94f7a6bfcb595e2607ab2616ff87afce59afe8e4d5278ab5466e7c135b3d77142
7
- data.tar.gz: af39955ac5525e74b98e98a3a9051b1a61bba8618643525e6cb5db89a9f80cd5c6f139826afe843cc5dae5f2b53ff3255fa8122c6e14aab478003f11a1b312c4
6
+ metadata.gz: 514ba4f2fb42f8f91c1442bd56ecc4c763f939c633985b6b3a71bc9a89665eccf8212c608abf85d103059547984bd1b6a3467118e581f09e570096259441f332
7
+ data.tar.gz: 85ae41137756f2a24c0561d22604bc84e02b764bd6db4ebfec7a19fc6c0b73a6ae6dbda236b44f673af5f0e6392d16a24493cbdb07a16182b441fd3d89a37655
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1
2
2
 
3
+ ### v0.71.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231208
6
+
7
+ ### v0.70.0 (2023-12-03)
8
+
9
+ * Regenerated from discovery document revision 20231128
10
+
3
11
  ### v0.69.0 (2023-11-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20231113
@@ -186,6 +186,35 @@ module Google
186
186
  end
187
187
  end
188
188
 
189
+ # Represents an application associated with a finding.
190
+ class Application
191
+ include Google::Apis::Core::Hashable
192
+
193
+ # The base URI that identifies the network location of the application in which
194
+ # the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com,
195
+ # http://11.22.33.44:8080
196
+ # Corresponds to the JSON property `baseUri`
197
+ # @return [String]
198
+ attr_accessor :base_uri
199
+
200
+ # The full URI with payload that can be used to reproduce the vulnerability.
201
+ # Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=
202
+ # aMmYgI6H
203
+ # Corresponds to the JSON property `fullUri`
204
+ # @return [String]
205
+ attr_accessor :full_uri
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @base_uri = args[:base_uri] if args.key?(:base_uri)
214
+ @full_uri = args[:full_uri] if args.key?(:full_uri)
215
+ end
216
+ end
217
+
189
218
  # Security Command Center representation of a Google Cloud resource. The Asset
190
219
  # is a Security Command Center resource that captures information about a single
191
220
  # Google Cloud resource. All modifications to an Asset are only within the
@@ -582,6 +611,103 @@ module Google
582
611
  end
583
612
  end
584
613
 
614
+ # Information related to Google Cloud Backup and DR Service findings.
615
+ class BackupDisasterRecovery
616
+ include Google::Apis::Core::Hashable
617
+
618
+ # The name of the Backup and DR appliance that captures, moves, and manages the
619
+ # lifecycle of backup data. For example, “backup-server-57137”.
620
+ # Corresponds to the JSON property `appliance`
621
+ # @return [String]
622
+ attr_accessor :appliance
623
+
624
+ # The names of Backup and DR applications. An application is a VM, database, or
625
+ # file system on a managed host monitored by a backup and recovery appliance.
626
+ # For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
627
+ # Corresponds to the JSON property `applications`
628
+ # @return [Array<String>]
629
+ attr_accessor :applications
630
+
631
+ # The timestamp at which the Backup and DR backup was created.
632
+ # Corresponds to the JSON property `backupCreateTime`
633
+ # @return [String]
634
+ attr_accessor :backup_create_time
635
+
636
+ # The name of a Backup and DR template which comprises one or more backup
637
+ # policies. See the [Backup and DR documentation](https://cloud.google.com/
638
+ # backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information.
639
+ # For example, “snap-ov”.
640
+ # Corresponds to the JSON property `backupTemplate`
641
+ # @return [String]
642
+ attr_accessor :backup_template
643
+
644
+ # The backup type of the Backup and DR image. For example, “Snapshot”, “Remote
645
+ # Snapshot”, “OnVault”.
646
+ # Corresponds to the JSON property `backupType`
647
+ # @return [String]
648
+ attr_accessor :backup_type
649
+
650
+ # The name of a Backup and DR host, which is managed by the backup and recovery
651
+ # appliance and known to the management console. The host can be of type Generic
652
+ # (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.),
653
+ # vCenter, or an ESX server. See the [Backup and DR documentation on hosts](
654
+ # https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-
655
+ # hosts-and-their-applications) for more information. For example, “centos7-01”.
656
+ # Corresponds to the JSON property `host`
657
+ # @return [String]
658
+ attr_accessor :host
659
+
660
+ # The names of Backup and DR policies that are associated with a template and
661
+ # that define when to run a backup, how frequently to run a backup, and how long
662
+ # to retain the backup image. For example, “onvaults”.
663
+ # Corresponds to the JSON property `policies`
664
+ # @return [Array<String>]
665
+ attr_accessor :policies
666
+
667
+ # The names of Backup and DR advanced policy options of a policy applying to an
668
+ # application. See the [Backup and DR documentation on policy options](https://
669
+ # cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
670
+ # For example, “skipofflineappsincongrp, nounmap”.
671
+ # Corresponds to the JSON property `policyOptions`
672
+ # @return [Array<String>]
673
+ attr_accessor :policy_options
674
+
675
+ # The name of the Backup and DR resource profile that specifies the storage
676
+ # media for backups of application and VM data. See the [Backup and DR
677
+ # documentation on profiles](https://cloud.google.com/backup-disaster-recovery/
678
+ # docs/concepts/backup-plan#profile). For example, “GCP”.
679
+ # Corresponds to the JSON property `profile`
680
+ # @return [String]
681
+ attr_accessor :profile
682
+
683
+ # The name of the Backup and DR storage pool that the backup and recovery
684
+ # appliance is storing data in. The storage pool could be of type Cloud, Primary,
685
+ # Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](
686
+ # https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
687
+ # For example, “DiskPoolOne”.
688
+ # Corresponds to the JSON property `storagePool`
689
+ # @return [String]
690
+ attr_accessor :storage_pool
691
+
692
+ def initialize(**args)
693
+ update!(**args)
694
+ end
695
+
696
+ # Update properties of this object
697
+ def update!(**args)
698
+ @appliance = args[:appliance] if args.key?(:appliance)
699
+ @applications = args[:applications] if args.key?(:applications)
700
+ @backup_create_time = args[:backup_create_time] if args.key?(:backup_create_time)
701
+ @backup_template = args[:backup_template] if args.key?(:backup_template)
702
+ @backup_type = args[:backup_type] if args.key?(:backup_type)
703
+ @host = args[:host] if args.key?(:host)
704
+ @policies = args[:policies] if args.key?(:policies)
705
+ @policy_options = args[:policy_options] if args.key?(:policy_options)
706
+ @profile = args[:profile] if args.key?(:profile)
707
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
708
+ end
709
+ end
710
+
585
711
  # Request message to create multiple resource value configs
586
712
  class BatchCreateResourceValueConfigsRequest
587
713
  include Google::Apis::Core::Hashable
@@ -1354,6 +1480,68 @@ module Google
1354
1480
  end
1355
1481
  end
1356
1482
 
1483
+ # An EffectiveEventThreatDetectionCustomModule is the representation of an Event
1484
+ # Threat Detection custom module at a specified level of the resource hierarchy:
1485
+ # organization, folder, or project. If a custom module is inherited from a
1486
+ # parent organization or folder, the value of the `enablement_state` property in
1487
+ # EffectiveEventThreatDetectionCustomModule is set to the value that is
1488
+ # effective in the parent, instead of `INHERITED`. For example, if the module is
1489
+ # enabled in a parent organization or folder, the effective `enablement_state`
1490
+ # for the module in all child folders or projects is also `enabled`.
1491
+ # EffectiveEventThreatDetectionCustomModule is read-only.
1492
+ class EffectiveEventThreatDetectionCustomModule
1493
+ include Google::Apis::Core::Hashable
1494
+
1495
+ # Output only. Config for the effective module.
1496
+ # Corresponds to the JSON property `config`
1497
+ # @return [Hash<String,Object>]
1498
+ attr_accessor :config
1499
+
1500
+ # Output only. The description for the module.
1501
+ # Corresponds to the JSON property `description`
1502
+ # @return [String]
1503
+ attr_accessor :description
1504
+
1505
+ # Output only. The human readable name to be displayed for the module.
1506
+ # Corresponds to the JSON property `displayName`
1507
+ # @return [String]
1508
+ attr_accessor :display_name
1509
+
1510
+ # Output only. The effective state of enablement for the module at the given
1511
+ # level of the hierarchy.
1512
+ # Corresponds to the JSON property `enablementState`
1513
+ # @return [String]
1514
+ attr_accessor :enablement_state
1515
+
1516
+ # Output only. The resource name of the effective ETD custom module. Its format
1517
+ # is: * "organizations/`organization`/eventThreatDetectionSettings/
1518
+ # effectiveCustomModules/`module`". * "folders/`folder`/
1519
+ # eventThreatDetectionSettings/effectiveCustomModules/`module`". * "projects/`
1520
+ # project`/eventThreatDetectionSettings/effectiveCustomModules/`module`".
1521
+ # Corresponds to the JSON property `name`
1522
+ # @return [String]
1523
+ attr_accessor :name
1524
+
1525
+ # Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP.
1526
+ # Corresponds to the JSON property `type`
1527
+ # @return [String]
1528
+ attr_accessor :type
1529
+
1530
+ def initialize(**args)
1531
+ update!(**args)
1532
+ end
1533
+
1534
+ # Update properties of this object
1535
+ def update!(**args)
1536
+ @config = args[:config] if args.key?(:config)
1537
+ @description = args[:description] if args.key?(:description)
1538
+ @display_name = args[:display_name] if args.key?(:display_name)
1539
+ @enablement_state = args[:enablement_state] if args.key?(:enablement_state)
1540
+ @name = args[:name] if args.key?(:name)
1541
+ @type = args[:type] if args.key?(:type)
1542
+ end
1543
+ end
1544
+
1357
1545
  # A generic empty message that you can re-use to avoid defining duplicated empty
1358
1546
  # messages in your APIs. A typical example is to use it as the request or the
1359
1547
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -1398,10 +1586,19 @@ module Google
1398
1586
 
1399
1587
  # Represents an instance of an Event Threat Detection custom module, including
1400
1588
  # its full module name, display name, enablement state, and last updated time.
1401
- # You can create a custom module at the organization level only.
1589
+ # You can create a custom module at the organization, folder, or project level.
1590
+ # Custom modules that you create at the organization or folder level are
1591
+ # inherited by child folders and projects.
1402
1592
  class EventThreatDetectionCustomModule
1403
1593
  include Google::Apis::Core::Hashable
1404
1594
 
1595
+ # Output only. The closest ancestor module that this module inherits the
1596
+ # enablement state from. The format is the same as the
1597
+ # EventThreatDetectionCustomModule resource name.
1598
+ # Corresponds to the JSON property `ancestorModule`
1599
+ # @return [String]
1600
+ attr_accessor :ancestor_module
1601
+
1405
1602
  # Config for the module. For the resident module, its config value is defined at
1406
1603
  # this level. For the inherited module, its config value is inherited from the
1407
1604
  # ancestor module.
@@ -1454,6 +1651,7 @@ module Google
1454
1651
 
1455
1652
  # Update properties of this object
1456
1653
  def update!(**args)
1654
+ @ancestor_module = args[:ancestor_module] if args.key?(:ancestor_module)
1457
1655
  @config = args[:config] if args.key?(:config)
1458
1656
  @description = args[:description] if args.key?(:description)
1459
1657
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -1651,11 +1849,21 @@ module Google
1651
1849
  # @return [Google::Apis::SecuritycenterV1::Access]
1652
1850
  attr_accessor :access
1653
1851
 
1852
+ # Represents an application associated with a finding.
1853
+ # Corresponds to the JSON property `application`
1854
+ # @return [Google::Apis::SecuritycenterV1::Application]
1855
+ attr_accessor :application
1856
+
1654
1857
  # An attack exposure contains the results of an attack path simulation run.
1655
1858
  # Corresponds to the JSON property `attackExposure`
1656
1859
  # @return [Google::Apis::SecuritycenterV1::AttackExposure]
1657
1860
  attr_accessor :attack_exposure
1658
1861
 
1862
+ # Information related to Google Cloud Backup and DR Service findings.
1863
+ # Corresponds to the JSON property `backupDisasterRecovery`
1864
+ # @return [Google::Apis::SecuritycenterV1::BackupDisasterRecovery]
1865
+ attr_accessor :backup_disaster_recovery
1866
+
1659
1867
  # The canonical name of the finding. It's either "organizations/`organization_id`
1660
1868
  # /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
1661
1869
  # source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
@@ -1932,7 +2140,9 @@ module Google
1932
2140
  # Update properties of this object
1933
2141
  def update!(**args)
1934
2142
  @access = args[:access] if args.key?(:access)
2143
+ @application = args[:application] if args.key?(:application)
1935
2144
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
2145
+ @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
1936
2146
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
1937
2147
  @category = args[:category] if args.key?(:category)
1938
2148
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
@@ -3299,6 +3509,35 @@ module Google
3299
3509
  end
3300
3510
  end
3301
3511
 
3512
+ # Represents an application associated with a finding.
3513
+ class GoogleCloudSecuritycenterV2Application
3514
+ include Google::Apis::Core::Hashable
3515
+
3516
+ # The base URI that identifies the network location of the application in which
3517
+ # the vulnerability was detected. Examples: http://11.22.33.44, http://foo.com,
3518
+ # http://11.22.33.44:8080
3519
+ # Corresponds to the JSON property `baseUri`
3520
+ # @return [String]
3521
+ attr_accessor :base_uri
3522
+
3523
+ # The full URI with payload that could be used to reproduce the vulnerability.
3524
+ # Example: http://11.22.33.44/reflected/parameter/attribute/singlequoted/js?p=
3525
+ # aMmYgI6H
3526
+ # Corresponds to the JSON property `fullUri`
3527
+ # @return [String]
3528
+ attr_accessor :full_uri
3529
+
3530
+ def initialize(**args)
3531
+ update!(**args)
3532
+ end
3533
+
3534
+ # Update properties of this object
3535
+ def update!(**args)
3536
+ @base_uri = args[:base_uri] if args.key?(:base_uri)
3537
+ @full_uri = args[:full_uri] if args.key?(:full_uri)
3538
+ end
3539
+ end
3540
+
3302
3541
  # An attack exposure contains the results of an attack path simulation run.
3303
3542
  class GoogleCloudSecuritycenterV2AttackExposure
3304
3543
  include Google::Apis::Core::Hashable
@@ -3362,6 +3601,103 @@ module Google
3362
3601
  end
3363
3602
  end
3364
3603
 
3604
+ # Information related to Google Cloud Backup and DR Service findings.
3605
+ class GoogleCloudSecuritycenterV2BackupDisasterRecovery
3606
+ include Google::Apis::Core::Hashable
3607
+
3608
+ # The name of the Backup and DR appliance that captures, moves, and manages the
3609
+ # lifecycle of backup data. For example, “backup-server-57137”.
3610
+ # Corresponds to the JSON property `appliance`
3611
+ # @return [String]
3612
+ attr_accessor :appliance
3613
+
3614
+ # The names of Backup and DR applications. An application is a VM, database, or
3615
+ # file system on a managed host monitored by a backup and recovery appliance.
3616
+ # For example, “centos7-01-vol00”, “centos7-01-vol01”, “centos7-01-vol02”.
3617
+ # Corresponds to the JSON property `applications`
3618
+ # @return [Array<String>]
3619
+ attr_accessor :applications
3620
+
3621
+ # The timestamp at which the Backup and DR backup was created.
3622
+ # Corresponds to the JSON property `backupCreateTime`
3623
+ # @return [String]
3624
+ attr_accessor :backup_create_time
3625
+
3626
+ # The name of a Backup and DR template which comprises one or more backup
3627
+ # policies. See the [Backup and DR documentation](https://cloud.google.com/
3628
+ # backup-disaster-recovery/docs/concepts/backup-plan#temp) for more information.
3629
+ # For example, “snap-ov”.
3630
+ # Corresponds to the JSON property `backupTemplate`
3631
+ # @return [String]
3632
+ attr_accessor :backup_template
3633
+
3634
+ # The backup type of the Backup and DR image. For example, “Snapshot”, “Remote
3635
+ # Snapshot”, “OnVault”.
3636
+ # Corresponds to the JSON property `backupType`
3637
+ # @return [String]
3638
+ attr_accessor :backup_type
3639
+
3640
+ # The name of a Backup and DR host, which is managed by the backup and recovery
3641
+ # appliance and known to the management console. The host can be of type Generic
3642
+ # (for example, Compute Engine, SQL Server, Oracle DB, SMB file system, etc.),
3643
+ # vCenter, or an ESX server. See the [Backup and DR documentation on hosts](
3644
+ # https://cloud.google.com/backup-disaster-recovery/docs/configuration/manage-
3645
+ # hosts-and-their-applications) for more information. For example, “centos7-01”.
3646
+ # Corresponds to the JSON property `host`
3647
+ # @return [String]
3648
+ attr_accessor :host
3649
+
3650
+ # The names of Backup and DR policies that are associated with a template and
3651
+ # that define when to run a backup, how frequently to run a backup, and how long
3652
+ # to retain the backup image. For example, “onvaults”.
3653
+ # Corresponds to the JSON property `policies`
3654
+ # @return [Array<String>]
3655
+ attr_accessor :policies
3656
+
3657
+ # The names of Backup and DR advanced policy options of a policy applying to an
3658
+ # application. See the [Backup and DR documentation on policy options](https://
3659
+ # cloud.google.com/backup-disaster-recovery/docs/create-plan/policy-settings).
3660
+ # For example, “skipofflineappsincongrp, nounmap”.
3661
+ # Corresponds to the JSON property `policyOptions`
3662
+ # @return [Array<String>]
3663
+ attr_accessor :policy_options
3664
+
3665
+ # The name of the Backup and DR resource profile that specifies the storage
3666
+ # media for backups of application and VM data. See the [Backup and DR
3667
+ # documentation on profiles](https://cloud.google.com/backup-disaster-recovery/
3668
+ # docs/concepts/backup-plan#profile). For example, “GCP”.
3669
+ # Corresponds to the JSON property `profile`
3670
+ # @return [String]
3671
+ attr_accessor :profile
3672
+
3673
+ # The name of the Backup and DR storage pool that the backup and recovery
3674
+ # appliance is storing data in. The storage pool could be of type Cloud, Primary,
3675
+ # Snapshot, or OnVault. See the [Backup and DR documentation on storage pools](
3676
+ # https://cloud.google.com/backup-disaster-recovery/docs/concepts/storage-pools).
3677
+ # For example, “DiskPoolOne”.
3678
+ # Corresponds to the JSON property `storagePool`
3679
+ # @return [String]
3680
+ attr_accessor :storage_pool
3681
+
3682
+ def initialize(**args)
3683
+ update!(**args)
3684
+ end
3685
+
3686
+ # Update properties of this object
3687
+ def update!(**args)
3688
+ @appliance = args[:appliance] if args.key?(:appliance)
3689
+ @applications = args[:applications] if args.key?(:applications)
3690
+ @backup_create_time = args[:backup_create_time] if args.key?(:backup_create_time)
3691
+ @backup_template = args[:backup_template] if args.key?(:backup_template)
3692
+ @backup_type = args[:backup_type] if args.key?(:backup_type)
3693
+ @host = args[:host] if args.key?(:host)
3694
+ @policies = args[:policies] if args.key?(:policies)
3695
+ @policy_options = args[:policy_options] if args.key?(:policy_options)
3696
+ @profile = args[:profile] if args.key?(:profile)
3697
+ @storage_pool = args[:storage_pool] if args.key?(:storage_pool)
3698
+ end
3699
+ end
3700
+
3365
3701
  # Configures how to deliver Findings to BigQuery Instance.
3366
3702
  class GoogleCloudSecuritycenterV2BigQueryExport
3367
3703
  include Google::Apis::Core::Hashable
@@ -4182,11 +4518,21 @@ module Google
4182
4518
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Access]
4183
4519
  attr_accessor :access
4184
4520
 
4521
+ # Represents an application associated with a finding.
4522
+ # Corresponds to the JSON property `application`
4523
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Application]
4524
+ attr_accessor :application
4525
+
4185
4526
  # An attack exposure contains the results of an attack path simulation run.
4186
4527
  # Corresponds to the JSON property `attackExposure`
4187
4528
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2AttackExposure]
4188
4529
  attr_accessor :attack_exposure
4189
4530
 
4531
+ # Information related to Google Cloud Backup and DR Service findings.
4532
+ # Corresponds to the JSON property `backupDisasterRecovery`
4533
+ # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2BackupDisasterRecovery]
4534
+ attr_accessor :backup_disaster_recovery
4535
+
4190
4536
  # Output only. The canonical name of the finding. The following list shows some
4191
4537
  # examples: + `organizations/`organization_id`/sources/`source_id`/findings/`
4192
4538
  # finding_id`` + `organizations/`organization_id`/sources/`source_id`/locations/`
@@ -4477,7 +4823,9 @@ module Google
4477
4823
  # Update properties of this object
4478
4824
  def update!(**args)
4479
4825
  @access = args[:access] if args.key?(:access)
4826
+ @application = args[:application] if args.key?(:application)
4480
4827
  @attack_exposure = args[:attack_exposure] if args.key?(:attack_exposure)
4828
+ @backup_disaster_recovery = args[:backup_disaster_recovery] if args.key?(:backup_disaster_recovery)
4481
4829
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
4482
4830
  @category = args[:category] if args.key?(:category)
4483
4831
  @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
@@ -6345,6 +6693,33 @@ module Google
6345
6693
  end
6346
6694
  end
6347
6695
 
6696
+ # Response for listing current and descendant resident Event Threat Detection
6697
+ # custom modules.
6698
+ class ListDescendantEventThreatDetectionCustomModulesResponse
6699
+ include Google::Apis::Core::Hashable
6700
+
6701
+ # Custom modules belonging to the requested parent.
6702
+ # Corresponds to the JSON property `eventThreatDetectionCustomModules`
6703
+ # @return [Array<Google::Apis::SecuritycenterV1::EventThreatDetectionCustomModule>]
6704
+ attr_accessor :event_threat_detection_custom_modules
6705
+
6706
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
6707
+ # field is omitted, there are no subsequent pages.
6708
+ # Corresponds to the JSON property `nextPageToken`
6709
+ # @return [String]
6710
+ attr_accessor :next_page_token
6711
+
6712
+ def initialize(**args)
6713
+ update!(**args)
6714
+ end
6715
+
6716
+ # Update properties of this object
6717
+ def update!(**args)
6718
+ @event_threat_detection_custom_modules = args[:event_threat_detection_custom_modules] if args.key?(:event_threat_detection_custom_modules)
6719
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6720
+ end
6721
+ end
6722
+
6348
6723
  # Response message for listing descendant Security Health Analytics custom
6349
6724
  # modules.
6350
6725
  class ListDescendantSecurityHealthAnalyticsCustomModulesResponse
@@ -6371,6 +6746,32 @@ module Google
6371
6746
  end
6372
6747
  end
6373
6748
 
6749
+ # Response for listing EffectiveEventThreatDetectionCustomModules.
6750
+ class ListEffectiveEventThreatDetectionCustomModulesResponse
6751
+ include Google::Apis::Core::Hashable
6752
+
6753
+ # Effective custom modules belonging to the requested parent.
6754
+ # Corresponds to the JSON property `effectiveEventThreatDetectionCustomModules`
6755
+ # @return [Array<Google::Apis::SecuritycenterV1::EffectiveEventThreatDetectionCustomModule>]
6756
+ attr_accessor :effective_event_threat_detection_custom_modules
6757
+
6758
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
6759
+ # field is omitted, there are no subsequent pages.
6760
+ # Corresponds to the JSON property `nextPageToken`
6761
+ # @return [String]
6762
+ attr_accessor :next_page_token
6763
+
6764
+ def initialize(**args)
6765
+ update!(**args)
6766
+ end
6767
+
6768
+ # Update properties of this object
6769
+ def update!(**args)
6770
+ @effective_event_threat_detection_custom_modules = args[:effective_event_threat_detection_custom_modules] if args.key?(:effective_event_threat_detection_custom_modules)
6771
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6772
+ end
6773
+ end
6774
+
6374
6775
  # Response message for listing effective Security Health Analytics custom
6375
6776
  # modules.
6376
6777
  class ListEffectiveSecurityHealthAnalyticsCustomModulesResponse
@@ -7820,8 +8221,9 @@ module Google
7820
8221
  # @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomConfig]
7821
8222
  attr_accessor :custom_config
7822
8223
 
7823
- # Manually constructed resource. If the custom module only evaluates against the
7824
- # resource data, the iam_policy_data field can be omitted, and vice versa.
8224
+ # Manually constructed resource name. If the custom module evaluates against
8225
+ # only the resource data, you can omit the `iam_policy_data` field. If it
8226
+ # evaluates only the `iam_policy_data` field, you can omit the resource data.
7825
8227
  # Corresponds to the JSON property `resource`
7826
8228
  # @return [Google::Apis::SecuritycenterV1::SimulatedResource]
7827
8229
  attr_accessor :resource
@@ -7837,8 +8239,8 @@ module Google
7837
8239
  end
7838
8240
  end
7839
8241
 
7840
- # Response message for simulating a SecurityHealthAnalyticsCustomModule against
7841
- # a given resource.
8242
+ # Response message for simulating a `SecurityHealthAnalyticsCustomModule`
8243
+ # against a given resource.
7842
8244
  class SimulateSecurityHealthAnalyticsCustomModuleResponse
7843
8245
  include Google::Apis::Core::Hashable
7844
8246
 
@@ -7857,8 +8259,9 @@ module Google
7857
8259
  end
7858
8260
  end
7859
8261
 
7860
- # Manually constructed resource. If the custom module only evaluates against the
7861
- # resource data, the iam_policy_data field can be omitted, and vice versa.
8262
+ # Manually constructed resource name. If the custom module evaluates against
8263
+ # only the resource data, you can omit the `iam_policy_data` field. If it
8264
+ # evaluates only the `iam_policy_data` field, you can omit the resource data.
7862
8265
  class SimulatedResource
7863
8266
  include Google::Apis::Core::Hashable
7864
8267
 
@@ -7893,13 +8296,13 @@ module Google
7893
8296
  # @return [Google::Apis::SecuritycenterV1::Policy]
7894
8297
  attr_accessor :iam_policy_data
7895
8298
 
7896
- # Optional. A representation of the GCP resource. Should match the GCP resource
7897
- # JSON format.
8299
+ # Optional. A representation of the Google Cloud resource. Should match the
8300
+ # Google Cloud resource JSON format.
7898
8301
  # Corresponds to the JSON property `resourceData`
7899
8302
  # @return [Hash<String,Object>]
7900
8303
  attr_accessor :resource_data
7901
8304
 
7902
- # Required. The type of the resource, e.g. `compute.googleapis.com/Disk`.
8305
+ # Required. The type of the resource, for example, `compute.googleapis.com/Disk`.
7903
8306
  # Corresponds to the JSON property `resourceType`
7904
8307
  # @return [String]
7905
8308
  attr_accessor :resource_type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1
18
18
  # Version of the google-apis-securitycenter_v1 gem
19
- GEM_VERSION = "0.69.0"
19
+ GEM_VERSION = "0.71.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231113"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end