class_docstr: Test class for the GSuiteReportsApp
docstr: Helper function for returning sample gsuite (admin) logs
code: def _get_sample_logs(count):
      """Helper function for returning sample gsuite (admin) logs"""
  
      def _get_timestamp(start_timestamp, subtract_seconds):
          timestamp = datetime.strptime(
              start_timestamp, GSuiteReportsApp.date_formatter()
          )
          timestamp -= timedelta(seconds=subtract_seconds)
          return timestamp.strftime(GSuiteReportsApp.date_formatter())
  
      return [
          {
              "kind": "audit#activity",
              "id": {
                  "time": _get_timestamp(
                      "2011-06-17T15:39:18.460000Z", index
                  ),
                  "uniqueQualifier": -12345678901234567890 + index,
                  "applicationName": "admin",
                  "customerId": "C03az79cb",
              },
              "actor": {
                  "callerType": "USER",
                  "email": "liz@example.com",
                  "profileId": "user's unique G Suite profile ID",
                  "key": "consumer key of requestor in OAuth 2LO requests",
              },
              "ownerDomain": "example.com",
              "ipAddress": "user's IP address",
              "events": [
                  {
                      "type": "GROUP_SETTINGS",
                      "name": "CHANGE_GROUP_SETTING",
                      "parameters": [
                          {
                              "name": "SETTING_NAME",
                              "value": "WHO_CAN_JOIN",
                              "intValue": "integer value of parameter",
                              "boolValue": "boolean value of parameter",
                          }
                      ],
                  }
              ],
          }
          for index in range(count)
      ]
  
imports: import json
  import os
  import socket
  import ssl
  from datetime import datetime, timedelta
  import googleapiclient
  from google.auth import exceptions
  from mock import Mock, mock_open, patch
  from moto import mock_ssm
  from nose.tools import assert_equal, assert_false, assert_count_equal, assert_true, raises
  from streamalert.apps._apps.gsuite import GSuiteReportsApp
  from tests.unit.streamalert.apps.test_helpers import get_event, put_mock_params
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
label_desc: Use image node_id 24 for calling the TestGSuiteReportsApp obj's underlying member method code with example usage: obj._get_sample_logs(count) and returns: unknown, timestamp