Documentation

Google_Service_AndroidManagement_Device extends Google_Collection
in package

Extension to the regular Google_Model that automatically exposes the items array for iteration, so you can just iterate over the object rather than a reference inside.

Table of Contents

NULL_VALUE  = "{}gapi-php-null"
If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.
$apiLevel  : mixed
$appliedPolicyName  : mixed
$appliedPolicyVersion  : mixed
$appliedState  : mixed
$enrollmentTime  : mixed
$enrollmentTokenData  : mixed
$enrollmentTokenName  : mixed
$lastPolicyComplianceReportTime  : mixed
$lastPolicySyncTime  : mixed
$lastStatusReportTime  : mixed
$managementMode  : mixed
$name  : mixed
$ownership  : mixed
$policyCompliant  : mixed
$policyName  : mixed
$previousDeviceNames  : mixed
$state  : mixed
$systemProperties  : mixed
$userName  : mixed
$applicationReportsDataType  : mixed
$applicationReportsType  : mixed
$collection_key  : mixed
$deviceSettingsDataType  : mixed
$deviceSettingsType  : mixed
$disabledReasonDataType  : mixed
$disabledReasonType  : mixed
$displaysDataType  : mixed
$displaysType  : mixed
$hardwareInfoDataType  : mixed
$hardwareInfoType  : mixed
$hardwareStatusSamplesDataType  : mixed
$hardwareStatusSamplesType  : mixed
$internal_gapi_mappings  : mixed
$memoryEventsDataType  : mixed
$memoryEventsType  : mixed
$memoryInfoDataType  : mixed
$memoryInfoType  : mixed
$modelData  : mixed
$networkInfoDataType  : mixed
$networkInfoType  : mixed
$nonComplianceDetailsDataType  : mixed
$nonComplianceDetailsType  : mixed
$powerManagementEventsDataType  : mixed
$powerManagementEventsType  : mixed
$processed  : mixed
$securityPostureDataType  : mixed
$securityPostureType  : mixed
$softwareInfoDataType  : mixed
$softwareInfoType  : mixed
$userDataType  : mixed
$userType  : mixed
__construct()  : mixed
Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.
__get()  : mixed
Getter that handles passthrough access to the data array, and lazy object creation.
__isset()  : mixed
__unset()  : mixed
assertIsArray()  : mixed
Verify if $obj is an array.
count()  : mixed
current()  : mixed
getApiLevel()  : mixed
getApplicationReports()  : Google_Service_AndroidManagement_ApplicationReport
getAppliedPolicyName()  : mixed
getAppliedPolicyVersion()  : mixed
getAppliedState()  : mixed
getDeviceSettings()  : Google_Service_AndroidManagement_DeviceSettings
getDisabledReason()  : Google_Service_AndroidManagement_UserFacingMessage
getDisplays()  : Google_Service_AndroidManagement_Display
getEnrollmentTime()  : mixed
getEnrollmentTokenData()  : mixed
getEnrollmentTokenName()  : mixed
getHardwareInfo()  : Google_Service_AndroidManagement_HardwareInfo
getHardwareStatusSamples()  : Google_Service_AndroidManagement_HardwareStatus
getLastPolicyComplianceReportTime()  : mixed
getLastPolicySyncTime()  : mixed
getLastStatusReportTime()  : mixed
getManagementMode()  : mixed
getMemoryEvents()  : Google_Service_AndroidManagement_MemoryEvent
getMemoryInfo()  : Google_Service_AndroidManagement_MemoryInfo
getName()  : mixed
getNetworkInfo()  : Google_Service_AndroidManagement_NetworkInfo
getNonComplianceDetails()  : Google_Service_AndroidManagement_NonComplianceDetail
getOwnership()  : mixed
getPolicyCompliant()  : mixed
getPolicyName()  : mixed
getPowerManagementEvents()  : Google_Service_AndroidManagement_PowerManagementEvent
getPreviousDeviceNames()  : mixed
getSecurityPosture()  : Google_Service_AndroidManagement_SecurityPosture
getSoftwareInfo()  : Google_Service_AndroidManagement_SoftwareInfo
getState()  : mixed
getSystemProperties()  : mixed
getUser()  : Google_Service_AndroidManagement_User
getUserName()  : mixed
key()  : mixed
next()  : mixed
offsetExists()  : mixed
offsetGet()  : mixed
offsetSet()  : mixed
offsetUnset()  : mixed
rewind()  : mixed
setApiLevel()  : mixed
setApplicationReports()  : mixed
setAppliedPolicyName()  : mixed
setAppliedPolicyVersion()  : mixed
setAppliedState()  : mixed
setDeviceSettings()  : mixed
setDisabledReason()  : mixed
setDisplays()  : mixed
setEnrollmentTime()  : mixed
setEnrollmentTokenData()  : mixed
setEnrollmentTokenName()  : mixed
setHardwareInfo()  : mixed
setHardwareStatusSamples()  : mixed
setLastPolicyComplianceReportTime()  : mixed
setLastPolicySyncTime()  : mixed
setLastStatusReportTime()  : mixed
setManagementMode()  : mixed
setMemoryEvents()  : mixed
setMemoryInfo()  : mixed
setName()  : mixed
setNetworkInfo()  : mixed
setNonComplianceDetails()  : mixed
setOwnership()  : mixed
setPolicyCompliant()  : mixed
setPolicyName()  : mixed
setPowerManagementEvents()  : mixed
setPreviousDeviceNames()  : mixed
setSecurityPosture()  : mixed
setSoftwareInfo()  : mixed
setState()  : mixed
setSystemProperties()  : mixed
setUser()  : mixed
setUserName()  : mixed
toSimpleObject()  : mixed
Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.
valid()  : mixed
dataType()  : mixed
gapiInit()  : mixed
Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.
isAssociativeArray()  : bool
Returns true only if the array is associative.
keyType()  : mixed
mapTypes()  : void
Initialize this object's properties from an array.
camelCase()  : string
Convert a string to camelCase
coerceType()  : mixed
getMappedName()  : mixed
If there is an internal name mapping, use that.
getSimpleValue()  : mixed
Handle different types of values, primarily other objects and map and array data types.
nullPlaceholderCheck()  : mixed
Check whether the value is the null placeholder and return true null.

