class_docstr: Test class for the GSuiteReportsApp
docstr: GSuiteReportsApp - Create Service, Google API Error
code: def test_create_service_api_error(self, build_mock, log_mock):
      """GSuiteReportsApp - Create Service, Google API Error"""
      build_mock.side_effect = googleapiclient.errors.Error(
          "This is bad"
      )
      assert_false(self._app._create_service())
      log_mock.assert_called_with(
          "[%s] Failed to build discovery service", self._app
      )
  
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 12 for calling the TestGSuiteReportsApp obj's underlying member method code with example usage: obj.test_create_service_api_error(build_mock, log_mock) without return types