Class: Google::Apis::SecuritycenterV1::AssetDiscoveryConfig
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::AssetDiscoveryConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/representations.rb
Instance Attribute Summary collapse
-
#folder_ids ⇒ Array<String>
Corresponds to the JSON property
folderIds. -
#inclusion_mode ⇒ String
Corresponds to the JSON property
inclusionMode. -
#project_ids ⇒ Array<String>
Corresponds to the JSON property
projectIds.
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.
538 539 540 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 538 def initialize(**args) update!(**args) end |
Instance Attribute Details
#folder_ids ⇒ Array<String>
Corresponds to the JSON property folderIds
526 527 528 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 526 def folder_ids @folder_ids end |
#inclusion_mode ⇒ String
Corresponds to the JSON property inclusionMode
531 532 533 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 531 def inclusion_mode @inclusion_mode end |
#project_ids ⇒ Array<String>
Corresponds to the JSON property projectIds
536 537 538 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 536 def project_ids @project_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
543 544 545 546 547 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 543 def update!(**args) @folder_ids = args[:folder_ids] if args.key?(:folder_ids) @inclusion_mode = args[:inclusion_mode] if args.key?(:inclusion_mode) @project_ids = args[:project_ids] if args.key?(:project_ids) end |