gogol-debugger-0.3.0: Google Stackdriver Debugger SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.CloudDebugger.Controller.Debuggees.Register

Contents

Description

Registers the debuggee with the controller service. All agents attached to the same application should call this method with the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This allows the controller service to disable the agent or recover from any data loss. If the debuggee is disabled by the server, the response will have `is_disabled` set to `true`.

See: Stackdriver Debugger API Reference for clouddebugger.controller.debuggees.register.

Synopsis

REST Resource

type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegisterDebuggeeRequest :> Post '[JSON] RegisterDebuggeeResponse)))))))))))) #

A resource alias for clouddebugger.controller.debuggees.register method which the ControllerDebuggeesRegister request conforms to.

Creating a Request

controllerDebuggeesRegister #

Creates a value of ControllerDebuggeesRegister with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ControllerDebuggeesRegister #

Registers the debuggee with the controller service. All agents attached to the same application should call this method with the same request content to get back the same stable `debuggee_id`. Agents should call this method again whenever `google.rpc.Code.NOT_FOUND` is returned from any controller method. This allows the controller service to disable the agent or recover from any data loss. If the debuggee is disabled by the server, the response will have `is_disabled` set to `true`.

See: controllerDebuggeesRegister smart constructor.

Instances

Eq ControllerDebuggeesRegister # 
Data ControllerDebuggeesRegister # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ControllerDebuggeesRegister -> c ControllerDebuggeesRegister #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ControllerDebuggeesRegister #

toConstr :: ControllerDebuggeesRegister -> Constr #

dataTypeOf :: ControllerDebuggeesRegister -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ControllerDebuggeesRegister) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ControllerDebuggeesRegister) #

gmapT :: (forall b. Data b => b -> b) -> ControllerDebuggeesRegister -> ControllerDebuggeesRegister #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ControllerDebuggeesRegister -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ControllerDebuggeesRegister -> r #

gmapQ :: (forall d. Data d => d -> u) -> ControllerDebuggeesRegister -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ControllerDebuggeesRegister -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ControllerDebuggeesRegister -> m ControllerDebuggeesRegister #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ControllerDebuggeesRegister -> m ControllerDebuggeesRegister #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ControllerDebuggeesRegister -> m ControllerDebuggeesRegister #

Show ControllerDebuggeesRegister # 
Generic ControllerDebuggeesRegister # 
GoogleRequest ControllerDebuggeesRegister # 
type Rep ControllerDebuggeesRegister # 
type Rep ControllerDebuggeesRegister = D1 (MetaData "ControllerDebuggeesRegister" "Network.Google.Resource.CloudDebugger.Controller.Debuggees.Register" "gogol-debugger-0.3.0-9nzLE6fS9XBHrPL0duuBNG" False) (C1 (MetaCons "ControllerDebuggeesRegister'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdrXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) (S1 (MetaSel (Just Symbol "_cdrUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cdrPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_cdrAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cdrUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdrPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 RegisterDebuggeeRequest))) ((:*:) (S1 (MetaSel (Just Symbol "_cdrBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cdrCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Scopes ControllerDebuggeesRegister # 
type Scopes ControllerDebuggeesRegister = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud_debugger" ([] Symbol))
type Rs ControllerDebuggeesRegister # 

Request Lenses

cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text) #

Upload protocol for media (e.g. "raw", "multipart").

cdrPp :: Lens' ControllerDebuggeesRegister Bool #

Pretty-print response.

cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text) #

Legacy upload protocol for media (e.g. "media", "multipart").