Class: Google::Apis::AndroidmanagementV1::StatusReportingSettings
- Inherits:
-
Object
- Object
- Google::Apis::AndroidmanagementV1::StatusReportingSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/androidmanagement_v1/classes.rb,
generated/google/apis/androidmanagement_v1/representations.rb,
generated/google/apis/androidmanagement_v1/representations.rb
Overview
Settings controlling the behavior of status reports.
Instance Attribute Summary collapse
-
#application_reports_enabled ⇒ Boolean
(also: #application_reports_enabled?)
Whether app reports are enabled.
-
#device_settings_enabled ⇒ Boolean
(also: #device_settings_enabled?)
Whether device settings reporting is enabled.
-
#display_info_enabled ⇒ Boolean
(also: #display_info_enabled?)
Whether displays reporting is enabled.
-
#hardware_status_enabled ⇒ Boolean
(also: #hardware_status_enabled?)
Whether hardware status reporting is enabled.
-
#memory_info_enabled ⇒ Boolean
(also: #memory_info_enabled?)
Whether memory reporting is enabled.
-
#network_info_enabled ⇒ Boolean
(also: #network_info_enabled?)
Whether network info reporting is enabled.
-
#power_management_events_enabled ⇒ Boolean
(also: #power_management_events_enabled?)
Whether power management event reporting is enabled.
-
#software_info_enabled ⇒ Boolean
(also: #software_info_enabled?)
Whether software info reporting is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StatusReportingSettings
constructor
A new instance of StatusReportingSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ StatusReportingSettings
Returns a new instance of StatusReportingSettings
2739 2740 2741 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2739 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_reports_enabled ⇒ Boolean Also known as: application_reports_enabled?
Whether app reports are enabled.
Corresponds to the JSON property applicationReportsEnabled
2694 2695 2696 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2694 def application_reports_enabled @application_reports_enabled end |
#device_settings_enabled ⇒ Boolean Also known as: device_settings_enabled?
Whether device settings reporting is enabled.
Corresponds to the JSON property deviceSettingsEnabled
2700 2701 2702 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2700 def device_settings_enabled @device_settings_enabled end |
#display_info_enabled ⇒ Boolean Also known as: display_info_enabled?
Whether displays reporting is enabled.
Corresponds to the JSON property displayInfoEnabled
2706 2707 2708 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2706 def display_info_enabled @display_info_enabled end |
#hardware_status_enabled ⇒ Boolean Also known as: hardware_status_enabled?
Whether hardware status reporting is enabled.
Corresponds to the JSON property hardwareStatusEnabled
2712 2713 2714 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2712 def hardware_status_enabled @hardware_status_enabled end |
#memory_info_enabled ⇒ Boolean Also known as: memory_info_enabled?
Whether memory reporting is enabled.
Corresponds to the JSON property memoryInfoEnabled
2718 2719 2720 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2718 def memory_info_enabled @memory_info_enabled end |
#network_info_enabled ⇒ Boolean Also known as: network_info_enabled?
Whether network info reporting is enabled.
Corresponds to the JSON property networkInfoEnabled
2724 2725 2726 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2724 def network_info_enabled @network_info_enabled end |
#power_management_events_enabled ⇒ Boolean Also known as: power_management_events_enabled?
Whether power management event reporting is enabled.
Corresponds to the JSON property powerManagementEventsEnabled
2730 2731 2732 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2730 def power_management_events_enabled @power_management_events_enabled end |
#software_info_enabled ⇒ Boolean Also known as: software_info_enabled?
Whether software info reporting is enabled.
Corresponds to the JSON property softwareInfoEnabled
2736 2737 2738 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2736 def software_info_enabled @software_info_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2744 def update!(**args) @application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled) @device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled) @display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled) @hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled) @memory_info_enabled = args[:memory_info_enabled] if args.key?(:memory_info_enabled) @network_info_enabled = args[:network_info_enabled] if args.key?(:network_info_enabled) @power_management_events_enabled = args[:power_management_events_enabled] if args.key?(:power_management_events_enabled) @software_info_enabled = args[:software_info_enabled] if args.key?(:software_info_enabled) end |