eventId = $eventId; } /** * @return string */ public function getEventId() { return $this->eventId; } /** * Timestamp of data access event. * * @param string $eventTime */ public function setEventTime($eventTime) { $this->eventTime = $eventTime; } /** * @return string */ public function getEventTime() { return $this->eventTime; } /** * The operation performed by the principal to access the data. * * Accepted values: OPERATION_UNSPECIFIED, READ, MOVE, COPY * * @param self::OPERATION_* $operation */ public function setOperation($operation) { $this->operation = $operation; } /** * @return self::OPERATION_* */ public function getOperation() { return $this->operation; } /** * The email address of the principal that accessed the data. The principal * could be a user account, service account, Google group, or other. * * @param string $principalEmail */ public function setPrincipalEmail($principalEmail) { $this->principalEmail = $principalEmail; } /** * @return string */ public function getPrincipalEmail() { return $this->principalEmail; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(DataAccessEvent::class, 'Google_Service_SecurityCommandCenter_DataAccessEvent');