{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
{-# OPTIONS_GHC -fno-warn-duplicate-exports #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Google.Resource.CloudDebugger.Debugger.Debuggees.Breakpoints.List
(
DebuggerDebuggeesBreakpointsListResource
, debuggerDebuggeesBreakpointsList
, DebuggerDebuggeesBreakpointsList
, ddblXgafv
, ddblIncludeInactive
, ddblUploadProtocol
, ddblAccessToken
, ddblActionValue
, ddblUploadType
, ddblStripResults
, ddblIncludeAllUsers
, ddblWaitToken
, ddblDebuggeeId
, ddblClientVersion
, ddblCallback
) where
import Network.Google.Debugger.Types
import Network.Google.Prelude
type DebuggerDebuggeesBreakpointsListResource =
"v2" :>
"debugger" :>
"debuggees" :>
Capture "debuggeeId" Text :>
"breakpoints" :>
QueryParam "$.xgafv" Xgafv :>
QueryParam "includeInactive" Bool :>
QueryParam "upload_protocol" Text :>
QueryParam "access_token" Text :>
QueryParam "action.value" Text :>
QueryParam "uploadType" Text :>
QueryParam "stripResults" Bool :>
QueryParam "includeAllUsers" Bool :>
QueryParam "waitToken" Text :>
QueryParam "clientVersion" Text :>
QueryParam "callback" Text :>
QueryParam "alt" AltJSON :>
Get '[JSON] ListBreakpointsResponse
data DebuggerDebuggeesBreakpointsList = DebuggerDebuggeesBreakpointsList'
{ _ddblXgafv :: !(Maybe Xgafv)
, _ddblIncludeInactive :: !(Maybe Bool)
, _ddblUploadProtocol :: !(Maybe Text)
, _ddblAccessToken :: !(Maybe Text)
, _ddblActionValue :: !(Maybe Text)
, _ddblUploadType :: !(Maybe Text)
, _ddblStripResults :: !(Maybe Bool)
, _ddblIncludeAllUsers :: !(Maybe Bool)
, _ddblWaitToken :: !(Maybe Text)
, _ddblDebuggeeId :: !Text
, _ddblClientVersion :: !(Maybe Text)
, _ddblCallback :: !(Maybe Text)
} deriving (Eq,Show,Data,Typeable,Generic)
debuggerDebuggeesBreakpointsList
:: Text
-> DebuggerDebuggeesBreakpointsList
debuggerDebuggeesBreakpointsList pDdblDebuggeeId_ =
DebuggerDebuggeesBreakpointsList'
{ _ddblXgafv = Nothing
, _ddblIncludeInactive = Nothing
, _ddblUploadProtocol = Nothing
, _ddblAccessToken = Nothing
, _ddblActionValue = Nothing
, _ddblUploadType = Nothing
, _ddblStripResults = Nothing
, _ddblIncludeAllUsers = Nothing
, _ddblWaitToken = Nothing
, _ddblDebuggeeId = pDdblDebuggeeId_
, _ddblClientVersion = Nothing
, _ddblCallback = Nothing
}
ddblXgafv :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Xgafv)
ddblXgafv
= lens _ddblXgafv (\ s a -> s{_ddblXgafv = a})
ddblIncludeInactive :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Bool)
ddblIncludeInactive
= lens _ddblIncludeInactive
(\ s a -> s{_ddblIncludeInactive = a})
ddblUploadProtocol :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblUploadProtocol
= lens _ddblUploadProtocol
(\ s a -> s{_ddblUploadProtocol = a})
ddblAccessToken :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblAccessToken
= lens _ddblAccessToken
(\ s a -> s{_ddblAccessToken = a})
ddblActionValue :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblActionValue
= lens _ddblActionValue
(\ s a -> s{_ddblActionValue = a})
ddblUploadType :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblUploadType
= lens _ddblUploadType
(\ s a -> s{_ddblUploadType = a})
ddblStripResults :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Bool)
ddblStripResults
= lens _ddblStripResults
(\ s a -> s{_ddblStripResults = a})
ddblIncludeAllUsers :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Bool)
ddblIncludeAllUsers
= lens _ddblIncludeAllUsers
(\ s a -> s{_ddblIncludeAllUsers = a})
ddblWaitToken :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblWaitToken
= lens _ddblWaitToken
(\ s a -> s{_ddblWaitToken = a})
ddblDebuggeeId :: Lens' DebuggerDebuggeesBreakpointsList Text
ddblDebuggeeId
= lens _ddblDebuggeeId
(\ s a -> s{_ddblDebuggeeId = a})
ddblClientVersion :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblClientVersion
= lens _ddblClientVersion
(\ s a -> s{_ddblClientVersion = a})
ddblCallback :: Lens' DebuggerDebuggeesBreakpointsList (Maybe Text)
ddblCallback
= lens _ddblCallback (\ s a -> s{_ddblCallback = a})
instance GoogleRequest
DebuggerDebuggeesBreakpointsList where
type Rs DebuggerDebuggeesBreakpointsList =
ListBreakpointsResponse
type Scopes DebuggerDebuggeesBreakpointsList =
'["https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud_debugger"]
requestClient DebuggerDebuggeesBreakpointsList'{..}
= go _ddblDebuggeeId _ddblXgafv _ddblIncludeInactive
_ddblUploadProtocol
_ddblAccessToken
_ddblActionValue
_ddblUploadType
_ddblStripResults
_ddblIncludeAllUsers
_ddblWaitToken
_ddblClientVersion
_ddblCallback
(Just AltJSON)
debuggerService
where go
= buildClient
(Proxy ::
Proxy DebuggerDebuggeesBreakpointsListResource)
mempty