class Google::Apis::SecuritycenterV1::AssetDiscoveryConfig

The configuration used for Asset Discovery runs.

Attributes

folder_ids[RW]

The folder ids to use for filtering asset discovery. It consists of only digits, e.g., 756619654966. Corresponds to the JSON property `folderIds` @return [Array<String>]

inclusion_mode[RW]

The mode to use for filtering asset discovery. Corresponds to the JSON property `inclusionMode` @return [String]

project_ids[RW]

The project ids to use for filtering asset discovery. Corresponds to the JSON property `projectIds` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/securitycenter_v1/classes.rb, line 122
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/securitycenter_v1/classes.rb, line 127
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