Class: Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/securitycenter_v1beta1/classes.rb,
generated/google/apis/securitycenter_v1beta1/representations.rb,
generated/google/apis/securitycenter_v1beta1/representations.rb
Overview
The configuration used for Asset Discovery runs.
Instance Attribute Summary collapse
-
#inclusion_mode ⇒ String
The mode to use for filtering asset discovery.
-
#project_ids ⇒ Array<String>
The project ids to use for filtering asset discovery.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AssetDiscoveryConfig
constructor
A new instance of AssetDiscoveryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AssetDiscoveryConfig
Returns a new instance of AssetDiscoveryConfig.
100 101 102 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 100 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inclusion_mode ⇒ String
The mode to use for filtering asset discovery.
Corresponds to the JSON property inclusionMode
93 94 95 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 93 def inclusion_mode @inclusion_mode end |
#project_ids ⇒ Array<String>
The project ids to use for filtering asset discovery.
Corresponds to the JSON property projectIds
98 99 100 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 98 def project_ids @project_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
105 106 107 108 |
# File 'generated/google/apis/securitycenter_v1beta1/classes.rb', line 105 def update!(**args) @inclusion_mode = args[:inclusion_mode] if args.key?(:inclusion_mode) @project_ids = args[:project_ids] if args.key?(:project_ids) end |