Class: Google::Apis::OracledatabaseV1::DataCollectionOptions
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::DataCollectionOptions
- 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 diagnostics.
Instance Attribute Summary collapse
-
#diagnostics_events_enabled ⇒ Boolean
(also: #diagnostics_events_enabled?)
Optional.
-
#health_monitoring_enabled ⇒ Boolean
(also: #health_monitoring_enabled?)
Optional.
-
#incident_logs_enabled ⇒ Boolean
(also: #incident_logs_enabled?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataCollectionOptions
constructor
A new instance of DataCollectionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataCollectionOptions
Returns a new instance of DataCollectionOptions.
1634 1635 1636 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1634 def initialize(**args) update!(**args) end |
Instance Attribute Details
#diagnostics_events_enabled ⇒ Boolean Also known as: diagnostics_events_enabled?
Optional. Indicates whether diagnostic collection is enabled for the VM
cluster
Corresponds to the JSON property diagnosticsEventsEnabled
1618 1619 1620 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1618 def diagnostics_events_enabled @diagnostics_events_enabled end |
#health_monitoring_enabled ⇒ Boolean Also known as: health_monitoring_enabled?
Optional. Indicates whether health monitoring is enabled for the VM cluster
Corresponds to the JSON property healthMonitoringEnabled
1624 1625 1626 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1624 def health_monitoring_enabled @health_monitoring_enabled end |
#incident_logs_enabled ⇒ Boolean Also known as: incident_logs_enabled?
Optional. Indicates whether incident logs and trace collection are enabled for
the VM cluster
Corresponds to the JSON property incidentLogsEnabled
1631 1632 1633 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1631 def incident_logs_enabled @incident_logs_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1639 1640 1641 1642 1643 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1639 def update!(**args) @diagnostics_events_enabled = args[:diagnostics_events_enabled] if args.key?(:diagnostics_events_enabled) @health_monitoring_enabled = args[:health_monitoring_enabled] if args.key?(:health_monitoring_enabled) @incident_logs_enabled = args[:incident_logs_enabled] if args.key?(:incident_logs_enabled) end |