Class: Google::Apis::AndroidmanagementV1::DisplaySettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/androidmanagement_v1/classes.rb,
lib/google/apis/androidmanagement_v1/representations.rb,
lib/google/apis/androidmanagement_v1/representations.rb

Overview

Controls for the display settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DisplaySettings

Returns a new instance of DisplaySettings.



2020
2021
2022
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2020

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

Instance Attribute Details

#screen_brightness_settingsGoogle::Apis::AndroidmanagementV1::ScreenBrightnessSettings

Controls for the screen brightness settings. Corresponds to the JSON property screenBrightnessSettings



2013
2014
2015
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2013

def screen_brightness_settings
  @screen_brightness_settings
end

#screen_timeout_settingsGoogle::Apis::AndroidmanagementV1::ScreenTimeoutSettings

Controls the screen timeout settings. Corresponds to the JSON property screenTimeoutSettings



2018
2019
2020
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2018

def screen_timeout_settings
  @screen_timeout_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2025
2026
2027
2028
# File 'lib/google/apis/androidmanagement_v1/classes.rb', line 2025

def update!(**args)
  @screen_brightness_settings = args[:screen_brightness_settings] if args.key?(:screen_brightness_settings)
  @screen_timeout_settings = args[:screen_timeout_settings] if args.key?(:screen_timeout_settings)
end