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
-
#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 info 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
2408 2409 2410 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2408 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_settings_enabled ⇒ Boolean Also known as: device_settings_enabled?
Whether device settings reporting is enabled.
Corresponds to the JSON property deviceSettingsEnabled
2369 2370 2371 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2369 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
2375 2376 2377 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2375 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
2381 2382 2383 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2381 def hardware_status_enabled @hardware_status_enabled end |
#memory_info_enabled ⇒ Boolean Also known as: memory_info_enabled?
Whether memory info reporting is enabled.
Corresponds to the JSON property memoryInfoEnabled
2387 2388 2389 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2387 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
2393 2394 2395 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2393 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
2399 2400 2401 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2399 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
2405 2406 2407 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2405 def software_info_enabled @software_info_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2413 2414 2415 2416 2417 2418 2419 2420 2421 |
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2413 def update!(**args) @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 |