gogol-debugger-0.0.1: Google Cloud Debugger SDK.

Copyright(c) 2015 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. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.

See: Google Cloud Debugger API Reference for clouddebugger.controller.debuggees.register.

Synopsis

REST Resource

type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Text :> (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)))))))))))) Source

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

Creating a Request

controllerDebuggeesRegister Source

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 Source

Registers the debuggee with the controller. All agents should call this API with the same request content to get back the same stable 'debuggee_id'. Agents should call this API again whenever ListActiveBreakpoints or UpdateActiveBreakpoint return the error google.rpc.Code.NOT_FOUND. It allows the server to disable the agent or recover from any registration loss. If the debuggee is disabled server, the response will have is_disabled' set to true.

See: controllerDebuggeesRegister smart constructor.

Request Lenses

cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text) Source

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

cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text) Source

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