Class: Google::Apis::AndroidmanagementV1::SoftwareInfo
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::AndroidmanagementV1::SoftwareInfo
 
- 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
Information about device software.
Instance Attribute Summary collapse
- 
  
    
      #android_build_number  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Android build ID string meant for displaying to the user. 
- 
  
    
      #android_build_time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Build time. 
- 
  
    
      #android_device_policy_version_code  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Android Device Policy app version code. 
- 
  
    
      #android_device_policy_version_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Android Device Policy app version as displayed to the user. 
- 
  
    
      #android_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The user-visible Android version string. 
- 
  
    
      #bootloader_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The system bootloader version number, e.g. 
- 
  
    
      #device_build_signature  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    SHA-256 hash of android.content.pm.Signature (https://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. 
- 
  
    
      #device_kernel_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Kernel version, for example, 2.6.32.9-g103d848. 
- 
  
    
      #security_patch_level  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Security patch level, e.g. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SoftwareInfo 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SoftwareInfo. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SoftwareInfo
Returns a new instance of SoftwareInfo
| 2282 2283 2284 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2282 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#android_build_number ⇒ String
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
| 2237 2238 2239 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2237 def android_build_number @android_build_number end | 
#android_build_time ⇒ String
Build time.
Corresponds to the JSON property androidBuildTime
| 2242 2243 2244 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2242 def android_build_time @android_build_time end | 
#android_device_policy_version_code ⇒ Fixnum
The Android Device Policy app version code.
Corresponds to the JSON property androidDevicePolicyVersionCode
| 2247 2248 2249 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2247 def android_device_policy_version_code @android_device_policy_version_code end | 
#android_device_policy_version_name ⇒ String
The Android Device Policy app version as displayed to the user.
Corresponds to the JSON property androidDevicePolicyVersionName
| 2252 2253 2254 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2252 def android_device_policy_version_name @android_device_policy_version_name end | 
#android_version ⇒ String
The user-visible Android version string. For example, 6.0.1.
Corresponds to the JSON property androidVersion
| 2257 2258 2259 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2257 def android_version @android_version end | 
#bootloader_version ⇒ String
The system bootloader version number, e.g. 0.6.7.
Corresponds to the JSON property bootloaderVersion
| 2262 2263 2264 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2262 def bootloader_version @bootloader_version end | 
#device_build_signature ⇒ String
SHA-256 hash of android.content.pm.Signature (https://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
| 2270 2271 2272 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2270 def device_build_signature @device_build_signature end | 
#device_kernel_version ⇒ String
Kernel version, for example, 2.6.32.9-g103d848.
Corresponds to the JSON property deviceKernelVersion
| 2275 2276 2277 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2275 def device_kernel_version @device_kernel_version end | 
#security_patch_level ⇒ String
Security patch level, e.g. 2016-05-01.
Corresponds to the JSON property securityPatchLevel
| 2280 2281 2282 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2280 def security_patch_level @security_patch_level end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 | # File 'generated/google/apis/androidmanagement_v1/classes.rb', line 2287 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) @security_patch_level = args[:security_patch_level] if args.key?(:security_patch_level) end |