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.


3366
3367
3368
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3366

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#application_reporting_settingsGoogle::Apis::AndroidmanagementV1::ApplicationReportingSettings

Settings controlling the behavior of application reports. Corresponds to the JSON property applicationReportingSettings


3307
3308
3309
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3307

def application_reporting_settings
  @application_reporting_settings
end

#application_reports_enabledBoolean Also known as: application_reports_enabled?

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

Returns:

  • (Boolean)

3312
3313
3314
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3312

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)

3318
3319
3320
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3318

def device_settings_enabled
  @device_settings_enabled
end

#display_info_enabledBoolean Also known as: display_info_enabled?

Whether displays reporting is enabled. Report data is not available for personally owned devices with work profiles. Corresponds to the JSON property displayInfoEnabled

Returns:

  • (Boolean)

3325
3326
3327
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3325

def display_info_enabled
  @display_info_enabled
end

#hardware_status_enabledBoolean Also known as: hardware_status_enabled?

Whether hardware status reporting is enabled. Report data is not available for personally owned devices with work profiles. Corresponds to the JSON property hardwareStatusEnabled

Returns:

  • (Boolean)

3332
3333
3334
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3332

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)

3338
3339
3340
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3338

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)

3344
3345
3346
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3344

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. Report data is not available for personally owned devices with work profiles. Corresponds to the JSON property powerManagementEventsEnabled

Returns:

  • (Boolean)

3351
3352
3353
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3351

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)

3357
3358
3359
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3357

def software_info_enabled
  @software_info_enabled
end

#system_properties_enabledBoolean Also known as: system_properties_enabled?

Whether system properties reporting is enabled. Corresponds to the JSON property systemPropertiesEnabled

Returns:

  • (Boolean)

3363
3364
3365
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3363

def system_properties_enabled
  @system_properties_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 3371

def update!(**args)
  @application_reporting_settings = args[:application_reporting_settings] if args.key?(:application_reporting_settings)
  @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)
  @system_properties_enabled = args[:system_properties_enabled] if args.key?(:system_properties_enabled)
end