adbShellCommandEvent = $adbShellCommandEvent; } /** * @return AdbShellCommandEvent */ public function getAdbShellCommandEvent() { return $this->adbShellCommandEvent; } /** * An ADB interactive shell was opened via “adb shell”. Part of SECURITY_LOGS. * * @param AdbShellInteractiveEvent $adbShellInteractiveEvent */ public function setAdbShellInteractiveEvent(AdbShellInteractiveEvent $adbShellInteractiveEvent) { $this->adbShellInteractiveEvent = $adbShellInteractiveEvent; } /** * @return AdbShellInteractiveEvent */ public function getAdbShellInteractiveEvent() { return $this->adbShellInteractiveEvent; } /** * An app process was started. Part of SECURITY_LOGS. * * @param AppProcessStartEvent $appProcessStartEvent */ public function setAppProcessStartEvent(AppProcessStartEvent $appProcessStartEvent) { $this->appProcessStartEvent = $appProcessStartEvent; } /** * @return AppProcessStartEvent */ public function getAppProcessStartEvent() { return $this->appProcessStartEvent; } /** * An admin has enabled or disabled backup service. Part of SECURITY_LOGS. * * @param BackupServiceToggledEvent $backupServiceToggledEvent */ public function setBackupServiceToggledEvent(BackupServiceToggledEvent $backupServiceToggledEvent) { $this->backupServiceToggledEvent = $backupServiceToggledEvent; } /** * @return BackupServiceToggledEvent */ public function getBackupServiceToggledEvent() { return $this->backupServiceToggledEvent; } /** * A new root certificate was installed into the system's trusted credential * storage. Part of SECURITY_LOGS. * * @param CertAuthorityInstalledEvent $certAuthorityInstalledEvent */ public function setCertAuthorityInstalledEvent(CertAuthorityInstalledEvent $certAuthorityInstalledEvent) { $this->certAuthorityInstalledEvent = $certAuthorityInstalledEvent; } /** * @return CertAuthorityInstalledEvent */ public function getCertAuthorityInstalledEvent() { return $this->certAuthorityInstalledEvent; } /** * A root certificate was removed from the system's trusted credential * storage. Part of SECURITY_LOGS. * * @param CertAuthorityRemovedEvent $certAuthorityRemovedEvent */ public function setCertAuthorityRemovedEvent(CertAuthorityRemovedEvent $certAuthorityRemovedEvent) { $this->certAuthorityRemovedEvent = $certAuthorityRemovedEvent; } /** * @return CertAuthorityRemovedEvent */ public function getCertAuthorityRemovedEvent() { return $this->certAuthorityRemovedEvent; } /** * An X.509v3 certificate failed to validate, currently this validation is * performed on the Wi-FI access point and failure may be due to a mismatch * upon server certificate validation. However it may in the future include * other validation events of an X.509v3 certificate. Part of SECURITY_LOGS. * * @param CertValidationFailureEvent $certValidationFailureEvent */ public function setCertValidationFailureEvent(CertValidationFailureEvent $certValidationFailureEvent) { $this->certValidationFailureEvent = $certValidationFailureEvent; } /** * @return CertValidationFailureEvent */ public function getCertValidationFailureEvent() { return $this->certValidationFailureEvent; } /** * A TCP connect event was initiated through the standard network stack. Part * of NETWORK_ACTIVITY_LOGS. * * @param ConnectEvent $connectEvent */ public function setConnectEvent(ConnectEvent $connectEvent) { $this->connectEvent = $connectEvent; } /** * @return ConnectEvent */ public function getConnectEvent() { return $this->connectEvent; } /** * Validates whether Android’s built-in cryptographic library (BoringSSL) is * valid. Should always succeed on device boot, if it fails, the device should * be considered untrusted. Part of SECURITY_LOGS. * * @param CryptoSelfTestCompletedEvent $cryptoSelfTestCompletedEvent */ public function setCryptoSelfTestCompletedEvent(CryptoSelfTestCompletedEvent $cryptoSelfTestCompletedEvent) { $this->cryptoSelfTestCompletedEvent = $cryptoSelfTestCompletedEvent; } /** * @return CryptoSelfTestCompletedEvent */ public function getCryptoSelfTestCompletedEvent() { return $this->cryptoSelfTestCompletedEvent; } /** * A DNS lookup event was initiated through the standard network stack. Part * of NETWORK_ACTIVITY_LOGS. * * @param DnsEvent $dnsEvent */ public function setDnsEvent(DnsEvent $dnsEvent) { $this->dnsEvent = $dnsEvent; } /** * @return DnsEvent */ public function getDnsEvent() { return $this->dnsEvent; } /** * Device has completed enrollment. Part of AMAPI_LOGS. * * @param EnrollmentCompleteEvent $enrollmentCompleteEvent */ public function setEnrollmentCompleteEvent(EnrollmentCompleteEvent $enrollmentCompleteEvent) { $this->enrollmentCompleteEvent = $enrollmentCompleteEvent; } /** * @return EnrollmentCompleteEvent */ public function getEnrollmentCompleteEvent() { return $this->enrollmentCompleteEvent; } /** * Unique id of the event. * * @param string $eventId */ public function setEventId($eventId) { $this->eventId = $eventId; } /** * @return string */ public function getEventId() { return $this->eventId; } /** * Device timestamp when the event was logged. * * @param string $eventTime */ public function setEventTime($eventTime) { $this->eventTime = $eventTime; } /** * @return string */ public function getEventTime() { return $this->eventTime; } /** * The particular usage log event type that was reported on the device. Use * this to determine which event field to access. * * Accepted values: EVENT_TYPE_UNSPECIFIED, ADB_SHELL_COMMAND, * ADB_SHELL_INTERACTIVE, APP_PROCESS_START, KEYGUARD_DISMISSED, * KEYGUARD_DISMISS_AUTH_ATTEMPT, KEYGUARD_SECURED, FILE_PULLED, FILE_PUSHED, * CERT_AUTHORITY_INSTALLED, CERT_AUTHORITY_REMOVED, CERT_VALIDATION_FAILURE, * CRYPTO_SELF_TEST_COMPLETED, KEY_DESTRUCTION, KEY_GENERATED, KEY_IMPORT, * KEY_INTEGRITY_VIOLATION, LOGGING_STARTED, LOGGING_STOPPED, * LOG_BUFFER_SIZE_CRITICAL, MEDIA_MOUNT, MEDIA_UNMOUNT, OS_SHUTDOWN, * OS_STARTUP, REMOTE_LOCK, WIPE_FAILURE, CONNECT, DNS, * STOP_LOST_MODE_USER_ATTEMPT, LOST_MODE_OUTGOING_PHONE_CALL, * LOST_MODE_LOCATION, ENROLLMENT_COMPLETE, BACKUP_SERVICE_TOGGLED * * @param self::EVENT_TYPE_* $eventType */ public function setEventType($eventType) { $this->eventType = $eventType; } /** * @return self::EVENT_TYPE_* */ public function getEventType() { return $this->eventType; } /** * A file was downloaded from the device. Part of SECURITY_LOGS. * * @param FilePulledEvent $filePulledEvent */ public function setFilePulledEvent(FilePulledEvent $filePulledEvent) { $this->filePulledEvent = $filePulledEvent; } /** * @return FilePulledEvent */ public function getFilePulledEvent() { return $this->filePulledEvent; } /** * A file was uploaded onto the device. Part of SECURITY_LOGS. * * @param FilePushedEvent $filePushedEvent */ public function setFilePushedEvent(FilePushedEvent $filePushedEvent) { $this->filePushedEvent = $filePushedEvent; } /** * @return FilePushedEvent */ public function getFilePushedEvent() { return $this->filePushedEvent; } /** * A cryptographic key including user installed, admin installed and system * maintained private key is removed from the device either by the user or * management. Part of SECURITY_LOGS. * * @param KeyDestructionEvent $keyDestructionEvent */ public function setKeyDestructionEvent(KeyDestructionEvent $keyDestructionEvent) { $this->keyDestructionEvent = $keyDestructionEvent; } /** * @return KeyDestructionEvent */ public function getKeyDestructionEvent() { return $this->keyDestructionEvent; } /** * A cryptographic key including user installed, admin installed and system * maintained private key is installed on the device either by the user or * management. Part of SECURITY_LOGS. * * @param KeyGeneratedEvent $keyGeneratedEvent */ public function setKeyGeneratedEvent(KeyGeneratedEvent $keyGeneratedEvent) { $this->keyGeneratedEvent = $keyGeneratedEvent; } /** * @return KeyGeneratedEvent */ public function getKeyGeneratedEvent() { return $this->keyGeneratedEvent; } /** * A cryptographic key including user installed, admin installed and system * maintained private key is imported on the device either by the user or * management. Part of SECURITY_LOGS. * * @param KeyImportEvent $keyImportEvent */ public function setKeyImportEvent(KeyImportEvent $keyImportEvent) { $this->keyImportEvent = $keyImportEvent; } /** * @return KeyImportEvent */ public function getKeyImportEvent() { return $this->keyImportEvent; } /** * A cryptographic key including user installed, admin installed and system * maintained private key is determined to be corrupted due to storage * corruption, hardware failure or some OS issue. Part of SECURITY_LOGS. * * @param KeyIntegrityViolationEvent $keyIntegrityViolationEvent */ public function setKeyIntegrityViolationEvent(KeyIntegrityViolationEvent $keyIntegrityViolationEvent) { $this->keyIntegrityViolationEvent = $keyIntegrityViolationEvent; } /** * @return KeyIntegrityViolationEvent */ public function getKeyIntegrityViolationEvent() { return $this->keyIntegrityViolationEvent; } /** * An attempt was made to unlock the device. Part of SECURITY_LOGS. * * @param KeyguardDismissAuthAttemptEvent $keyguardDismissAuthAttemptEvent */ public function setKeyguardDismissAuthAttemptEvent(KeyguardDismissAuthAttemptEvent $keyguardDismissAuthAttemptEvent) { $this->keyguardDismissAuthAttemptEvent = $keyguardDismissAuthAttemptEvent; } /** * @return KeyguardDismissAuthAttemptEvent */ public function getKeyguardDismissAuthAttemptEvent() { return $this->keyguardDismissAuthAttemptEvent; } /** * The keyguard was dismissed. Part of SECURITY_LOGS. * * @param KeyguardDismissedEvent $keyguardDismissedEvent */ public function setKeyguardDismissedEvent(KeyguardDismissedEvent $keyguardDismissedEvent) { $this->keyguardDismissedEvent = $keyguardDismissedEvent; } /** * @return KeyguardDismissedEvent */ public function getKeyguardDismissedEvent() { return $this->keyguardDismissedEvent; } /** * The device was locked either by user or timeout. Part of SECURITY_LOGS. * * @param KeyguardSecuredEvent $keyguardSecuredEvent */ public function setKeyguardSecuredEvent(KeyguardSecuredEvent $keyguardSecuredEvent) { $this->keyguardSecuredEvent = $keyguardSecuredEvent; } /** * @return KeyguardSecuredEvent */ public function getKeyguardSecuredEvent() { return $this->keyguardSecuredEvent; } /** * The audit log buffer has reached 90% of its capacity, therefore older * events may be dropped. Part of SECURITY_LOGS. * * @param LogBufferSizeCriticalEvent $logBufferSizeCriticalEvent */ public function setLogBufferSizeCriticalEvent(LogBufferSizeCriticalEvent $logBufferSizeCriticalEvent) { $this->logBufferSizeCriticalEvent = $logBufferSizeCriticalEvent; } /** * @return LogBufferSizeCriticalEvent */ public function getLogBufferSizeCriticalEvent() { return $this->logBufferSizeCriticalEvent; } /** * usageLog policy has been enabled. Part of SECURITY_LOGS. * * @param LoggingStartedEvent $loggingStartedEvent */ public function setLoggingStartedEvent(LoggingStartedEvent $loggingStartedEvent) { $this->loggingStartedEvent = $loggingStartedEvent; } /** * @return LoggingStartedEvent */ public function getLoggingStartedEvent() { return $this->loggingStartedEvent; } /** * usageLog policy has been disabled. Part of SECURITY_LOGS. * * @param LoggingStoppedEvent $loggingStoppedEvent */ public function setLoggingStoppedEvent(LoggingStoppedEvent $loggingStoppedEvent) { $this->loggingStoppedEvent = $loggingStoppedEvent; } /** * @return LoggingStoppedEvent */ public function getLoggingStoppedEvent() { return $this->loggingStoppedEvent; } /** * A lost mode location update when a device in lost mode. * * @param LostModeLocationEvent $lostModeLocationEvent */ public function setLostModeLocationEvent(LostModeLocationEvent $lostModeLocationEvent) { $this->lostModeLocationEvent = $lostModeLocationEvent; } /** * @return LostModeLocationEvent */ public function getLostModeLocationEvent() { return $this->lostModeLocationEvent; } /** * An outgoing phone call has been made when a device in lost mode. * * @param LostModeOutgoingPhoneCallEvent $lostModeOutgoingPhoneCallEvent */ public function setLostModeOutgoingPhoneCallEvent(LostModeOutgoingPhoneCallEvent $lostModeOutgoingPhoneCallEvent) { $this->lostModeOutgoingPhoneCallEvent = $lostModeOutgoingPhoneCallEvent; } /** * @return LostModeOutgoingPhoneCallEvent */ public function getLostModeOutgoingPhoneCallEvent() { return $this->lostModeOutgoingPhoneCallEvent; } /** * Removable media was mounted. Part of SECURITY_LOGS. * * @param MediaMountEvent $mediaMountEvent */ public function setMediaMountEvent(MediaMountEvent $mediaMountEvent) { $this->mediaMountEvent = $mediaMountEvent; } /** * @return MediaMountEvent */ public function getMediaMountEvent() { return $this->mediaMountEvent; } /** * Removable media was unmounted. Part of SECURITY_LOGS. * * @param MediaUnmountEvent $mediaUnmountEvent */ public function setMediaUnmountEvent(MediaUnmountEvent $mediaUnmountEvent) { $this->mediaUnmountEvent = $mediaUnmountEvent; } /** * @return MediaUnmountEvent */ public function getMediaUnmountEvent() { return $this->mediaUnmountEvent; } /** * Device was shutdown. Part of SECURITY_LOGS. * * @param OsShutdownEvent $osShutdownEvent */ public function setOsShutdownEvent(OsShutdownEvent $osShutdownEvent) { $this->osShutdownEvent = $osShutdownEvent; } /** * @return OsShutdownEvent */ public function getOsShutdownEvent() { return $this->osShutdownEvent; } /** * Device was started. Part of SECURITY_LOGS. * * @param OsStartupEvent $osStartupEvent */ public function setOsStartupEvent(OsStartupEvent $osStartupEvent) { $this->osStartupEvent = $osStartupEvent; } /** * @return OsStartupEvent */ public function getOsStartupEvent() { return $this->osStartupEvent; } /** * The device or profile has been remotely locked via the LOCK command. Part * of SECURITY_LOGS. * * @param RemoteLockEvent $remoteLockEvent */ public function setRemoteLockEvent(RemoteLockEvent $remoteLockEvent) { $this->remoteLockEvent = $remoteLockEvent; } /** * @return RemoteLockEvent */ public function getRemoteLockEvent() { return $this->remoteLockEvent; } /** * An attempt to take a device out of lost mode. * * @param StopLostModeUserAttemptEvent $stopLostModeUserAttemptEvent */ public function setStopLostModeUserAttemptEvent(StopLostModeUserAttemptEvent $stopLostModeUserAttemptEvent) { $this->stopLostModeUserAttemptEvent = $stopLostModeUserAttemptEvent; } /** * @return StopLostModeUserAttemptEvent */ public function getStopLostModeUserAttemptEvent() { return $this->stopLostModeUserAttemptEvent; } /** * The work profile or company-owned device failed to wipe when requested. * This could be user initiated or admin initiated e.g. delete was received. * Part of SECURITY_LOGS. * * @param WipeFailureEvent $wipeFailureEvent */ public function setWipeFailureEvent(WipeFailureEvent $wipeFailureEvent) { $this->wipeFailureEvent = $wipeFailureEvent; } /** * @return WipeFailureEvent */ public function getWipeFailureEvent() { return $this->wipeFailureEvent; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(UsageLogEvent::class, 'Google_Service_AndroidManagement_UsageLogEvent');