Class: Google::Apis::OracledatabaseV1::DataCollectionOptions

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.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_enabledBoolean Also known as: diagnostics_events_enabled?

Optional. Indicates whether diagnostic collection is enabled for the VM cluster Corresponds to the JSON property diagnosticsEventsEnabled

Returns:

  • (Boolean)


1618
1619
1620
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1618

def diagnostics_events_enabled
  @diagnostics_events_enabled
end

#health_monitoring_enabledBoolean Also known as: health_monitoring_enabled?

Optional. Indicates whether health monitoring is enabled for the VM cluster Corresponds to the JSON property healthMonitoringEnabled

Returns:

  • (Boolean)


1624
1625
1626
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 1624

def health_monitoring_enabled
  @health_monitoring_enabled
end

#incident_logs_enabledBoolean 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

Returns:

  • (Boolean)


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