Constants

NULL_VALUE

If you need to specify a NULL JSON value, use Google_Model::NULL_VALUE instead - it will be replaced when converting to JSON with a real null.

public mixed NULL_VALUE = "{}gapi-php-null"

Properties

$apiLevel

public mixed $apiLevel

$appliedPolicyName

public mixed $appliedPolicyName

$appliedPolicyVersion

public mixed $appliedPolicyVersion

$appliedState

public mixed $appliedState

$enrollmentTime

public mixed $enrollmentTime

$enrollmentTokenData

public mixed $enrollmentTokenData

$enrollmentTokenName

public mixed $enrollmentTokenName

$lastPolicyComplianceReportTime

public mixed $lastPolicyComplianceReportTime

$lastPolicySyncTime

public mixed $lastPolicySyncTime

$lastStatusReportTime

public mixed $lastStatusReportTime

$managementMode

public mixed $managementMode

$ownership

public mixed $ownership

$policyCompliant

public mixed $policyCompliant

$policyName

public mixed $policyName

$previousDeviceNames

public mixed $previousDeviceNames

$systemProperties

public mixed $systemProperties

$userName

public mixed $userName

$applicationReportsDataType

protected mixed $applicationReportsDataType = 'array'

$applicationReportsType

protected mixed $applicationReportsType = 'Google_Service_AndroidManagement_ApplicationReport'

$collection_key

protected mixed $collection_key = 'previousDeviceNames'

$deviceSettingsDataType

protected mixed $deviceSettingsDataType = ''

$deviceSettingsType

protected mixed $deviceSettingsType = 'Google_Service_AndroidManagement_DeviceSettings'

$disabledReasonDataType

protected mixed $disabledReasonDataType = ''

$disabledReasonType

protected mixed $disabledReasonType = 'Google_Service_AndroidManagement_UserFacingMessage'

$displaysDataType

protected mixed $displaysDataType = 'array'

$displaysType

protected mixed $displaysType = 'Google_Service_AndroidManagement_Display'

$hardwareInfoDataType

protected mixed $hardwareInfoDataType = ''

$hardwareInfoType

protected mixed $hardwareInfoType = 'Google_Service_AndroidManagement_HardwareInfo'

$hardwareStatusSamplesDataType

protected mixed $hardwareStatusSamplesDataType = 'array'

$hardwareStatusSamplesType

protected mixed $hardwareStatusSamplesType = 'Google_Service_AndroidManagement_HardwareStatus'

$internal_gapi_mappings

protected mixed $internal_gapi_mappings = array()

$memoryEventsDataType

protected mixed $memoryEventsDataType = 'array'

$memoryEventsType

protected mixed $memoryEventsType = 'Google_Service_AndroidManagement_MemoryEvent'

$memoryInfoDataType

protected mixed $memoryInfoDataType = ''

$memoryInfoType

protected mixed $memoryInfoType = 'Google_Service_AndroidManagement_MemoryInfo'

$modelData

protected mixed $modelData = array()

$networkInfoDataType

protected mixed $networkInfoDataType = ''

$networkInfoType

