Class: Google::Apis::OracledatabaseV1::DataCollectionOptionsDbSystem

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 DbSystem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataCollectionOptionsDbSystem

Returns a new instance of DataCollectionOptionsDbSystem.



1883
1884
1885
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1883

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)


1874
1875
1876
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1874

def is_diagnostics_events_enabled
  @is_diagnostics_events_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)


1880
1881
1882
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1880

def is_incident_logs_enabled
  @is_incident_logs_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1888
1889
1890
1891
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1888

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