class Google::Apis::SecuritycenterV1::OrganizationSettings

User specified settings that are attached to the Security Command Center organization.

Attributes

asset_discovery_config[RW]

The configuration used for Asset Discovery runs. Corresponds to the JSON property `assetDiscoveryConfig` @return [Google::Apis::SecuritycenterV1::AssetDiscoveryConfig]

enable_asset_discovery[RW]

A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur. Corresponds to the JSON property `enableAssetDiscovery` @return [Boolean]

enable_asset_discovery?[RW]

A flag that indicates if Asset Discovery should be enabled. If the flag is set to `true`, then discovery of assets will occur. If it is set to `false, all historical assets will remain, but discovery of future assets will not occur. Corresponds to the JSON property `enableAssetDiscovery` @return [Boolean]

name[RW]

The relative resource name of the settings. See: cloud.google.com/apis/ design/resource_names#relative_resource_name Example: ā€œorganizations/` organization_id`/organizationSettingsā€. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/securitycenter_v1/classes.rb, line 1830
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 1835
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