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



2408
2409
2410
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2408

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

Instance Attribute Details

#device_settings_enabledBoolean Also known as: device_settings_enabled?

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

Returns:

  • (Boolean)


2369
2370
2371
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2369

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)


2375
2376
2377
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2375

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)


2381
2382
2383
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2381

def hardware_status_enabled
  @hardware_status_enabled
end

#memory_info_enabledBoolean Also known as: memory_info_enabled?

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

Returns:

  • (Boolean)


2387
2388
2389
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2387

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)


2393
2394
2395
# File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2393

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)


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

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

Returns:

  • (Boolean)


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