Class: Google::Apis::CloudidentityV1::AndroidAttributes
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::AndroidAttributes
- Defined in:
- generated/google/apis/cloudidentity_v1/classes.rb,
generated/google/apis/cloudidentity_v1/representations.rb,
generated/google/apis/cloudidentity_v1/representations.rb
Overview
Resource representing the Android specific attributes of a Device.
Instance Attribute Summary collapse
-
#baseband_version ⇒ String
Baseband version of Android device.
-
#bootloader_version ⇒ String
Device bootloader version.
-
#build_number ⇒ String
Build number of Android device.
-
#enabled_developer_options ⇒ Boolean
(also: #enabled_developer_options?)
Whether developer options is enabled on device.
-
#enabled_unknown_sources ⇒ Boolean
(also: #enabled_unknown_sources?)
Whether applications from unknown sources can be installed on device.
-
#enabled_usb_debugging ⇒ Boolean
(also: #enabled_usb_debugging?)
Whether adb (USB debugging) is enabled on device.
-
#encryption_state ⇒ String
Device encryption state.
-
#hardware ⇒ String
Device hardware.
-
#kernel_version ⇒ String
Kernel version of Android device.
-
#other_accounts ⇒ Array<String>
Domain name for Google accounts on device.
-
#owner_profile_account ⇒ Boolean
(also: #owner_profile_account?)
Whether this account is on an owner/primary profile.
-
#ownership_privilege ⇒ String
Ownership privileges on device.
-
#security_patch_time ⇒ String
OS security patch update time on device.
-
#supports_work_profile ⇒ Boolean
(also: #supports_work_profile?)
Whether device supports Android work profiles.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidAttributes
constructor
A new instance of AndroidAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidAttributes
Returns a new instance of AndroidAttributes.
112 113 114 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 112 def initialize(**args) update!(**args) end |
Instance Attribute Details
#baseband_version ⇒ String
Baseband version of Android device.
Corresponds to the JSON property basebandVersion
32 33 34 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 32 def baseband_version @baseband_version end |
#bootloader_version ⇒ String
Device bootloader version. Example: 0.6.7.
Corresponds to the JSON property bootloaderVersion
37 38 39 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 37 def bootloader_version @bootloader_version end |
#build_number ⇒ String
Build number of Android device.
Corresponds to the JSON property buildNumber
42 43 44 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 42 def build_number @build_number end |
#enabled_developer_options ⇒ Boolean Also known as: enabled_developer_options?
Whether developer options is enabled on device.
Corresponds to the JSON property enabledDeveloperOptions
47 48 49 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 47 def @enabled_developer_options end |
#enabled_unknown_sources ⇒ Boolean Also known as: enabled_unknown_sources?
Whether applications from unknown sources can be installed on device.
Corresponds to the JSON property enabledUnknownSources
53 54 55 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 53 def enabled_unknown_sources @enabled_unknown_sources end |
#enabled_usb_debugging ⇒ Boolean Also known as: enabled_usb_debugging?
Whether adb (USB debugging) is enabled on device.
Corresponds to the JSON property enabledUsbDebugging
59 60 61 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 59 def enabled_usb_debugging @enabled_usb_debugging end |
#encryption_state ⇒ String
Device encryption state.
Corresponds to the JSON property encryptionState
65 66 67 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 65 def encryption_state @encryption_state end |
#hardware ⇒ String
Device hardware. Example: Sprout.
Corresponds to the JSON property hardware
70 71 72 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 70 def hardware @hardware end |
#kernel_version ⇒ String
Kernel version of Android device.
Corresponds to the JSON property kernelVersion
75 76 77 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 75 def kernel_version @kernel_version end |
#other_accounts ⇒ Array<String>
Domain name for Google accounts on device. Type for other accounts on
device. Will only be populated if |ownership_privilege| is
|PROFILE_OWNER| or |DEVICE_OWNER|. Does not include the account signed in
to the device policy app if that account's domain has only one account.
Examples: "com.example", "xyz.com".
Corresponds to the JSON property otherAccounts
84 85 86 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 84 def other_accounts @other_accounts end |
#owner_profile_account ⇒ Boolean Also known as: owner_profile_account?
Whether this account is on an owner/primary profile.
For phones, only true for owner profiles. Android 4+ devices
can have secondary or restricted user profiles.
Corresponds to the JSON property ownerProfileAccount
91 92 93 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 91 def owner_profile_account @owner_profile_account end |
#ownership_privilege ⇒ String
Ownership privileges on device.
Corresponds to the JSON property ownershipPrivilege
97 98 99 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 97 def ownership_privilege @ownership_privilege end |
#security_patch_time ⇒ String
OS security patch update time on device.
Corresponds to the JSON property securityPatchTime
102 103 104 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 102 def security_patch_time @security_patch_time end |
#supports_work_profile ⇒ Boolean Also known as: supports_work_profile?
Whether device supports Android work profiles. If false, this service
will not block access to corp data even if an administrator turns on the
"Enforce Work Profile" policy.
Corresponds to the JSON property supportsWorkProfile
109 110 111 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 109 def supports_work_profile @supports_work_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 117 def update!(**args) @baseband_version = args[:baseband_version] if args.key?(:baseband_version) @bootloader_version = args[:bootloader_version] if args.key?(:bootloader_version) @build_number = args[:build_number] if args.key?(:build_number) @enabled_developer_options = args[:enabled_developer_options] if args.key?(:enabled_developer_options) @enabled_unknown_sources = args[:enabled_unknown_sources] if args.key?(:enabled_unknown_sources) @enabled_usb_debugging = args[:enabled_usb_debugging] if args.key?(:enabled_usb_debugging) @encryption_state = args[:encryption_state] if args.key?(:encryption_state) @hardware = args[:hardware] if args.key?(:hardware) @kernel_version = args[:kernel_version] if args.key?(:kernel_version) @other_accounts = args[:other_accounts] if args.key?(:other_accounts) @owner_profile_account = args[:owner_profile_account] if args.key?(:owner_profile_account) @ownership_privilege = args[:ownership_privilege] if args.key?(:ownership_privilege) @security_patch_time = args[:security_patch_time] if args.key?(:security_patch_time) @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile) end |