insertId = $insertId; } /** * @return string */ public function getInsertId() { return $this->insertId; } /** * The type of the log (part of `log_name`. `log_name` is the resource name of * the log to which this log entry belongs). For example: * `cloudresourcemanager.googleapis.com/activity`. Note that this field is not * URL-encoded, unlike the `LOG_ID` field in `LogEntry`. * * @param string $logId */ public function setLogId($logId) { $this->logId = $logId; } /** * @return string */ public function getLogId() { return $this->logId; } /** * The organization, folder, or project of the monitored resource that * produced this log entry. * * @param string $resourceContainer */ public function setResourceContainer($resourceContainer) { $this->resourceContainer = $resourceContainer; } /** * @return string */ public function getResourceContainer() { return $this->resourceContainer; } /** * The time the event described by the log entry occurred. * * @param string $timestamp */ public function setTimestamp($timestamp) { $this->timestamp = $timestamp; } /** * @return string */ public function getTimestamp() { return $this->timestamp; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CloudLoggingEntry::class, 'Google_Service_SecurityCommandCenter_CloudLoggingEntry');