Class: Google::Apis::OracledatabaseV1::DataCollectionOptionsCommon

Inherits:
Object
  • Object
show all
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. https://docs.oracle.com/en-us/iaas/ api/#/en/database/20160918/datatypes/DataCollectionOptions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataCollectionOptionsCommon

Returns a new instance of DataCollectionOptionsCommon.



2039
2040
2041
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2039

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

Instance Attribute Details

#is_diagnostics_events_enabledBoolean Also known as: is_diagnostics_events_enabled?

Optional. Indicates whether to enable data collection for diagnostics. Corresponds to the JSON property isDiagnosticsEventsEnabled

Returns:

  • (Boolean)


2024
2025
2026
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2024

def is_diagnostics_events_enabled
  @is_diagnostics_events_enabled
end

#is_health_monitoring_enabledBoolean Also known as: is_health_monitoring_enabled?

Optional. Indicates whether to enable health monitoring. Corresponds to the JSON property isHealthMonitoringEnabled

Returns:

  • (Boolean)


2030
2031
2032
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2030

def is_health_monitoring_enabled
  @is_health_monitoring_enabled
end

#is_incident_logs_enabledBoolean Also known as: is_incident_logs_enabled?

Optional. Indicates whether to enable incident logs and trace collection. Corresponds to the JSON property isIncidentLogsEnabled

Returns:

  • (Boolean)


2036
2037
2038
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2036

def is_incident_logs_enabled
  @is_incident_logs_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2044
2045
2046
2047
2048
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 2044

def update!(**args)
  @is_diagnostics_events_enabled = args[:is_diagnostics_events_enabled] if args.key?(:is_diagnostics_events_enabled)
  @is_health_monitoring_enabled = args[:is_health_monitoring_enabled] if args.key?(:is_health_monitoring_enabled)
  @is_incident_logs_enabled = args[:is_incident_logs_enabled] if args.key?(:is_incident_logs_enabled)
end