Class: Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::GoogleAppsCloudidentityDevicesV1alpha1AndroidAttributes
- Defined in:
- generated/google/apis/cloudidentity_v1beta1/classes.rb,
generated/google/apis/cloudidentity_v1beta1/representations.rb,
generated/google/apis/cloudidentity_v1beta1/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.
150 151 152 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 150 def initialize(**args) update!(**args) end |
Instance Attribute Details
#baseband_version ⇒ String
Baseband version of Android device.
Corresponds to the JSON property basebandVersion
70 71 72 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 70 def baseband_version @baseband_version end |
#bootloader_version ⇒ String
Device bootloader version. Example: 0.6.7.
Corresponds to the JSON property bootloaderVersion
75 76 77 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 75 def bootloader_version @bootloader_version end |
#build_number ⇒ String
Build number of Android device.
Corresponds to the JSON property buildNumber
80 81 82 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 80 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
85 86 87 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 85 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
91 92 93 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 91 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
97 98 99 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 97 def enabled_usb_debugging @enabled_usb_debugging end |
#encryption_state ⇒ String
Device encryption state.
Corresponds to the JSON property encryptionState
103 104 105 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 103 def encryption_state @encryption_state end |
#hardware ⇒ String
Device hardware. Example: Sprout.
Corresponds to the JSON property hardware
108 109 110 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 108 def hardware @hardware end |
#kernel_version ⇒ String
Kernel version of Android device.
Corresponds to the JSON property kernelVersion
113 114 115 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 113 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
122 123 124 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 122 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
129 130 131 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 129 def owner_profile_account @owner_profile_account end |
#ownership_privilege ⇒ String
Ownership privileges on device.
Corresponds to the JSON property ownershipPrivilege
135 136 137 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 135 def ownership_privilege @ownership_privilege end |
#security_patch_time ⇒ String
OS security patch update time on device.
Corresponds to the JSON property securityPatchTime
140 141 142 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 140 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
147 148 149 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 147 def supports_work_profile @supports_work_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 155 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 |