Class: Google::Apis::SecuritycenterV1::AssetDiscoveryConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetDiscoveryConfig

Returns a new instance of AssetDiscoveryConfig.



613
614
615
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 613

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#folder_idsArray<String>

Corresponds to the JSON property folderIds

Returns:

  • (Array<String>)


601
602
603
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 601

def folder_ids
  @folder_ids
end

#inclusion_modeString

Corresponds to the JSON property inclusionMode

Returns:

  • (String)


606
607
608
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 606

def inclusion_mode
  @inclusion_mode
end

#project_idsArray<String>

Corresponds to the JSON property projectIds

Returns:

  • (Array<String>)


611
612
613
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 611

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



618
619
620
621
622
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 618

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