class Google::Apis::AdminDirectoryV1::MobileDevice

JSON template for Mobile Device resource in Directory API.

Attributes

adb_status[RW]

Adb (USB debugging) enabled or disabled on device (Read-only) Corresponds to the JSON property `adbStatus` @return [Boolean]

adb_status?[RW]

Adb (USB debugging) enabled or disabled on device (Read-only) Corresponds to the JSON property `adbStatus` @return [Boolean]

applications[RW]

List of applications installed on Mobile Device Corresponds to the JSON property `applications` @return [Array<Google::Apis::AdminDirectoryV1::MobileDevice::Application>]

baseband_version[RW]

Mobile Device Baseband version (Read-only) Corresponds to the JSON property `basebandVersion` @return [String]

build_number[RW]

Mobile Device Build number (Read-only) Corresponds to the JSON property `buildNumber` @return [String]

default_language[RW]

The default locale used on the Mobile Device (Read-only) Corresponds to the JSON property `defaultLanguage` @return [String]

developer_options_status[RW]

Developer options enabled or disabled on device (Read-only) Corresponds to the JSON property `developerOptionsStatus` @return [Boolean]

developer_options_status?[RW]

Developer options enabled or disabled on device (Read-only) Corresponds to the JSON property `developerOptionsStatus` @return [Boolean]

device_compromised_status[RW]

Mobile Device compromised status (Read-only) Corresponds to the JSON property `deviceCompromisedStatus` @return [String]

device_id[RW]

Mobile Device serial number (Read-only) Corresponds to the JSON property `deviceId` @return [String]

email[RW]

List of owner user's email addresses (Read-only) Corresponds to the JSON property `email` @return [Array<String>]

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

first_sync[RW]

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]

hardware_id[RW]

Mobile Device Hardware Id (Read-only) Corresponds to the JSON property `hardwareId` @return [String]

imei[RW]

Mobile Device IMEI number (Read-only) Corresponds to the JSON property `imei` @return [String]

kernel_version[RW]

Mobile Device Kernel version (Read-only) Corresponds to the JSON property `kernelVersion` @return [String]

kind[RW]

Kind of resource this is. Corresponds to the JSON property `kind` @return [String]

last_sync[RW]

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]

managed_account_is_on_owner_profile[RW]

Boolean indicating if this account is on owner/primary profile or not (Read- only) Corresponds to the JSON property `managedAccountIsOnOwnerProfile` @return [Boolean]

managed_account_is_on_owner_profile?[RW]

Boolean indicating if this account is on owner/primary profile or not (Read- only) Corresponds to the JSON property `managedAccountIsOnOwnerProfile` @return [Boolean]

meid[RW]

Mobile Device MEID number (Read-only) Corresponds to the JSON property `meid` @return [String]

model[RW]

Name of the model of the device Corresponds to the JSON property `model` @return [String]

name[RW]

List of owner user's names (Read-only) Corresponds to the JSON property `name` @return [Array<String>]

network_operator[RW]

Mobile Device mobile or network operator (if available) (Read-only) Corresponds to the JSON property `networkOperator` @return [String]

os[RW]

Name of the mobile operating system Corresponds to the JSON property `os` @return [String]

other_accounts_info[RW]

List of accounts added on device (Read-only) Corresponds to the JSON property `otherAccountsInfo` @return [Array<String>]

resource_id[RW]

Unique identifier of Mobile Device (Read-only) Corresponds to the JSON property `resourceId` @return [String]

serial_number[RW]

Mobile Device SSN or Serial Number (Read-only) Corresponds to the JSON property `serialNumber` @return [String]

status[RW]

Status of the device (Read-only) Corresponds to the JSON property `status` @return [String]

supports_work_profile[RW]

Work profile supported on device (Read-only) Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]

supports_work_profile?[RW]

Work profile supported on device (Read-only) Corresponds to the JSON property `supportsWorkProfile` @return [Boolean]

type[RW]

The type of device (Read-only) Corresponds to the JSON property `type` @return [String]

unknown_sources_status[RW]

Unknown sources enabled or disabled on device (Read-only) Corresponds to the JSON property `unknownSourcesStatus` @return [Boolean]

unknown_sources_status?[RW]

Unknown sources enabled or disabled on device (Read-only) Corresponds to the JSON property `unknownSourcesStatus` @return [Boolean]

user_agent[RW]

Mobile Device user agent Corresponds to the JSON property `userAgent` @return [String]

wifi_mac_address[RW]

Mobile Device WiFi MAC address (Read-only) Corresponds to the JSON property `wifiMacAddress` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/admin_directory_v1/classes.rb, line 1291
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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