Class: Google::Apis::SecuritycenterV1beta1::OrganizationSettings
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::OrganizationSettings
- 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
-
#asset_discovery_config ⇒ Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig
Corresponds to the JSON property
assetDiscoveryConfig. -
#enable_asset_discovery ⇒ Boolean
(also: #enable_asset_discovery?)
Corresponds to the JSON property
enableAssetDiscovery. -
#name ⇒ String
Corresponds to the JSON property
name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrganizationSettings
constructor
A new instance of OrganizationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrganizationSettings
Returns a new instance of OrganizationSettings.
10962 10963 10964 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10962 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset_discovery_config ⇒ Google::Apis::SecuritycenterV1beta1::AssetDiscoveryConfig
Corresponds to the JSON property assetDiscoveryConfig
10949 10950 10951 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10949 def asset_discovery_config @asset_discovery_config end |
#enable_asset_discovery ⇒ Boolean Also known as: enable_asset_discovery?
Corresponds to the JSON property enableAssetDiscovery
10954 10955 10956 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10954 def enable_asset_discovery @enable_asset_discovery end |
#name ⇒ String
Corresponds to the JSON property name
10960 10961 10962 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10960 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10967 10968 10969 10970 10971 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10967 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 |