Class: Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/oracledatabase_v1/classes.rb,
lib/google/apis/oracledatabase_v1/representations.rb,
lib/google/apis/oracledatabase_v1/representations.rb
Overview
Data collection options for DbSystem.
Instance Attribute Summary collapse
-
#is_diagnostics_events_enabled ⇒ Boolean
(also: #is_diagnostics_events_enabled?)
Optional.
-
#is_incident_logs_enabled ⇒ Boolean
(also: #is_incident_logs_enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataCollectionOptionsDbSystem
constructor
A new instance of DataCollectionOptionsDbSystem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataCollectionOptionsDbSystem
Returns a new instance of DataCollectionOptionsDbSystem.
2014 2015 2016 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2014 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_diagnostics_events_enabled ⇒ Boolean Also known as: is_diagnostics_events_enabled?
Optional. Indicates whether to enable data collection for diagnostics.
Corresponds to the JSON property isDiagnosticsEventsEnabled
2005 2006 2007 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2005 def is_diagnostics_events_enabled @is_diagnostics_events_enabled end |
#is_incident_logs_enabled ⇒ Boolean Also known as: is_incident_logs_enabled?
Optional. Indicates whether to enable incident logs and trace collection.
Corresponds to the JSON property isIncidentLogsEnabled
2011 2012 2013 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2011 def is_incident_logs_enabled @is_incident_logs_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2019 2020 2021 2022 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2019 def update!(**args) @is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled) @is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled) end |