Class: Google::Apis::AndroidmanagementV1::StatusReportingSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

Whether app reports are enabled. Corresponds to the JSON property applicationReportsEnabled

Returns:

  • (Boolean)


2694
2695
2696
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2694

def application_reports_enabled
  @application_reports_enabled
end

#device_settings_enabledBoolean Also known as: device_settings_enabled?

Whether device settings reporting is enabled. Corresponds to the JSON property deviceSettingsEnabled

Returns:

  • (Boolean)


2700
2701
2702
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2700

def device_settings_enabled
  @device_settings_enabled
end

#display_info_enabledBoolean Also known as: display_info_enabled?

Whether displays reporting is enabled. Corresponds to the JSON property displayInfoEnabled

Returns:

  • (Boolean)


2706
2707
2708
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2706

def display_info_enabled
  @display_info_enabled
end

#hardware_status_enabledBoolean Also known as: hardware_status_enabled?

Whether hardware status reporting is enabled. Corresponds to the JSON property hardwareStatusEnabled

Returns:

  • (Boolean)


2712
2713
2714
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2712

def hardware_status_enabled
  @hardware_status_enabled
end

#memory_info_enabledBoolean Also known as: memory_info_enabled?

Whether memory reporting is enabled. Corresponds to the JSON property memoryInfoEnabled

Returns:

  • (Boolean)


2718
2719
2720
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2718

def memory_info_enabled
  @memory_info_enabled
end

#network_info_enabledBoolean Also known as: network_info_enabled?

Whether network info reporting is enabled. Corresponds to the JSON property networkInfoEnabled

Returns:

  • (Boolean)


2724
2725
2726
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2724

def network_info_enabled
  @network_info_enabled
end

#power_management_events_enabledBoolean Also known as: power_management_events_enabled?

Whether power management event reporting is enabled. Corresponds to the JSON property powerManagementEventsEnabled

Returns:

  • (Boolean)


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

Whether software info reporting is enabled. Corresponds to the JSON property softwareInfoEnabled

Returns:

  • (Boolean)


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