Class: Google::Apis::SecuritycenterV1::OrganizationSettings

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) ⇒ OrganizationSettings

Returns a new instance of OrganizationSettings.



11824
11825
11826
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11824

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

Instance Attribute Details

#asset_discovery_configGoogle::Apis::SecuritycenterV1::AssetDiscoveryConfig

Corresponds to the JSON property assetDiscoveryConfig



11811
11812
11813
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11811

def asset_discovery_config
  @asset_discovery_config
end

#enable_asset_discoveryBoolean Also known as: enable_asset_discovery?

Corresponds to the JSON property enableAssetDiscovery

Returns:

  • (Boolean)


11816
11817
11818
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11816

def enable_asset_discovery
  @enable_asset_discovery
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11822
11823
11824
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11822

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11829
11830
11831
11832
11833
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11829

def update!(**args)
  @asset_discovery_config = args[:asset_discovery_config] if args.key?(:asset_discovery_config)
  @enable_asset_discovery = args[:enable_asset_discovery] if args.key?(:enable_asset_discovery)
  @name = args[:name] if args.key?(:name)
end