-- | Creates a value of 'SpeechRecognize' with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'srXgafv'
--
-- * 'srUploadProtocol'
--
-- * 'srAccessToken'
--
-- * 'srUploadType'
--
-- * 'srPayload'
--
-- * 'srCallback'
speechRecognize
    :: RecognizeRequest -- ^ 'srPayload'
    -> SpeechRecognize
speechRecognize pSrPayload_ =
  SpeechRecognize'
    { _srXgafv = Nothing
    , _srUploadProtocol = Nothing
    , _srAccessToken = Nothing
    , _srUploadType = Nothing
    , _srPayload = pSrPayload_
    , _srCallback = Nothing
    }
speechRecognize
    :: RecognizeRequest -- ^ 'srPayload'
    -> SpeechRecognize
speechRecognize pSrPayload_ =
  SpeechRecognize'
    { _srXgafv = Nothing
    , _srUploadProtocol = Nothing
    , _srAccessToken = Nothing
    , _srUploadType = Nothing
    , _srPayload = pSrPayload_
    , _srCallback = Nothing
    }
speechRecognize pSrPayload_ =
  SpeechRecognize'
    { _srXgafv = Nothing
    , _srUploadProtocol = Nothing
    , _srAccessToken = Nothing
    , _srUploadType = Nothing
    , _srPayload = pSrPayload_
    , _srCallback = Nothing
    }