protected mixed $networkInfoType = 'Google_Service_AndroidManagement_NetworkInfo'

$nonComplianceDetailsDataType

protected mixed $nonComplianceDetailsDataType = 'array'

$nonComplianceDetailsType

protected mixed $nonComplianceDetailsType = 'Google_Service_AndroidManagement_NonComplianceDetail'

$powerManagementEventsDataType

protected mixed $powerManagementEventsDataType = 'array'

$powerManagementEventsType

protected mixed $powerManagementEventsType = 'Google_Service_AndroidManagement_PowerManagementEvent'

$processed

protected mixed $processed = array()

$securityPostureDataType

protected mixed $securityPostureDataType = ''

$securityPostureType

protected mixed $securityPostureType = 'Google_Service_AndroidManagement_SecurityPosture'

$softwareInfoDataType

protected mixed $softwareInfoDataType = ''

$softwareInfoType

protected mixed $softwareInfoType = 'Google_Service_AndroidManagement_SoftwareInfo'

$userDataType

protected mixed $userDataType = ''

$userType

protected mixed $userType = 'Google_Service_AndroidManagement_User'

Methods

__construct()

Polymorphic - accepts a variable number of arguments dependent on the type of the model subclass.

public final __construct() : mixed
Return values
mixed

__get()

Getter that handles passthrough access to the data array, and lazy object creation.

public __get(string $key) : mixed
Parameters
$key : string

Property name.

Return values
mixed

The value if any, or null.

__isset()

