class Google::Apis::AndroidmanagementV1::DeviceSettings

Information about security related device settings on device.

Attributes

adb_enabled[RW]

Whether ADB (developer.android.com/studio/command-line/adb.html) is enabled on the device. Corresponds to the JSON property `adbEnabled` @return [Boolean]

adb_enabled?[RW]

Whether ADB (developer.android.com/studio/command-line/adb.html) is enabled on the device. Corresponds to the JSON property `adbEnabled` @return [Boolean]

development_settings_enabled[RW]

Whether developer mode is enabled on the device. Corresponds to the JSON property `developmentSettingsEnabled` @return [Boolean]

development_settings_enabled?[RW]

Whether developer mode is enabled on the device. Corresponds to the JSON property `developmentSettingsEnabled` @return [Boolean]

encryption_status[RW]

Encryption status from DevicePolicyManager. Corresponds to the JSON property `encryptionStatus` @return [String]

is_device_secure[RW]

Whether the device is secured with PIN/password. Corresponds to the JSON property `isDeviceSecure` @return [Boolean]

is_device_secure?[RW]

Whether the device is secured with PIN/password. Corresponds to the JSON property `isDeviceSecure` @return [Boolean]

is_encrypted[RW]

Whether the storage encryption is enabled. Corresponds to the JSON property `isEncrypted` @return [Boolean]

is_encrypted?[RW]

Whether the storage encryption is enabled. Corresponds to the JSON property `isEncrypted` @return [Boolean]

unknown_sources_enabled[RW]

Whether installing apps from unknown sources is enabled. Corresponds to the JSON property `unknownSourcesEnabled` @return [Boolean]

unknown_sources_enabled?[RW]

Whether installing apps from unknown sources is enabled. Corresponds to the JSON property `unknownSourcesEnabled` @return [Boolean]

verify_apps_enabled[RW]

Whether Google Play Protect verification (support.google.com/accounts/ answer/2812853) is enforced on the device. Corresponds to the JSON property `verifyAppsEnabled` @return [Boolean]

verify_apps_enabled?[RW]

Whether Google Play Protect verification (support.google.com/accounts/ answer/2812853) is enforced on the device. Corresponds to the JSON property `verifyAppsEnabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 1181
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/androidmanagement_v1/classes.rb, line 1186
def update!(**args)
  @adb_enabled = args[:adb_enabled] if args.key?(:adb_enabled)
  @development_settings_enabled = args[:development_settings_enabled] if args.key?(:development_settings_enabled)
  @encryption_status = args[:encryption_status] if args.key?(:encryption_status)
  @is_device_secure = args[:is_device_secure] if args.key?(:is_device_secure)
  @is_encrypted = args[:is_encrypted] if args.key?(:is_encrypted)
  @unknown_sources_enabled = args[:unknown_sources_enabled] if args.key?(:unknown_sources_enabled)
  @verify_apps_enabled = args[:verify_apps_enabled] if args.key?(:verify_apps_enabled)
end