class Google::Apis::AdminDirectoryV1::MobileDevice
JSON template for Mobile Device resource in Directory API.
Attributes
Adb (USB debugging) enabled or disabled on device (Read-only) Corresponds to the JSON property `adbStatus` @return [Boolean]
Adb (USB debugging) enabled or disabled on device (Read-only) Corresponds to the JSON property `adbStatus` @return [Boolean]
List of applications installed on Mobile Device Corresponds to the JSON property `applications` @return [Array<Google::Apis::AdminDirectoryV1::MobileDevice::Application>]
Mobile Device Baseband version (Read-only) Corresponds to the JSON property `basebandVersion` @return [String]
Mobile Device Build number (Read-only) Corresponds to the JSON property `buildNumber` @return [String]
The default locale used on the Mobile Device (Read-only) Corresponds to the JSON property `defaultLanguage` @return [String]
Developer options enabled or disabled on device (Read-only) Corresponds to the JSON property `developerOptionsStatus` @return [Boolean]
Developer options enabled or disabled on device (Read-only) Corresponds to the JSON property `developerOptionsStatus` @return [Boolean]
Mobile Device compromised status (Read-only) Corresponds to the JSON property `deviceCompromisedStatus` @return [String]
Mobile Device serial number (Read-only) Corresponds to the JSON property `deviceId` @return [String]
List of owner user's email addresses (Read-only) Corresponds to the JSON property `email` @return [Array<String>]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
Date and time the device was first synchronized with the policy settings in the Google Apps administrator control panel (Read-only) Corresponds to the JSON property `firstSync` @return [DateTime]
Mobile Device Hardware Id (Read-only) Corresponds to the JSON property `hardwareId` @return [String]
Mobile Device IMEI number (Read-only) Corresponds to the JSON property `imei` @return [String]
Mobile Device Kernel version (Read-only) Corresponds to the JSON property `kernelVersion` @return [String]
Kind of resource this is. Corresponds to the JSON property `kind` @return [String]
Date and time the device was last synchronized with the policy settings in the Google Apps administrator control panel (Read-only) Corresponds to the JSON property `lastSync` @return [DateTime]
Boolean indicating if this account is on owner/primary profile or not (Read- only) Corresponds to the JSON property `managedAccountIsOnOwnerProfile` @return [Boolean]
Boolean indicating if this account is on owner/primary profile or not (Read- only) Corresponds to the JSON property `managedAccountIsOnOwnerProfile` @return [Boolean]
Mobile Device MEID number (Read-only) Corresponds to the JSON property `meid` @return [String]
Name of the model of the device Corresponds to the JSON property `model` @return [String]
List of owner user's names (Read-only) Corresponds to the JSON property `name` @return [Array<String>]
Mobile Device mobile or network operator (if available) (Read-only) Corresponds to the JSON property `networkOperator` @return [String]
Name of the mobile operating system Corresponds to the JSON property `os` @return [String]
List of accounts added on device (Read-only) Corresponds to the JSON property `otherAccountsInfo` @return [Array<String>]
Unique identifier of Mobile Device (Read-only) Corresponds to the JSON property `resourceId` @return [String]
Mobile Device SSN or Serial Number (Read-only) Corresponds to the JSON property `serialNumber` @return [String]
Status of the device (Read-only) Corresponds to the JSON property `status` @return [String]
Work profile supported on device (Read-only) Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]
Work profile supported on device (Read-only) Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]
The type of device (Read-only) Corresponds to the JSON property `type` @return [String]
Unknown sources enabled or disabled on device (Read-only) Corresponds to the JSON property `unknownSourcesStatus` @return [Boolean]
Unknown sources enabled or disabled on device (Read-only) Corresponds to the JSON property `unknownSourcesStatus` @return [Boolean]
Mobile Device user agent Corresponds to the JSON property `userAgent` @return [String]
Mobile Device WiFi MAC address (Read-only) Corresponds to the JSON property `wifiMacAddress` @return [String]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 1291 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 1296 def update!(**args) @adb_status = args[:adb_status] if args.key?(:adb_status) @applications = args[:applications] if args.key?(:applications) @baseband_version = args[:baseband_version] if args.key?(:baseband_version) @build_number = args[:build_number] if args.key?(:build_number) @default_language = args[:default_language] if args.key?(:default_language) @developer_options_status = args[:developer_options_status] if args.key?(:developer_options_status) @device_compromised_status = args[:device_compromised_status] if args.key?(:device_compromised_status) @device_id = args[:device_id] if args.key?(:device_id) @email = args[:email] if args.key?(:email) @etag = args[:etag] if args.key?(:etag) @first_sync = args[:first_sync] if args.key?(:first_sync) @hardware_id = args[:hardware_id] if args.key?(:hardware_id) @imei = args[:imei] if args.key?(:imei) @kernel_version = args[:kernel_version] if args.key?(:kernel_version) @kind = args[:kind] if args.key?(:kind) @last_sync = args[:last_sync] if args.key?(:last_sync) @managed_account_is_on_owner_profile = args[:managed_account_is_on_owner_profile] if args.key?(:managed_account_is_on_owner_profile) @meid = args[:meid] if args.key?(:meid) @model = args[:model] if args.key?(:model) @name = args[:name] if args.key?(:name) @network_operator = args[:network_operator] if args.key?(:network_operator) @os = args[:os] if args.key?(:os) @other_accounts_info = args[:other_accounts_info] if args.key?(:other_accounts_info) @resource_id = args[:resource_id] if args.key?(:resource_id) @serial_number = args[:serial_number] if args.key?(:serial_number) @status = args[:status] if args.key?(:status) @supports_work_profile = args[:supports_work_profile] if args.key?(:supports_work_profile) @type = args[:type] if args.key?(:type) @unknown_sources_status = args[:unknown_sources_status] if args.key?(:unknown_sources_status) @user_agent = args[:user_agent] if args.key?(:user_agent) @wifi_mac_address = args[:wifi_mac_address] if args.key?(:wifi_mac_address) end