class Google::Apis::AndroidmanagementV1::SoftwareInfo

Information about device software.

Attributes

android_build_number[RW]

Android build ID string meant for displaying to the user. For example, shamu- userdebug 6.0.1 MOB30I 2756745 dev-keys. Corresponds to the JSON property `androidBuildNumber` @return [String]

android_build_time[RW]

Build time. Corresponds to the JSON property `androidBuildTime` @return [String]

android_device_policy_version_code[RW]

The Android Device Policy app version code. Corresponds to the JSON property `androidDevicePolicyVersionCode` @return [Fixnum]

android_device_policy_version_name[RW]

The Android Device Policy app version as displayed to the user. Corresponds to the JSON property `androidDevicePolicyVersionName` @return [String]

android_version[RW]

The user-visible Android version string. For example, 6.0.1. Corresponds to the JSON property `androidVersion` @return [String]

bootloader_version[RW]

The system bootloader version number, e.g. 0.6.7. Corresponds to the JSON property `bootloaderVersion` @return [String]

device_build_signature[RW]

SHA-256 hash of android.content.pm.Signature (developer.android.com/ reference/android/content/pm/Signature.html) associated with the system package, which can be used to verify that the system build hasn't been modified. Corresponds to the JSON property `deviceBuildSignature` @return [String]

device_kernel_version[RW]

Kernel version, for example, 2.6.32.9-g103d848. Corresponds to the JSON property `deviceKernelVersion` @return [String]

primary_language_code[RW]

An IETF BCP 47 language code for the primary locale on the device. Corresponds to the JSON property `primaryLanguageCode` @return [String]

security_patch_level[RW]

Security patch level, e.g. 2016-05-01. Corresponds to the JSON property `securityPatchLevel` @return [String]

system_update_info[RW]

Information about a potential pending system update. Corresponds to the JSON property `systemUpdateInfo` @return [Google::Apis::AndroidmanagementV1::SystemUpdateInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/androidmanagement_v1/classes.rb, line 3574
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 3579
def update!(**args)
  @android_build_number = args[:android_build_number] if args.key?(:android_build_number)
  @android_build_time = args[:android_build_time] if args.key?(:android_build_time)
  @android_device_policy_version_code = args[:android_device_policy_version_code] if args.key?(:android_device_policy_version_code)
  @android_device_policy_version_name = args[:android_device_policy_version_name] if args.key?(:android_device_policy_version_name)
  @android_version = args[:android_version] if args.key?(:android_version)
  @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version)
  @device_build_signature = args[:device_build_signature] if args.key?(:device_build_signature)
  @device_kernel_version = args[:device_kernel_version] if args.key?(:device_kernel_version)
  @primary_language_code = args[:primary_language_code] if args.key?(:primary_language_code)
  @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level)
  @system_update_info = args[:system_update_info] if args.key?(:system_update_info)
end