Class: Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AssetDiscoveryConfig

Returns a new instance of AssetDiscoveryConfig.



521
522
523
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 521

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

Instance Attribute Details

#inclusion_modeString

Corresponds to the JSON property inclusionMode

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 514

def inclusion_mode
  @inclusion_mode
end

#project_idsArray<String>

Corresponds to the JSON property projectIds

Returns:

  • (Array<String>)


519
520
521
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 519

def project_ids
  @project_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



526
527
528
529
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 526

def update!(**args)
  @inclusion_mode = args[:inclusion_mode] if args.key?(:inclusion_mode)
  @project_ids = args[:project_ids] if args.key?(:project_ids)
end