| Copyright | (c) 2015-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.CloudDebugger.Controller.Debuggees.Register
Description
Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly 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 protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.
See: Stackdriver Debugger API Reference for clouddebugger.controller.debuggees.register.
Synopsis
- type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] RegisterDebuggeeRequest :> Post '[JSON] RegisterDebuggeeResponse))))))))))
- controllerDebuggeesRegister :: RegisterDebuggeeRequest -> ControllerDebuggeesRegister
- data ControllerDebuggeesRegister
- cdrXgafv :: Lens' ControllerDebuggeesRegister (Maybe Xgafv)
- cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrAccessToken :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text)
- cdrPayload :: Lens' ControllerDebuggeesRegister RegisterDebuggeeRequest
- cdrCallback :: Lens' ControllerDebuggeesRegister (Maybe Text)
REST Resource
type ControllerDebuggeesRegisterResource = "v2" :> ("controller" :> ("debuggees" :> ("register" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" 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 #
Arguments
| :: RegisterDebuggeeRequest | |
| -> 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 Source #
Registers the debuggee with the controller service. All agents attached to the same application must call this method with exactly 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 protocol allows the controller service to disable debuggees, recover from data loss, or change the `debuggee_id` format. Agents must handle `debuggee_id` value changing upon re-registration.
See: controllerDebuggeesRegister smart constructor.
Instances
Request Lenses
cdrUploadProtocol :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cdrAccessToken :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
OAuth access token.
cdrUploadType :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cdrPayload :: Lens' ControllerDebuggeesRegister RegisterDebuggeeRequest Source #
Multipart request metadata.
cdrCallback :: Lens' ControllerDebuggeesRegister (Maybe Text) Source #
JSONP