Class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
- 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) ⇒ GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
constructor
A new instance of GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes.
-
#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) ⇒ GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
Returns a new instance of GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes.
144 145 146 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 144 def initialize(**args) update!(**args) end |
Instance Attribute Details
#baseband_version ⇒ String
Baseband version of Android device.
Corresponds to the JSON property basebandVersion
64 65 66 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 64 def baseband_version @baseband_version end |
#bootloader_version ⇒ String
Device bootloader version. Example: 0.6.7.
Corresponds to the JSON property bootloaderVersion
69 70 71 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 69 def bootloader_version @bootloader_version end |
#build_number ⇒ String
Build number of Android device.
Corresponds to the JSON property buildNumber
74 75 76 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 74 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
79 80 81 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 79 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
85 86 87 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 85 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
91 92 93 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 91 def enabled_usb_debugging @enabled_usb_debugging end |
#encryption_state ⇒ String
Device encryption state.
Corresponds to the JSON property encryptionState
97 98 99 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 97 def encryption_state @encryption_state end |
#hardware ⇒ String
Device hardware. Example: Sprout.
Corresponds to the JSON property hardware
102 103 104 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 102 def hardware @hardware end |
#kernel_version ⇒ String
Kernel version of Android device.
Corresponds to the JSON property kernelVersion
107 108 109 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 107 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
116 117 118 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 116 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
123 124 125 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 123 def owner_profile_account @owner_profile_account end |
#ownership_privilege ⇒ String
Ownership privileges on device.
Corresponds to the JSON property ownershipPrivilege
129 130 131 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 129 def ownership_privilege @ownership_privilege end |
#security_patch_time ⇒ String
OS security patch update time on device.
Corresponds to the JSON property securityPatchTime
134 135 136 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 134 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
141 142 143 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 141 def supports_work_profile @supports_work_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 |
# File 'generated/google/apis/cloudidentity_v1/classes.rb', line 149 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 |