public __isset(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

__unset()

public __unset(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

assertIsArray()

Verify if $obj is an array.

public assertIsArray(array<string|int, mixed> $obj, string $method) : mixed
Parameters
$obj : array<string|int, mixed>

Items that should be validated.

$method : string

Method expecting an array as an argument.

Tags
throws
Google_Exception

Thrown if $obj isn't an array.

Return values
mixed

count()

public count() : mixed
Return values
mixed

current()

public current() : mixed
Return values
mixed

getApiLevel()

public getApiLevel() : mixed
Return values
mixed

getAppliedPolicyName()

public getAppliedPolicyName() : mixed
Return values
mixed

getAppliedPolicyVersion()

public getAppliedPolicyVersion() : mixed
Return values
mixed

getAppliedState()

public getAppliedState() : mixed
Return values
mixed

getEnrollmentTime()

public getEnrollmentTime() : mixed
Return values
mixed

getEnrollmentTokenData()

public getEnrollmentTokenData() : mixed
Return values
mixed

getEnrollmentTokenName()

public getEnrollmentTokenName() : mixed
Return values
mixed

getLastPolicyComplianceReportTime()

public getLastPolicyComplianceReportTime() : mixed
Return values
mixed

getLastPolicySyncTime()

public getLastPolicySyncTime() : mixed
Return values
mixed

getLastStatusReportTime()

public getLastStatusReportTime() : mixed
Return values
mixed

getManagementMode()

public getManagementMode() : mixed
Return values
mixed

getName()

public getName() : mixed
Return values
mixed

getOwnership()

public getOwnership() : mixed
Return values
mixed

getPolicyCompliant()

public getPolicyCompliant() : mixed
Return values
mixed

getPolicyName()

public getPolicyName() : mixed
Return values
mixed

getPreviousDeviceNames()

public getPreviousDeviceNames() : mixed
Return values
mixed

getState()

public getState() : mixed
Return values
mixed

getSystemProperties()

public getSystemProperties() : mixed
Return values
mixed

getUserName()

public getUserName() : mixed
Return values
mixed

key()

public key() : mixed
Return values
mixed

next()

public next() : mixed
Return values
mixed

offsetExists()

public offsetExists(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetGet()

public offsetGet(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

offsetSet()

public offsetSet(mixed $offset, mixed $value) : mixed
Parameters
$offset : mixed
$value : mixed
Return values
mixed

offsetUnset()

public offsetUnset(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

rewind()

public rewind() : mixed
Return values
mixed

setApiLevel()

public setApiLevel(mixed $apiLevel) : mixed
Parameters
$apiLevel : mixed
Return values
mixed

setApplicationReports()

public setApplicationReports(mixed $applicationReports) : mixed
Parameters
$applicationReports : mixed
Return values
mixed

setAppliedPolicyName()

public setAppliedPolicyName(mixed $appliedPolicyName) : mixed
Parameters
$appliedPolicyName : mixed
Return values
mixed

setAppliedPolicyVersion()

public setAppliedPolicyVersion(mixed $appliedPolicyVersion) : mixed
Parameters
$appliedPolicyVersion : mixed
Return values
mixed

setAppliedState()

public setAppliedState(mixed $appliedState) : mixed
Parameters
$appliedState : mixed
Return values
mixed

setDisplays()

public setDisplays(mixed $displays) : mixed
Parameters
$displays : mixed
Return values
mixed

setEnrollmentTime()

public setEnrollmentTime(mixed $enrollmentTime) : mixed
Parameters
$enrollmentTime : mixed
Return values
mixed

setEnrollmentTokenData()

public setEnrollmentTokenData(mixed $enrollmentTokenData) : mixed
Parameters
$enrollmentTokenData : mixed
Return values
mixed

setEnrollmentTokenName()

public setEnrollmentTokenName(mixed $enrollmentTokenName) : mixed
Parameters
$enrollmentTokenName : mixed
Return values
mixed

setHardwareStatusSamples()

public setHardwareStatusSamples(mixed $hardwareStatusSamples) : mixed
Parameters
$hardwareStatusSamples : mixed
Return values
mixed

setLastPolicyComplianceReportTime()

public setLastPolicyComplianceReportTime(mixed $lastPolicyComplianceReportTime) : mixed
Parameters
$lastPolicyComplianceReportTime : mixed
Return values
mixed

setLastPolicySyncTime()

public setLastPolicySyncTime(mixed $lastPolicySyncTime) : mixed
Parameters
$lastPolicySyncTime : mixed
Return values
mixed

setLastStatusReportTime()

public setLastStatusReportTime(mixed $lastStatusReportTime) : mixed
Parameters
$lastStatusReportTime : mixed
Return values
mixed

setManagementMode()

public setManagementMode(mixed $managementMode) : mixed
Parameters
$managementMode : mixed
Return values
mixed

setMemoryEvents()

public setMemoryEvents(mixed $memoryEvents) : mixed
Parameters
$memoryEvents : mixed
Return values
mixed

setName()

public setName(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

setNonComplianceDetails()

public setNonComplianceDetails(mixed $nonComplianceDetails) : mixed
Parameters
$nonComplianceDetails : mixed
Return values
mixed

setOwnership()

public setOwnership(mixed $ownership) : mixed
Parameters
$ownership : mixed
Return values
mixed

setPolicyCompliant()

public setPolicyCompliant(mixed $policyCompliant) : mixed
Parameters
$policyCompliant : mixed
Return values
mixed

setPolicyName()

public setPolicyName(mixed $policyName) : mixed
Parameters
$policyName : mixed
Return values
mixed

setPowerManagementEvents()

public setPowerManagementEvents(mixed $powerManagementEvents) : mixed
Parameters
$powerManagementEvents : mixed
Return values
mixed

setPreviousDeviceNames()

public setPreviousDeviceNames(mixed $previousDeviceNames) : mixed
Parameters
$previousDeviceNames : mixed
Return values
mixed

setState()

public setState(mixed $state) : mixed
Parameters
$state : mixed
Return values
mixed

setSystemProperties()

public setSystemProperties(mixed $systemProperties) : mixed
Parameters
$systemProperties : mixed
Return values
mixed

setUserName()

public setUserName(mixed $userName) : mixed
Parameters
$userName : mixed
Return values
mixed

toSimpleObject()

Create a simplified object suitable for straightforward conversion to JSON. This is relatively expensive due to the usage of reflection, but shouldn't be called a whole lot, and is the most straightforward way to filter.

public toSimpleObject() : mixed
Return values
mixed

valid()

public valid() : mixed
Return values
mixed

dataType()

protected dataType(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

gapiInit()

Blank initialiser to be used in subclasses to do post-construction initialisation - this avoids the need for subclasses to have to implement the variadics handling in their constructors.

protected gapiInit() : mixed
Return values
mixed

isAssociativeArray()

Returns true only if the array is associative.

protected isAssociativeArray(array<string|int, mixed> $array) : bool
Parameters
$array : array<string|int, mixed>
Return values
bool

True if the array is associative.

keyType()

protected keyType(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

mapTypes()

Initialize this object's properties from an array.

protected mapTypes(array<string|int, mixed> $array) : void
Parameters
$array : array<string|int, mixed>

Used to seed this object's properties.

Return values
void

camelCase()

Convert a string to camelCase

private camelCase(string $value) : string
Parameters
$value : string
Return values
string

coerceType()

private coerceType(mixed $offset) : mixed
Parameters
$offset : mixed
Return values
mixed

getMappedName()

If there is an internal name mapping, use that.

private getMappedName(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

getSimpleValue()

Handle different types of values, primarily other objects and map and array data types.

private getSimpleValue(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

nullPlaceholderCheck()

Check whether the value is the null placeholder and return true null.

private nullPlaceholderCheck(mixed $value) : mixed
Parameters
$value : mixed
Return values
mixed

Search results